#20680 [NEW]: php references - error reporting

From: Date: Wed, 27 Nov 2002 17:06:39 +0000
Subject: #20680 [NEW]: php references - error reporting
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25977@lists.php.net to get a copy of this message
From: tit.petric@telemach.net Operating system: linux(all) PHP version: 4.2.3 PHP Bug Type: Feature/Change Request Bug description: php references - error reporting function &reference_return($val) { global $ref_array; return $ref_array[$val]; } <b>$ref = &reference_return(0);</b> is it possible to get an E_NOTICE if people forget to type the "&" before the function which should return references? -- Edit bug report at http://bugs.php.net/?id=20680&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20680&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20680&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20680&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20680&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20680&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20680&r=support Expected behavior: http://bugs.php.net/fix.php?id=20680&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20680&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20680&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20680&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20680&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20680&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20680&r=isapi

« previous php.bugs (#25977) next »