3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = 'code=asdf'; preg_match('/{200}|{asdf}/', $var, $matches); print_r($matches);
Output for 5.2.0 - 7.1.7, 7.2.0
Warning: preg_match(): Compilation failed: nothing to repeat at offset 4 in /in/cTIhQ on line 4
Output for 7.1.10

Process exited with code 137.
Output for 4.3.11 - 5.1.6
Warning: preg_match(): Compilation failed: nothing to repeat at offset 4 in /in/cTIhQ on line 4 Array ( )
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: nothing to repeat at offset 4 in /in/cTIhQ on line 4 Array ( )