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));

preferences:
29.38 ms | 405 KiB | 5 Q