3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = "0"; // $foo is string (ASCII 48) $foo++; // $foo is the string "1" (ASCII 49) var_dump($foo);
Output for 4.3.0 - 7.3.0rc4
int(1)