3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = <<<EOT 86010800,class,Table Games,,"(10005183, 10005184, 10005185)" 86011100,class,Toy Vehicles – Non-ride,,"(10005192, 10005190, 10005191, 10005193, 10005194, 10005195, 10005196)" 86011000,class,Toys – Ride-on,,"(10005187, 10005188, 10005441, 10005189)" 86010900,class,Toys/Games Variety Packs,,(10005186) 10001686,brick,Airbrushes (Powered),"Definition: Includes any products that can be described/observed as a powered machine that scatters paint using air pressure and which is used for design illustrations, fine art and delicate fine spray applications. The machine comprises of a compression or propulsion device to scatter the paint.Specifically excludes Spray Paint and Aerosols.Excludes Airbrushing Replacement Parts and Accessories such as Airbrush Control Valves and Airbrush Hoses.",() 10001688,brick,Airbrushing Equipment – Replacement Parts/Accessories,Definition: Includes any products that can be described/observed as a replacement part/accessory for airbrushing equipment.Includes products such as Airbrush Control Valves and Airbrush Hoses.Excludes products such as complete Airbrushes.,(20001349) 10001690,brick,Airbrushing Supplies Other,"Definition: Includes any products that may be described/observed as Airbrushing Supplies products, where the user of the schema is not able to classify the products in existing bricks within the schema.Excludes all currently classified Airbrushing Supplies.",() EOT; $file = fopen('php://temp', 'r+'); fwrite($file, $data); rewind($file); while(!feof($file)) { $line = fgetcsv($file); var_dump($line); }
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { [0]=> string(8) "86010800" [1]=> string(5) "class" [2]=> string(11) "Table Games" [3]=> string(0) "" [4]=> string(30) "(10005183, 10005184, 10005185)" } array(5) { [0]=> string(8) "86011100" [1]=> string(5) "class" [2]=> string(25) "Toy Vehicles – Non-ride" [3]=> string(0) "" [4]=> string(70) "(10005192, 10005190, 10005191, 10005193, 10005194, 10005195, 10005196)" } array(5) { [0]=> string(8) "86011000" [1]=> string(5) "class" [2]=> string(16) "Toys – Ride-on" [3]=> string(0) "" [4]=> string(40) "(10005187, 10005188, 10005441, 10005189)" } array(5) { [0]=> string(8) "86010900" [1]=> string(5) "class" [2]=> string(24) "Toys/Games Variety Packs" [3]=> string(0) "" [4]=> string(10) "(10005186)" } array(5) { [0]=> string(8) "10001686" [1]=> string(5) "brick" [2]=> string(20) "Airbrushes (Powered)" [3]=> string(455) "Definition: Includes any products that can be described/observed as a powered machine that scatters paint using air pressure and which is used for design illustrations, fine art and delicate fine spray applications. The machine comprises of a compression or propulsion device to scatter the paint.Specifically excludes Spray Paint and Aerosols.Excludes Airbrushing Replacement Parts and Accessories such as Airbrush Control Valves and Airbrush Hoses." [4]=> string(2) "()" } array(5) { [0]=> string(8) "10001688" [1]=> string(5) "brick" [2]=> string(55) "Airbrushing Equipment – Replacement Parts/Accessories" [3]=> string(238) "Definition: Includes any products that can be described/observed as a replacement part/accessory for airbrushing equipment.Includes products such as Airbrush Control Valves and Airbrush Hoses.Excludes products such as complete Airbrushes." [4]=> string(10) "(20001349)" } array(5) { [0]=> string(8) "10001690" [1]=> string(5) "brick" [2]=> string(26) "Airbrushing Supplies Other" [3]=> string(260) "Definition: Includes any products that may be described/observed as Airbrushing Supplies products, where the user of the schema is not able to classify the products in existing bricks within the schema.Excludes all currently classified Airbrushing Supplies." [4]=> string(2) "()" }

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:
32.07 ms | 409 KiB | 8 Q