allow_call_time_pass_reference

From: Date: Thu, 20 Nov 2003 06:52:07 +0000
Subject: allow_call_time_pass_reference
Groups: php.internals 
Request: Send a blank email to internals+get-5602@lists.php.net to get a copy of this message
I am wondering what should happen to the allow_call_time_pass_reference php.ini directive. The following code, for instance, prints no warning with PHP 5 but with PHP 4. <?php error_reporting(E_ALL); class Foo { function bar($foobar) {} } $a = new Foo; $b = new Foo; $a->bar(&$b); ?> I think the allow_call_time_pass_reference directive should be removed as it is no longer needed. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

« previous php.internals (#5602) next »