3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $part = ""; $_1 = "abc"; if ( 0 === strpos($_1, $part)) { echo "koko"; }
Output for 5.3.22 - 5.3.29, 5.4.12 - 5.6.28, 7.0.0 - 7.1.0
Warning: strpos(): Empty needle in /in/Hp7XE on line 4
Output for hhvm-3.12.0
Warning: Empty delimiter in /in/Hp7XE on line 4
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.5 - 5.3.21, 5.4.0 - 5.4.11
Warning: strpos(): Empty delimiter in /in/Hp7XE on line 4
Output for 4.3.2 - 5.2.4
Warning: strpos(): Empty delimiter. in /in/Hp7XE on line 4
Output for 4.3.0 - 4.3.1
Warning: strpos() [http://www.php.net/function.strpos]: Empty delimiter. in /in/Hp7XE on line 4