3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str =<<<STR Iraq Iraqian miqra qintar aoph zaqqnum STR; $reg = '/q[^udfg]/'; preg_match_all($reg, $str, $result); var_dump($result);
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
array(1) { [0]=> array(5) { [0]=> string(2) "q " [1]=> string(2) "qi" [2]=> string(2) "qr" [3]=> string(2) "qi" [4]=> string(2) "qq" } }
Output for hhvm-3.10.0

Process exited with code 153.