3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all("|<[^>]+>(.(.*)*)</[^>]+>|U|<[^>]+>>|U" "<b>example: </b><div align=left>this is a test</div>", $out, PREG_PATTERN_ORDER); echo $out[0][0].", ".$out[0][1]."\n"; echo $out[1][0].", ".$out[1][1]."\n"; ?>
Output for 5.4.0 - 5.4.20
Parse error: syntax error, unexpected '"<b>example: </b><div align=le' (T_CONSTANT_ENCAPSED_STRING) in /in/ZVEUp on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/ZVEUp on line 3
Process exited with code 255.

preferences:
165.14 ms | 1395 KiB | 56 Q