ID:               49594
 Updated by:       paj...@php.net
 Reported By:      jay at phpcourses dot ca
 Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: all
 PHP Version:      5.3.0
 New Comment:

It won't be available in php6 because ereg does not work with Unicode.
Simple. Has PHP6 been released yet? or is it getting anywhere close to
be released? No and no.

And php 5.x still has many years to live, given that you had already
almost a decade to be ready and that you get 5 more years or so using
error_reporting.... EOD.


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

[2009-10-01 21:49:09] jay at phpcourses dot ca

you first

This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP
6.0.0. Relying on this feature is highly discouraged.

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

[2009-10-01 21:30:13] paj...@php.net

Can you please do your homework prior to post to php.net's bug
reports?

Using PHP 5.3.0/svn:

> php -r "error_reporting(E_ALL); ereg('POSIX');"

Deprecated: Function ereg() is deprecated in Command line code on line
1

> php -r "error_reporting(E_ALL ^ E_DEPRECATED); ereg('POSIX',
'foo');"



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

[2009-10-01 21:25:53] jay at phpcourses dot ca

nobody answered the original query

WHY stop supporting parts of the api all of a sudden?

it does NO harm leaving it in, as in ZERO 

it DOES harm taking it out

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

[2009-10-01 21:25:03] jay at phpcourses dot ca

i can't

see, "marked for deprecation" is different than "will no longer be
supported in 5.3"

i'm helping php avoid big mistakes

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

[2009-10-01 18:08:49] paj...@php.net

Jay, disable E_DEPRECATED and be happy. Now go back to your usual
activities, thanks.

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

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://bugs.php.net/49594

-- 
Edit this bug report at http://bugs.php.net/?id=49594&edit=1

Reply via email to