3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $atuatia = "bla\0"; $atuamae = "\0bla\0"; echo $atuatia; $a = strpos($atuatia, $atuamae); $b = strpos($atuamae, $atuatia); $c = strpos($atuatia, $atuatia); var_dump($a); var_dump($b); var_dump($c);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
blabool(false) int(1) int(0)