3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = "I am a thing, I have the phrase testing in me!"; $criteria = array( 'type' => 'irc', 'function' => 'strpos', 'params' => array( 'strtolower($input)', '\'testing\'' ) ); $params = array(); foreach($criteria['params'] as $param){ $params[] = eval("return ".$param.";"); } print_r($params);
based on sDbuP
Output for 4.3.0 - 7.2.0
Array ( [0] => i am a thing, i have the phrase testing in me! [1] => testing )