Hi!
the problem is not that this variable is not assigned in the function call, but it is assigned AFTER the function is executed:
[...]
This is a very good reduced example. I urgently suggest to post this on the PHP Bugtracker, no matter what you think of them - I agree that it is a BC-break which should at least be documented in the ChangeLog of PHP5.
Best regards, Garvin