string and function argument php3->php4
| From: | Stefano Bagnara | Date: | Fri, 17 Sep 1999 17:58:48 +0000 |
| Subject: | string and function argument php3->php4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4590@lists.php.net to get a copy of this message | ||
I fixed this in my code in order to let it work with php4 (under php3 it
worked fine)
function dummy($pos,$mystr) {
$GLOBALS['a'] = $mystr;
}
to
function dummy($mystr) {
$GLOBALS['a'] = "$mystr";
}
or $GLOBALS['a'] was not assigned to the value of $mystr ...
this is changed from php3 to php4 and is not mentioned in incompatibilities.