3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = json_decode('"’"'); $pattern = '/\b/u'; preg_match($pattern, $text, $matches, 0, 0); preg_match($pattern, $text, $matches, 0, 1);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
155.27 ms | 3255 KiB | 10 Q