3v4l.org

run code in 300+ PHP versions simultaneously
<?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);

preferences:
43.91 ms | 402 KiB | 5 Q