3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "WordPress"; if (str_starts_with($str, "Word")) echo "Found!"; if (str_starts_with($str, "word")) echo "Not found!";

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
160.33 ms | 2160 KiB | 9 Q