3v4l.org

run code in 200+ PHP versions simultaneously
<?php $text = json_decode('"’"'); $pattern = '/\b/u'; preg_match($pattern, $text, $matches, 0, 0); preg_match($pattern, $text, $matches, 0, 1);
based on bAXhf
Output for 7.2.0 - 7.3.14, 7.4.5 - 7.4.6
Output for 7.4.0 - 7.4.2

Process exited with code 139.