Less-than operator failing in a PHP string

Posted by Radek on Stack Overflow See other posts from Stack Overflow or by Radek
Published on 2010-04-17T22:39:45Z Indexed on 2010/04/17 22:43 UTC
Read the original article Hit count: 229

Filed under:
|
var_dump('<a>')
// or
var_dump("<a>")
// or
var_dump("\x3Ca>")

// all result in
string(3) ""

What is going on? Only putting a space after the less-than sign works for me.

PHP Version 5.2.10-2ubuntu6.4

© Stack Overflow or respective owner

Related posts about php

Related posts about string