3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $criteria = array( 'type' => 'irc', 'function' => 'strpos', 'params' => array( '$input', 'testing' ) ); $params = array(); foreach($criteria['params'] as $param){ $params[] = $param; } print_r($params);
based on H7LM7
Output for 4.3.0 - 7.2.0
Array ( [0] => $input [1] => testing )