cvs: php4 /pear PEAR.php.in

From: Date: Mon, 04 Dec 2000 21:03:18 +0000
Subject: cvs: php4 /pear PEAR.php.in
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2944@lists.php.net to get a copy of this message
chagenbu Mon Dec 4 13:03:18 2000 EDT Modified files: /php4/pear PEAR.php.in Log: have PEAR::isError() not take parameters by reference for now. Index: php4/pear/PEAR.php.in diff -u php4/pear/PEAR.php.in:1.9 php4/pear/PEAR.php.in:1.10 --- php4/pear/PEAR.php.in:1.9 Sun Oct 15 02:02:54 2000 +++ php4/pear/PEAR.php.in Mon Dec 4 13:03:17 2000 @@ -17,7 +17,7 @@ // | Stig Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: PEAR.php.in,v 1.9 2000/10/15 09:02:54 ssb Exp $ +// $Id: PEAR.php.in,v 1.10 2000/12/04 21:03:17 chagenbu Exp $ // define('PEAR_ERROR_RETURN', 1); @@ -108,7 +108,7 @@ * @access public * @return bool true if $data is an error */ - function isError(&$data) { + function isError($data) { return (bool)(is_object($data) && (get_class($data) == "pear_error" || is_subclass_of($data, "pear_error")));

« previous php.cvs (#2944) next »