note 42776 added to function.split
| From: | phrodus at rn2 dot php dot net | Date: | Fri, 28 May 2004 19:08:01 +0000 |
| Subject: | note 42776 added to function.split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70251@lists.php.net to get a copy of this message | ||
regarding: jross (at) open by design (dot) com
You could simplify that by using single qoutes, as double quotes are interpolated.
"\\\\\\\\" after string interpolation is \\\\ and after regex interpolation is \\
If you use single quotes then there is no interpolation on the '\' character at the string
level and '\\\\' is all that is needed.
so split('\\\\', $_SERVER['AUTH_USER']); would suffice :)
----
Manual Page -- http://www.php.net/manual/en/function.split.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42776
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42776&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42776&report=yes
Search -- http://master.php.net/manage/user-notes.php