3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = md5('hello'); For($i = 0; $i < 1000000; $i++) { preg_match('/^\d+$/D', $value); } For($i = 0; $i < 1000000; $i++) { preg_match('/^\d+$/D', "$i"); }
based on gh0hp
Output for 5.3.13 - 5.3.20, 5.3.22 - 7.2.0
Output for 5.3.12, 5.3.21

Process exited with code 137.