3v4l.org

run code in 300+ PHP versions simultaneously
<?php $csv = <<<'CSV' first,line second,line third,line fourth,line fifth,line CSV; $file = new SplFileObject('php://memory', 'w+'); $file->fwrite($csv); $file->seek(1); print_r($file->fgetcsv());
Output for git.master, git.master_jit
Deprecated: SplFileObject::fgetcsv(): the $escape parameter must be provided, as its default value will change, either explicitly or via SplFileObject::setCsvControl() in /in/3Uh2L on line 15 Array ( [0] => second [1] => line )
Output for rfc.property-hooks
Array ( [0] => second [1] => line )

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:
91.64 ms | 406 KiB | 5 Q