note 42776 deleted from function.split by tomsommer

From: Date: Tue, 06 Jul 2004 09:11:03 +0000
Subject: note 42776 deleted from function.split by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72724@lists.php.net to get a copy of this message
Note Submitter: phrodus ---- 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 :)

« previous php.notes (#72724) next »