3v4l.org

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