CTF Note
PHP weak type
If string is process as a number, When the string doesn’t contain ‘.’, ‘e’ or ‘E’ and in the range of integer, it will process as integer.
otherwise, process as float, and the begin of string decide it value, or it will be 0.
PHP Weak Type
CTF PHP-WEAK-TYPE Writeup