3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "123~456!!!789~012!!!345~678!!!901~234!!!567~890!!!1234~5678"; $array = preg_split ('/!!!|~/', $txt); print_r($array);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 123 [1] => 456 [2] => 789 [3] => 012 [4] => 345 [5] => 678 [6] => 901 [7] => 234 [8] => 567 [9] => 890 [10] => 1234 [11] => 5678 )

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:
57.6 ms | 401 KiB | 8 Q