[PHP-DEV] Re: Engine problem

2001-07-17 Thread Zeev Suraski

I found the problem, trying to figure out a fix.

Zeev

At 22:16 17/07/2001, Andrei Zmievski wrote:
>I updated from Zend CVS today, and recompiled everything freshly. Ran
>into a problem with the following:
>
>class matcher {
> var $arg_types = array();
>
> function &get($type)
> {
> return $this->arg_types[$type];
> }
>}
>
>$matcher = new matcher();
>$matcher->get('foo');
>var_dump($matcher->arg_types);
>?>
>
>This produces:
>
>array(1) {
>   ["foo"]=>
>   &UNKNOWN:0
>}
>
>If function doesn't return by reference, then it's fine.
>
>-Andrei
>* Non-volatile, random-access, analog memory store... a book. *

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
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]




Re: [PHP-DEV] Re: Engine problem

2001-07-17 Thread Frank M. Kromann

To my knowledge 4.0.6 works fine, but the latest cvs does not.

- Frank

> That's not what I asked :)  I played with this code (a bit) a couple of 
> days ago.  Can you verify whether this problem is happening in the old 
> (say, 4.0.6) version..?
> 
> At 22:49 17/07/2001, Andrei Zmievski wrote:
> >On Tue, 17 Jul 2001, Zeev Suraski wrote:
> > > Is that a new problem related to your CVS update?
> >
> >I don't think it's build related or anything. I have confirmation of at
> >least 3 other people who have experienced it.
> >
> >-Andrei
> >* 2 + 2 = 5 for extremely large values of 2. *
> 
> --
> Zeev Suraski <[EMAIL PROTECTED]>
> CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/
> 
> 
> -- 
> 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]
> 
> 
> 




-- 
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]




[PHP-DEV] Re: Engine problem

2001-07-17 Thread Andrei Zmievski

On Tue, 17 Jul 2001, Zeev Suraski wrote:
> That's not what I asked :)  I played with this code (a bit) a couple of 
> days ago.  Can you verify whether this problem is happening in the old 
> (say, 4.0.6) version..?

The problem did not exist as of midnight of July 14, 2001.

-Andrei
* Entropy isn't what it used to be. *

-- 
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]




[PHP-DEV] Re: Engine problem

2001-07-17 Thread Zeev Suraski

That's not what I asked :)  I played with this code (a bit) a couple of 
days ago.  Can you verify whether this problem is happening in the old 
(say, 4.0.6) version..?

At 22:49 17/07/2001, Andrei Zmievski wrote:
>On Tue, 17 Jul 2001, Zeev Suraski wrote:
> > Is that a new problem related to your CVS update?
>
>I don't think it's build related or anything. I have confirmation of at
>least 3 other people who have experienced it.
>
>-Andrei
>* 2 + 2 = 5 for extremely large values of 2. *

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
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]




[PHP-DEV] Re: Engine problem

2001-07-17 Thread Andrei Zmievski

On Tue, 17 Jul 2001, Zeev Suraski wrote:
> Is that a new problem related to your CVS update?

I don't think it's build related or anything. I have confirmation of at
least 3 other people who have experienced it.

-Andrei
* 2 + 2 = 5 for extremely large values of 2. *

-- 
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]




[PHP-DEV] Re: Engine problem

2001-07-17 Thread Zeev Suraski

Is that a new problem related to your CVS update?

At 22:16 17/07/2001, Andrei Zmievski wrote:
>I updated from Zend CVS today, and recompiled everything freshly. Ran
>into a problem with the following:
>
>class matcher {
> var $arg_types = array();
>
> function &get($type)
> {
> return $this->arg_types[$type];
> }
>}
>
>$matcher = new matcher();
>$matcher->get('foo');
>var_dump($matcher->arg_types);
>?>
>
>This produces:
>
>array(1) {
>   ["foo"]=>
>   &UNKNOWN:0
>}
>
>If function doesn't return by reference, then it's fine.
>
>-Andrei
>* Non-volatile, random-access, analog memory store... a book. *

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
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]