3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ [ 'month' => 'June', 'sale' => 98765 ], [ 'month' => 'May', 'sale' => 45678 ], [ 'month' => 'April', 'sale' => 213456 ], [ 'month' => 'August', 'sale' => 23456 ], [ 'month' => 'July', 'sale' => 12376 ], ]; echo implode(',',array_column($array,'month')); echo PHP_EOL; echo implode(',',array_column($array,'sale'));
Output for git.master, git.master_jit, rfc.property-hooks
June,May,April,August,July 98765,45678,213456,23456,12376

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