When doing a substr_count or an explode, or anything where you need to specify a 'needle' string, Is it possible to use a hex character code instead of writing in the character? ie '20' instead of ' ' (space)? If so, how?
you can try this:
explode(chr(hexdec(20)), "this is exploded by spaces");
that ought to do the trick.
-frymaster