Req #73486 [Opn->Nab]: Deprecated functions related

From: Date: Thu, 10 Nov 2016 03:30:31 +0000
Subject: Req #73486 [Opn->Nab]: Deprecated functions related
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205273@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73486&edit=1

 ID:                 73486
 Updated by:         requinix@php.net
 Reported by:        thummarmohit77 at gmail dot com
 Summary:            Deprecated functions related
-Status:             Open
+Status:             Not a bug
 Type:               Feature/Change Request
 Package:            *General Issues
 PHP Version:        5.6.27
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

ereg and preg_match do not work the same way. split and preg_split do not work the same way.


Previous Comments:
------------------------------------------------------------------------
[2016-11-10 03:28:35] thummarmohit77 at gmail dot com

Description:
------------
I have a problem and trying to resolve using a code (located in Test script section). I have a big
project in PHP in lower version and my system use newer version of php. The following function is
Deprecated in newer version:
ereg()
split()

And my solution is in test script section but it is not working. I think it should work.

Test script:
---------------
if(!function_exists("ereg")){
    function ereg($s1, $s2){
        return preg_match($s1, $s2);
    }
}

if(!function_exists("split")){
    function split($s1, $s2){
        return preg_split($s1, $s2);
    }
}



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



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


Thread (4 messages)

« previous php.bugs (#205273) next »