php-developer-list | 2000111
Date: 11/02/00
- Next message: steviem <email protected>: "[PHP-DEV] PHP 4.0 Bug #7602: Missing the Windows Extensions and DLL's in the .exe binary?"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] "__pure_virtual""
- In reply to: Daniel J. Rodriguez: "RE: [PHP-DEV] 4.0.4"
- Next in thread: Sterling Hughes: "Re: [PHP-DEV] 4.0.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The 1st option is not acceptable, because it makes it impossible to send
new objects to functions, e.g.:
foo(new bar(...));
or otherwise using them in expressions. The 2nd option looks OK - we need
to look into it.
Thanks,
Zeev
At 23:57 02/11/2000, Daniel J. Rodriguez wrote:
>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/
>
-- 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>
- Next message: steviem <email protected>: "[PHP-DEV] PHP 4.0 Bug #7602: Missing the Windows Extensions and DLL's in the .exe binary?"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] "__pure_virtual""
- In reply to: Daniel J. Rodriguez: "RE: [PHP-DEV] 4.0.4"
- Next in thread: Sterling Hughes: "Re: [PHP-DEV] 4.0.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

