3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $re = '~\[do action\=\"[^\"]*\"\s?[^\]\/]*\]( [^\[\d\o123\n]* )\[\/do\]~'; preg_match($re, 'abc'); var_dump($re);
Output for 5.4.41 - 5.6.28, 7.0.0 - 7.1.0
Warning: preg_match(): Compilation failed: missing opening brace after \o at offset 45 in /in/MU5q6 on line 3 string(65) "~\[do action\=\"[^\"]*\"\s?[^\]\/]*\]( [^\[\d\o123\n]* )\[\/do\]~"
Output for hhvm-3.10.0 - 3.12.0
Warning: Compilation failed: missing opening brace after \o at offset 45 in /in/MU5q6 on line 3 string(65) "~\[do action\=\"[^\"]*\"\s?[^\]\/]*\]( [^\[\d\o123\n]* )\[\/do\]~"
Output for 4.3.0 - 5.4.40
string(65) "~\[do action\=\"[^\"]*\"\s?[^\]\/]*\]( [^\[\d\o123\n]* )\[\/do\]~"