PHP 4.0 Bug #6427: func_get_arg() does not support references

From: Date: Wed, 30 Aug 2000 01:38:56 +0000
Subject: PHP 4.0 Bug #6427: func_get_arg() does not support references
Groups: php.dev 
Request: Send a blank email to php-dev+get-31183@lists.php.net to get a copy of this message
From: waldschrott@php.net Operating system: * PHP version: 4.0.1pl2 PHP Bug Type: Misbehaving function Bug description: func_get_arg() does not support references func_get_arg() does not support references (see example), $o=1; test($o); echo $o; function test() { $l=&func_get_arg(0); $l=2; } displays 1, should 2, I think it should be possible changing this without impact, if not perhaps a func_get_rarg() be fine

« previous php.dev (#31183) next »