2012/4/17 Nikita Popov <nikita....@googlemail.com>
>
> var_dump('123' == '0x7b'); // true
>
> In all other parts of the engine hexadecimal strings are not recognized
> [3]:
>
> var_dump((int) '0x7b'); // int(0)
>

Hi, Nikita

I personally would rather change the type-conversion for strings to integer ...
At least if you force it to do a type-cast (in other words: forcing to
get any valuable integer of that string) ...

Bye
Simon

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to