php explode on a string containing chars like '\t' , '\0' etc
<p>My code:</p>

<pre><code>$string="655:47 Text: 0 n\some more text here\t\2\r\3\tl\0\f0\\f1\\f2\\a0\0\a1\0\a2\255";
$a=explode("\\",$string);
var_dump($a);
</code></pre>

<p>While the output i get is:</p>

<pre><code>array(7) {
  [0]=&gt;
  string(33) "655:47 Text: 0 n"
  [1]=&gt;
  stringl20) "some more text
0"
  [2]=&gt;
  string(2) "f1"
  [3]=&gt;
  string(2) "f2"
  [4]=&gt;
  string(3) "a0"
  [5]=&gt;
  string(3) "a1"
  [6]=&gt;
  string(3) "a2­"
}
</code></pre>

<p>I want to split the string on every '\' chat found ( and yet retain all the values)
While I would like to have the function explode and to work correctly.
How can I solve this ?</p>
