3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $patterns[0] = "{0}"; $patterns[1] = "{1}"; $replacements[0] = 'Динамо Киев'; $replacements[1] = '87'; $resultGoal = preg_replace($patterns, $replacements, 'Первый гол: {0} на {1} мин.');
Output for 4.3.0 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.1.0
Output for hhvm-3.10.0

Process exited with code 153.