|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-11-10 03:30 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2016-11-10 03:30 UTC] requinix@php.net
[2016-11-10 04:56 UTC] thummarmohit77 at gmail dot com
[2016-11-10 05:08 UTC] requinix@php.net
-Block user comment: No
+Block user comment: Yes
[2016-11-10 05:08 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
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); } }