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

Bug #17788 Patch: Avoid use of ereg_replace
Submitted: 2010-08-22 12:25 UTC
From: olleolleolle Assigned: olleolleolle
Status: Closed Package: RDF_NTriple (version SVN)
PHP Version: 5.3.1 OS:
Roadmaps: (Not assigned)    
Subscription  


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 : 17 - 11 = ?

 
 [2010-08-22 12:25 UTC] olleolleolle (Olle Jonsson)
Description: ------------ This patch removes these three usages of ereg_replace: WARNING: Function 'ereg_replace' is deprecated, please use 'preg_replace' instead in file ./RDF_NTriple/NTriple/Serializer.php line 55 WARNING: Function 'ereg_replace' is deprecated, please use 'preg_replace' instead in file ./RDF_NTriple/NTriple/Serializer.php line 59 WARNING: Function 'ereg_replace' is deprecated, please use 'preg_replace' instead in file ./RDF_NTriple/NTriple/Serializer.php line 73 I was lucky enough to be able to make it into a str_replace.

Comments

 [2010-08-22 12:25 UTC] olleolleolle (Olle Jonsson)
 [2010-08-23 08:32 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: olleolleolle
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.