Bug #16567 [Opn]: Deprecated: Assigning the return value & Deprecated: Function eregi()
| From: | daniel dot oconnor at gmail dot com | Date: | Sat, 31 Mar 2012 17:08:10 +0000 |
| Subject: | Bug #16567 [Opn]: Deprecated: Assigning the return value & Deprecated: Function eregi() | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8471@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=16567&edit=1
ID: 16567
Updated by: daniel.oconnor@gmail.com
Reported By: n dot vignjevic at nao-company dot com
Summary: Deprecated: Assigning the return value & Deprecated:
Function eregi()
Status: Open
Type: Bug
-Package: XML_Parser
+Package: XML_Parser2
Operating System: All
Package Version: 1.3.2
PHP Version: 5.3.0
Roadmap Versions:
New Comment:
-Package: XML_Parser
+Package: XML_Parser2
Previous Comments:
------------------------------------------------------------------------
[2012-01-30 23:04:06] zigo_debian
Added #patch
bug:16567;patch:removes-return-as-reference;revision:1327964646;.
------------------------------------------------------------------------
[2012-01-30 23:03:31] zigo_debian
Hi,
Is there any update with this bug? I'm still carrying a patch in Debian
to remove the return as reference, and it's been now quite a long time
this bug entry has been opened. Please consider fixing !
I'm adding a new patch that has only the return as reference fix, since
the ereg calls have been replaced by preg in the latest release.
Cheers,
Thomas Goirand (zigo)
------------------------------------------------------------------------
[2011-06-07 17:53:52] jk3us
Can't the same thing be done in PHP 4 without the return by reference?
I'm not sure I see why it is done by reference in the first place.
Unfortunately, I don't have PHP 4 to test this out with.
------------------------------------------------------------------------
[2011-03-27 05:47:03] zigo
And has the return value been fixed as well? I did fix it in my Debian
package too, so I wont upgrade the SID package to the latest version of
XML_Parser until the return as reference is fixed too.
Thomas
------------------------------------------------------------------------
[2011-03-26 20:16:12] dufuz
Just a heads up, the eregi usage has already been discontinued in this
package, in
1.3.3:
http://svn.php.net/viewvc/pear/packages/XML_Parser/trunk/Parser.php?
r1=266395&r2=302733
Was done as a part of a fix for Bug #17725
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=16567
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=16567&edit=1