3v4l.org

run code in 300+ PHP versions simultaneously
<?php $collectors_list="Sieben Ochs,e8575269-de9f-45c3-a6d1-57d76eddc6a8,0.040000,1440900901,4,Joe,ie8575269-de9f-45c3-a6d1-57d76eddc6a8,0.080000,1440900901,i4,Joe,ie8575269-de9f-45c3-a6d1-57d76eddc6a8,0.140000,1440900901,i4"; //$collections_array = explode(",", $collectors_list); $collections_array = str_getcsv($collectors_list); $len = count($collections_array)/5; $i = 0; do { $citizen_name = $collections_array[$i]; $citizen_uuid = $collections_array[$i+1]; $amount = $collections_array[$i+2]; echo $amount; $i+=5; echo i . " "; } while ($i < $len); //echo "processing,".$collectors_list;
Output for git.master, git.master_jit, rfc.property-hooks
0.040000 Fatal error: Uncaught Error: Undefined constant "i" in /in/HjWtL:16 Stack trace: #0 {main} thrown in /in/HjWtL on line 16
Process exited with code 255.

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:
50.73 ms | 401 KiB | 8 Q