3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<DATA 1363168337,21320,17408,5,"nice product " 1363168371,21180,17134,4,"A gorgeous shirt but had to return as a tight fit so looked a little small. Unfortunately they didn't have size large. " 1363168572,22509,15248,5,Fine! 1363168572,22509,16314,5,Fine! 1363168613,21351,17870,5,"The product was a gift so cannot review the item" 1363168950,21930,16020,4,"Product lived up to expectations and was as thought.\n\nProduct is worn as casual top" 1363168950,21930,17294,4,"Product lived up to expectations and was as thought.\n\nProduct is worn as casual top" 1363168988,21937,14733,4,"Product is good " DATA; $fp = fopen('php://memory', 'w+'); fwrite($fp, $data); rewind($fp); while ($line = fgetcsv($fp)) { var_dump($line); }
Output for git.master_jit, git.master, rfc.property-hooks
array(5) { [0]=> string(10) "1363168337" [1]=> string(5) "21320" [2]=> string(5) "17408" [3]=> string(1) "5" [4]=> string(13) "nice product " } array(5) { [0]=> string(10) "1363168371" [1]=> string(5) "21180" [2]=> string(5) "17134" [3]=> string(1) "4" [4]=> string(119) "A gorgeous shirt but had to return as a tight fit so looked a little small. Unfortunately they didn't have size large. " } array(5) { [0]=> string(10) "1363168572" [1]=> string(5) "22509" [2]=> string(5) "15248" [3]=> string(1) "5" [4]=> string(5) "Fine!" } array(5) { [0]=> string(10) "1363168572" [1]=> string(5) "22509" [2]=> string(5) "16314" [3]=> string(1) "5" [4]=> string(5) "Fine!" } array(5) { [0]=> string(10) "1363168613" [1]=> string(5) "21351" [2]=> string(5) "17870" [3]=> string(1) "5" [4]=> string(48) "The product was a gift so cannot review the item" } array(5) { [0]=> string(10) "1363168950" [1]=> string(5) "21930" [2]=> string(5) "16020" [3]=> string(1) "4" [4]=> string(83) "Product lived up to expectations and was as thought. Product is worn as casual top" } array(5) { [0]=> string(10) "1363168950" [1]=> string(5) "21930" [2]=> string(5) "17294" [3]=> string(1) "4" [4]=> string(83) "Product lived up to expectations and was as thought. Product is worn as casual top" } array(5) { [0]=> string(10) "1363168988" [1]=> string(5) "21937" [2]=> string(5) "14733" [3]=> string(1) "4" [4]=> string(16) "Product is good " }

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.32 ms | 405 KiB | 8 Q