3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ["they has mystring in it", "some", "other", "elements"]; if (stripos(implode(" ", $array),'mystring') !== false) { echo "found mystring"; }

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
155.13 ms | 1593 KiB | 12 Q