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

Bug #12106 PHP 4 dependency when the code is PHP 5
Submitted: 2007-09-25 07:58 UTC
From: banquette Assigned: dufuz
Status: Closed Package: OpenDocument (version 0.1.2)
PHP Version: 4.4.3 OS: Win/Linux
Roadmaps: 0.2.0    
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 : 47 - 44 = ?

 
 [2007-09-25 07:58 UTC] banquette (Alex Desktop)
Description: ------------ Dealing with examples there seems to be a syntax error : Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in c:\pear\OpenDocument.php on line 62 I've looked into the file and seen it was for PHP5. So There is a problem with the doc which says PHP4 or newer is required. You should say PHP5. I heve seen this before when looking into an exampple where instanceof was used whereas it is a PHP5 functionnality only. Regards.

Comments

 [2008-07-22 22:49 UTC] dufuz (Helgi Þormar Þorbjörnsson)
This bug has been fixed in CVS. 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.