- print_r: documentation ( source)
<?php
$input = "I am a thing, I have the phrase testing in me!";
$criteria = array(
'type' => 'irc',
'function' => 'strpos',
'params' => array(
'$input;',
'"testing";'
)
);
$params = array();
foreach($criteria['params'] as $param){
$params[] = eval($param);
}
print_r($params);