Just use an auto_prepend which sets the implicit_clone option... no problems then anymore.
*Sigh*
Looks like you're not reading my postings really.
This means your migration path to ref on assignement semantics is: 1) current code, copy (PHP4) 2) wait months for PHP5 to be ready for production, twidddling thumbs 3) current code, copy (Switch to PHP5 with implicit clone) 4) atomic rewrite, ref (PHP5, incompatible with PHP4)
So I can't start to migrate my code to PHP5 yet *or* I have to branch my code at 2) just for this which I won't do as it could be a couple of months until we decide it is ready for production machines. And I can't switch back to PHP4 if I run into other problems.
But ok, seems like I'm the only one bothered by this.
- Chris
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php