3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pattern = "/\s([\w_\.\/]+)(?:=([\'\"]?(?:[\w\d\s\?=\(\)\.,'_#\/\\:;&-]|(?:\\\\\"|\\\')?)+[\'\"]?))?/"; $context = "<simpletag an_attribute=\"simpleValueInside\">"; $match = array(); $result =preg_match_all($pattern, $context, $match);
based on BFgSA
Output for 7.1.10

Process exited with code 137.
Output for 4.3.0 - 4.4.5, 4.4.9 - 7.1.7
Output for 4.4.6 - 4.4.8

Process exited with code 139.