By the way, one of the things that interests me is exactly how much this 
change breaks people's code. My guess is that it won't break most people's 
apps. In any case, there will probably be a compat mode where the old 
copying is forced.


At 05:31 PM 8/10/2001 +0300, Heikki Korpela wrote:
>On Fri, 10 Aug 2001, Andi Gutmans wrote:
> > I'm also
> > interested in how many scripts are actually broken by the fact that objects
> > are not copied when sent to functions by value and so on.
>Did I get this right:
>function func1($object) {
>         $object->foo = 'bar';
>function func2() {
>         $object = new StdClass;
>         $object->foo = 'not bar';
>         func1($object);
>         echo $object->foo;
>After the engine change, the above would print 'bar'?

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to