3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '5453453 5345365647567,985735 34543534656 53464445656'; $phones = []; $lines = \preg_split('/' . PHP_EOL . '/', $text); foreach($lines as $line){ $phones[] = \explode(',', $line); } print_r($phones);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => 5453453 ) [1] => Array ( [0] => 5345365647567 [1] => 985735 ) [2] => Array ( [0] => 34543534656 ) [3] => Array ( [0] => 53464445656 ) )

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:
31.71 ms | 402 KiB | 8 Q