3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 1; $b = 'xor'; if (is_numeric($a) ^ is_numeric($b)) { echo '1 Number'; } else { echo '0 or 2 numbers'; }
based on 3RHYv
Output for 4.3.0 - 7.2.0
1 Number