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);

preferences:
15.27 ms | 405 KiB | 5 Q