3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ 0 => '10BR15560R150T-5050', 28 => '72,48', 54 => '13800', 57 => '38,00' ]; $fp = fopen('php://memory', 'r+'); fputcsv($fp, [$data[0], $data[54], $data[57], $data[28] . '.jpg'], '|'); rewind($fp); echo fgets($fp); fclose($fp);
Output for git.master, git.master_jit
10BR15560R150T-5050|13800|38,00|72,48.jpg

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:
45.14 ms | 405 KiB | 5 Q