[PEAR-BUG] Bug #16567 [Com]: Deprecated: Assigning the return value & Deprecated: Function eregi()

[email protected] ("[email protected]")
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=16567&edit=1

 ID:               16567
 Comment by:       [email protected]
 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
 Operating System: All
 Package Version:  1.3.2
 PHP Version:      5.3.0
 Roadmap Versions: 
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[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

------------------------------------------------------------------------

[2010-10-25 21:20:29] jk3us

I just saw that a new version has come out (1.3.4), but it looks like
this problem is still present.

------------------------------------------------------------------------

[2010-08-31 18:41:36] zigo

A patch has been sent to this bug tracker quite a long time ago. Why
isn't it applied to the package? Please fix this issue.

Thomas

------------------------------------------------------------------------

[2010-06-10 04:47:57] zigo

FYI: I tried to get the pkg-php team involved, but it didn't work, as
you can see.

------------------------------------------------------------------------

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 http://pear.php.net/bugs/bug.php?id=16567&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.