Req #73486 [NEW]: Deprecated functions related
From: thummarmohit77 at gmail dot com
Operating system:
PHP version: 5.6.27
Package: *General Issues
Bug Type: Feature/Change Request
Bug description:Deprecated functions related
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 bug report at https://bugs.php.net/bug.php?id=73486&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73486&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73486&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73486&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73486&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73486&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73486&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73486&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73486&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73486&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73486&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73486&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73486&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73486&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73486&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73486&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73486&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73486&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73486&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73486&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73486&r=mysqlcfg
Thread (4 messages)
- thummarmohit77 at gmail dot com