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

Bug #18082 Wrong parameters for Exception
Submitted: 2010-11-22 16:48 UTC
From: mekras Assigned: till
Status: Closed Package: Services_W3C_CSSValidator (version SVN)
PHP Version: 5.2.11 OS: FreeBSD
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 34 - 10 = ?

 
 [2010-11-22 16:48 UTC] mekras (Mikhail Krasilnikov)
Description: ------------ In CSSValidator.php:373 (http://svn.php.net/viewvc/pear/packages/Services_W3C_CSSValidator/trunk/Services/W3C/CSSValidator.php?view=markup) new Exception created using PHP 5.3 syntax. On PHP 5.2.x this will cause fatal error: PHP Fatal error: Wrong parameters for Exception([string $exception [, long $code ]]). May be better to use PEAR_Exception instead?

Comments

 [2010-12-07 18:08 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Verified
 [2011-03-27 20:31 UTC] till (Till Klampaeckel)
-Status: Verified +Status: Closed -Assigned To: +Assigned To: till
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.