Date: 07/14/01
- Next message: ogilvie <email protected>: "[PHP-DEV] Bug #12173: The PDF versions of the documentation are unavailable"
- Previous message: cardinal <email protected>: "[PHP-DEV] Bug #11911 Updated: Speed Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: mubarmej <email protected>
Operating system: Windows 2000
PHP version: 4.0.6
PHP Bug Type: *Compile Issues
Bug description: Failure to bind a variable to an object's method that returns a reference
The following line will give a compilation error:
$arr = array( $stuff, &$this->refAll() );
refAll() is a method of the class that returnes a reference.
This work around works:
$ref = &$this->refAll();
$this->stack[] = array( $stuff, &$ref );
But i think that the one line solution should work too.
-- Edit bug report at: http://bugs.php.net/?id=12172&edit=1-- 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: ogilvie <email protected>: "[PHP-DEV] Bug #12173: The PDF versions of the documentation are unavailable"
- Previous message: cardinal <email protected>: "[PHP-DEV] Bug #11911 Updated: Speed Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

