#20754 [NEW]: PROBLEM WITH SPLIT FUNCTION

From: Date: Mon, 02 Dec 2002 02:36:35 +0000
Subject: #20754 [NEW]: PROBLEM WITH SPLIT FUNCTION
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26344@lists.php.net to get a copy of this message
From: ahhsee@ntu.edu.sg Operating system: Win 2k PHP version: 4.2.3 PHP Bug Type: Strings related Bug description: PROBLEM WITH SPLIT FUNCTION 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 bug report at http://bugs.php.net/?id=20754&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20754&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20754&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20754&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20754&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20754&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20754&r=support Expected behavior: http://bugs.php.net/fix.php?id=20754&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20754&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20754&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20754&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20754&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20754&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20754&r=isapi

« previous php.bugs (#26344) next »