ID: 20754 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Strings related Operating System: Win 2k PHP Version: 4.2.3 New Comment:
Your regex is broken, it should be: $arr = split ("\\\\", $mytest); Previous Comments: ------------------------------------------------------------------------ [2002-12-01 20:36:35] [EMAIL PROTECTED] I was trying to split the string with the splitter "\", but it gives me this error message: "Warning: REG_EESCAPE:wtrailing backslash (\) in E:\Inetpub\wwwroot\test\split.php on line 8" MY SCRIPT: $mytest = "STAFF\Tester"; $arr = split ("\\", $mytest); //--> ERROR! Please help! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20754&edit=1