3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'some text here some more ``` some code block with markdown ``` some `inline code` too and more code blocks: ``` xojo This must have three backticks flanking it ``` this text isn\'t matched...'; print_r(preg_split('~```.*?```|`[^`]*`~s', $text));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => some text here some more [1] => some [2] => too and more code blocks: [3] => this text isn't matched... )

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:
166.52 ms | 405 KiB | 5 Q