3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = array ( "Peter,Griffin,Oslo,Norway", "Glenn,Quagmire,Oslo,Norway", ); foreach ($list as $line) { // fputcsv($file,explode(',',$line)); var_dump($line); var_dump(explode(',',$line)); } ?>
Output for git.master, git.master_jit, rfc.property-hooks
string(25) "Peter,Griffin,Oslo,Norway" array(4) { [0]=> string(5) "Peter" [1]=> string(7) "Griffin" [2]=> string(4) "Oslo" [3]=> string(6) "Norway" } string(26) "Glenn,Quagmire,Oslo,Norway" array(4) { [0]=> string(5) "Glenn" [1]=> string(8) "Quagmire" [2]=> string(4) "Oslo" [3]=> string(6) "Norway" }

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