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:
61.35 ms | 402 KiB | 5 Q