Mon Oct 27, 2008 5:45 pm
Operation Operator Class Example
-----------------------------------------------------------------------------------------
Preincrement:
Increment operand by one before the variable is used. ++ Prefix ++$a
Postincrement:
Increment operand by one after the variable is used. ++ Postfix $a++
Predecrement:
Decrement operator by one before the variable is used. -- Prefix --$a
Postdecrement:
Decrement operand by one after the variable is used. -- Postfix $a--
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.