Date: 07/17/01
- Next message: Zeev Suraski: "[PHP-DEV] Re: Engine problem"
- Previous message: ruslan2000 <email protected>: "[PHP-DEV] Bug #12214: Additional param to ereg/eregi/ereg_replace/eregi_replace"
- Next in thread: Zeev Suraski: "[PHP-DEV] Re: Engine problem"
- Reply: Zeev Suraski: "[PHP-DEV] Re: Engine problem"
- Reply: Zeev Suraski: "[PHP-DEV] Re: Engine problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I updated from Zend CVS today, and recompiled everything freshly. Ran
into a problem with the following:
<?php
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. *
-- 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: Zeev Suraski: "[PHP-DEV] Re: Engine problem"
- Previous message: ruslan2000 <email protected>: "[PHP-DEV] Bug #12214: Additional param to ereg/eregi/ereg_replace/eregi_replace"
- Next in thread: Zeev Suraski: "[PHP-DEV] Re: Engine problem"
- Reply: Zeev Suraski: "[PHP-DEV] Re: Engine problem"
- Reply: Zeev Suraski: "[PHP-DEV] Re: Engine problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

