![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: $i++ problem understanding
From: Zilla <mail.is.not@an.option>
Date: Wed Oct 05 2005 - 14:39:53 CEST
Pugi! wrote:
print is a language construct, not actually a function. That means that
print "Hello World";
So in your example the parentheses don't have a meaning in the
$number = (3 + 5) * 7;
where $number is 56 (8 * 7). That is why $i in your example is still
Hope you understand me.
PS.: Btw, you can pre-increment with ++$i
|