3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = '12345'; $x = (! is_object($value) && (string)(int)$value === (string)$value && $value >= 0); var_dump($x);
Output for 4.3.0 - 7.2.0
bool(true)