3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match_all('/[a-z]/i', ' Hello', $match); var_dump($match);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(1) { [0]=> array(5) { [0]=> string(1) "H" [1]=> string(1) "e" [2]=> string(1) "l" [3]=> string(1) "l" [4]=> string(1) "o" } }