note 27318 deleted from function.split by vincent

From: Date: Fri, 03 Oct 2003 10:57:50 +0000
Subject: note 27318 deleted from function.split by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57688@lists.php.net to get a copy of this message
Note Submitter: gwyne@gmx.net ---- I was using the split function to split a string with the splitter "\", but it gave 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! Is this a bug in PHP or my error? Please help! Thanks. Rgds, GWYNE gwyne@gmx.net

« previous php.notes (#57688) next »