3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<EOL "test0","test1 test2 test3 test4 test5 test6","test7", test01,test02,test03,test04 EOL; $f = fopen('php://temp', 'r+'); fwrite($f, $string); rewind($f); while (($data = fgetcsv($f)) !== FALSE) { var_dump($data); }
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> string(5) "test0" [1]=> string(35) "test1 test2 test3 test4 test5 test6" [2]=> string(5) "test7" [3]=> string(0) "" } array(4) { [0]=> string(6) "test01" [1]=> string(6) "test02" [2]=> string(6) "test03" [3]=> string(6) "test04" }

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