<?php $search=array("<",">","!=","<=",">="); $value = "name >= vivek "; function test($item, $key, $str) { if( strpos($str, $item) !== FALSE ) { echo "$item found in \"$str\"\n"; } } array_walk($search, 'test', $value);
You have javascript disabled. You will not be able to edit any code.