]> granicus.if.org Git - php/commitdiff
Atm php5 doesn't support this:
authorTomas V.V.Cox <cox@php.net>
Thu, 3 Jul 2003 06:54:26 +0000 (06:54 +0000)
committerTomas V.V.Cox <cox@php.net>
Thu, 3 Jul 2003 06:54:26 +0000 (06:54 +0000)
function foo(&$a) {
return new Bar;
}

pear/PEAR.php

index 3062194d5cbcd29c9e37fb48d4bc33907b8370b0..84994fee1781b81a58a6327ff7ebc9fb2df6b2d9 100644 (file)
@@ -477,7 +477,7 @@ class PEAR
      * @see PEAR::setErrorHandling
      * @since PHP 4.0.5
      */
-    function &raiseError($message = null,
+    function raiseError($message = null,
                          $code = null,
                          $mode = null,
                          $options = null,