Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000111

RE: [PHP-DEV] 4.0.4 From: Daniel J. Rodriguez (danjrod <email protected>)
Date: 11/02/00

Hi Zeev:

All the work that has to be done is inside one of the patches I am
attaching.

    Alternative a:
        Have "new" support "&" to return a reference.

    Alternative b:
        Have "new" always return a reference.

Both patches are simple enough to be applied by hand.

Regards
Daniel

----- Original Message -----
From: Zeev Suraski <zeev <email protected>>
To: Daniel J. Rodriguez <danjrod <email protected>>
Cc: André Langhorst <A.Langhorst <email protected>>; Andi Gutmans
<andi <email protected>>; PHP Development <php-dev <email protected>>
Sent: Thursday, November 02, 2000 10:29 PM
Subject: RE: [PHP-DEV] 4.0.4

We'll look into solving this issue, but if it proves to be more
complicated
than trivial, it shouldn't be in 4.0.4 either.

Zeev

At 22:51 02/11/2000, Daniel J. Rodriguez wrote:
>Dear Andi and André:
>
>I also consider that the use of $this as reference inside objects
>constructors should be settled.
>
>It has been submitted as a bug in "6259, 6896, 7444, 7454, 7455, 7482"
>(as far as I am aware of) and as a feature/request change in 7598. I
>myself did
>7482 and 7598 providing a patch in 7482 for zend-parser.y and an
insight
>into the problem for 7598 when feedback has been requested by
>"waldschrott".
>
>The principal answer has been: "this is a circular reference problem"
>which it is not.
>
>Please consider this issue before moving into PHP 4.0.4.
>
>Regards
>Daniel
>
>
>----- Original Message -----
>From: André Langhorst <A.Langhorst <email protected>>
>To: Andi Gutmans <andi <email protected>>; Sterling Hughes <sterling <email protected>>;
>PHP Development <php-dev <email protected>>
>Sent: Thursday, November 02, 2000 7:48 PM
>Subject: Re: [PHP-DEV] 4.0.4
>
>
> > > I don't quite remember which OO issue you're talking about. There
is
>one
> > > issue which involves references within nested structures being
> > > duplicated as-is.
> > > Can you please refresh my memory?
> >
> > subject was: "serious bug, please read"
> > bug id #7515
> >
> > if you think of nested structures as objects containing objects, ok.
> > you´re fine - it had to do with references too, after my last post I
>got
> > no answer, thought your brains are to busy to answer :)
> > andré
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail:
>php-list-admin <email protected>
> >
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail:
php-list-admin <email protected>

--
Zeev Suraski   <zeev <email protected>>
http://www.zend.com/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>