3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $regex = '/(?=xyz\K)/'; $subject = "aaaaxyzaaaa"; // Comment/uncomment below as wanted. // All 3 functions are vulnerable (note, other functions are affected as well) preg_match($regex, $subject, $matches);
based on jfcJr
Output for 5.4.45, 5.5.29 - 5.5.35, 5.6.13 - 7.2.0
Warning: preg_match(): Get subpatterns list failed in /in/9K408 on line 8
Output for 5.3.18 - 5.4.44, 5.5.24 - 5.5.28, 5.6.8 - 5.6.12

Process exited with code 139.