PHP bug? Please support?

Marco

New member
Hey programmers, for all of you who has php locally or accessable installed, please check out this code:

substr('<html></html>',0,3);
substr('<html',0,100);

On my windows 7 ultimate 32-bit, PHP version 5.3.0 does NOT return any value at all.
It seems when < is included in the string, and the length is within 7 characters, it returns nothing.
Can you verify what you find if you try this?

Thanks
The value returned on my end are pretty much equal to false. It does not return any tag or part of the text at all. I wouldn't be asking this if I were stupid enough not to look into the real source in different browsers. On my end it returns nothing and just want to know whether this is true for other users aswell.
 
Back
Top