Heads up about new reference warnings

From: Date: Thu, 29 Dec 2005 09:48:31 +0000
Subject: Heads up about new reference warnings
Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-3356@lists.php.net to get a copy of this message
A few weeks ago new warnings have been introduced into PHP and Lukas asked just a few minutes ago to send a notice to PEAR-QA. It will show up if you use expressions where a single variable is expected when passing parameters by reference. If in doubt have a closer look at <http://php.net/references>. function func(&$param) { // body } func($param = null); // warning Regards, -- Michael - <mike(@)php.net> http://dev.iworks.at/ext-http/http-functions.html.gz

« previous php.pear.qa (#3356) next »