3v4l.org

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

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
176.99 ms | 3091 KiB | 10 Q