3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = <<<CSV AZONOSÍTÓ;KATEGÓRIA;BÉR;LEÍRÁS 001;IT1;1000;Programozás 002;IT2;2000;Farmerkodás 003;IT3;3000;Valami CSV; $file = "data://text/plain;base64," . base64_encode($content); $tomb = []; if (($handle = fopen($file, "r")) !== FALSE) { while (($row = fgetcsv($handle, 1000, ";")) !== FALSE) { $tomb[] = $row; } fclose($handle); } print_r($tomb);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [0] => AZONOSÍTÓ [1] => KATEGÓRIA [2] => BÉR [3] => LEÍRÁS ) [1] => Array ( [0] => 001 [1] => IT1 [2] => 1000 [3] => Programozás ) [2] => Array ( [0] => 002 [1] => IT2 [2] => 2000 [3] => Farmerkodás ) [3] => Array ( [0] => 003 [1] => IT3 [2] => 3000 [3] => Valami ) )

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