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

preferences:
31.24 ms | 402 KiB | 5 Q