print ($life = "hard") -1;
Store "hard" in $life, Substract 1 from the result of that assignment ("hard") "hard", when used in a string context is casted to int (0) 0 - 1 == -1 Output result of subtraction (casted to string): "-1"
Concatenate "\nlife: " with contents of $life ("hard") and concatenate that with "\n"print "\nlife: {$life}\n";
Output the result of concatenation-Sara
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php