| 
 | apc_casUpdates an old value with a new value Description
   bool apc_cas
    ( string  $key, int$old, int$new)
   apc_cas updates an already existing integer value if the 
    Parameters
 Return Values
   Returns  ExamplesExample #1 apc_cas example 
<?phpThe above example will output something similar to: $foobar = 2 $foobar == 1 ? 2 : 1 = fail $foobar == 2 ? 1 : 2 = ok $foobar = 1 $f__bar == 1 ? 2 : 1 = fail $perfection == 2 ? 1 : 2 = epic fail $foobar = 1 See Also
 |