Looking for an explanation
| From: | Oliver Block | Date: | Tue, 20 Jun 2006 23:11:11 +0000 |
| Subject: | Looking for an explanation | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-24165@lists.php.net to get a copy of this message | ||
Hello list,
as you are familiar with the source code of php it might be easy to explain
how the brain of php interprets the following code:
print ($life = "hard") -1;
print "\nlife: {$life}\n";
Best regards,
Oliver
P.S. Actually, the origin of that code was the output of a string literal
concatenated with count($array) -1