Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.5

Bug #489 Contructor's problems
Submitted: 2003-12-23 22:53 UTC
From: nikita at studiot dot info Assigned: jausions
Status: Closed Package: Image_Transform
PHP Version: 4.3.4 OS: Windows Server 2003
Roadmaps: (Not assigned)    
Subscription  


 [2003-12-23 22:53 UTC] nikita at studiot dot info
Description: ------------ Every driver is using 'return' operator in constructor.

Comments

 [2003-12-29 18:23 UTC] reywob at php dot net
What's the problem with this?
 [2004-01-11 18:01 UTC] nikita at studiot dot info
Constructor return new PEAR_Error. I will not know about error if I'm using PEAR_ERROR_RETURN error handling.
 [2004-04-13 06:39 UTC] alan_k
factory should call a constructCheck method, rather than relying on the constructors to return pear errors. $obj = & new $classname; if (($err=$obj->constructCheck()) !== true) { return $err; }
 [2004-05-18 22:16 UTC] jausions
Please see bug #1406
 [2004-09-20 14:43 UTC] jausions
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.