3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function match($haystack, $needle) { return strpos($haystack, $needle) !== FALSE; } echo match("test string", "test"); echo match("string test test string", " test ");
based on 4SQJ6
Output for 4.3.0 - 7.1.0
11