ID: 31895 Updated by: [EMAIL PROTECTED] Reported By: peter dot bauwens at b-rail dot be -Status: Open +Status: Verified Bug Type: PCRE related -Operating System: Win XP SP1 +Operating System: * -PHP Version: 4.3.10 +PHP Version: 4CVS, 5CVS (2005-02-11) New Comment:
Verified. Previous Comments: ------------------------------------------------------------------------ [2005-02-10 15:16:09] peter dot bauwens at b-rail dot be I just found out something new (I hope it helps) If I try these 2 lines: $String = "test 12 test 123 test 123 test"; print_r(preg_split("/( 12(3){0,1} )/", $String, -1, PREG_SPLIT_DELIM_CAPTURE)); I get this as result: Array ( [0] => test [1] => 12 [2] => test [3] => 123 [4] => 3 [5] => test [6] => 123 [7] => 3 [8] => test ) ------------------------------------------------------------------------ [2005-02-10 15:10:01] peter dot bauwens at b-rail dot be I used a totally different directory for the PHP snapshot, copied the php.ini in the Windows-dir, I changed my path in the httpd.conf of my Apache2 server, and restarted the server. In phpinfo() I got the 'version 4.3.11-dev'... ------------------------------------------------------------------------ [2005-02-10 15:00:44] [EMAIL PROTECTED] Are you absolutely sure you've installed the new PHP version correctly ?? Make sure you remove _all_ previous dlls related to PHP before you install the new ones from the snapshot. ------------------------------------------------------------------------ [2005-02-10 08:37:21] peter dot bauwens at b-rail dot be The bug still occurs in this snapshot of PHP 4.3.11-dev(Win32, same result). I used the 'php.ini-recommended' as php.ini (didn't change a thing in it). Is there any way to get more info to help you? (I also know C, C++, ASM if it helps in any way) ------------------------------------------------------------------------ [2005-02-09 22:39:42] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Works fine on Win32 and Linux when I tried the given code. ------------------------------------------------------------------------ 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/31895 -- Edit this bug report at http://bugs.php.net/?id=31895&edit=1