3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $xxx = 1; $domainName = null === $xxx ? "true" : "false"; var_dump( $domainName ); $xxx = 1; $domainName = 1 === $xxx ? "true" : "false"; var_dump( $domainName );
Output for 4.3.0 - 7.1.0
string(5) "false" string(4) "true"