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 git.master, git.master_jit
Warning: preg_match_all(): Unknown modifier '|' in /in/C2GUY on line 2 Warning: Trying to access array offset on value of type null in /in/C2GUY on line 5 Warning: Trying to access array offset on value of type null in /in/C2GUY on line 5 Warning: Trying to access array offset on value of type null in /in/C2GUY on line 5 Warning: Trying to access array offset on value of type null in /in/C2GUY on line 5 , Warning: Trying to access array offset on value of type null in /in/C2GUY on line 6 Warning: Trying to access array offset on value of type null in /in/C2GUY on line 6 Warning: Trying to access array offset on value of type null in /in/C2GUY on line 6 Warning: Trying to access array offset on value of type null in /in/C2GUY on line 6 ,
Output for rfc.property-hooks
Warning: preg_match_all(): Unknown modifier '|' in /in/C2GUY on line 2 Warning: Trying to access array offset on null in /in/C2GUY on line 5 Warning: Trying to access array offset on null in /in/C2GUY on line 5 Warning: Trying to access array offset on null in /in/C2GUY on line 5 Warning: Trying to access array offset on null in /in/C2GUY on line 5 , Warning: Trying to access array offset on null in /in/C2GUY on line 6 Warning: Trying to access array offset on null in /in/C2GUY on line 6 Warning: Trying to access array offset on null in /in/C2GUY on line 6 Warning: Trying to access array offset on null in /in/C2GUY on line 6 ,

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
48.42 ms | 402 KiB | 8 Q