3v4l.org

run code in 500+ 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:
46.42 ms | 2611 KiB | 5 Q