3v4l.org

run code in 300+ PHP versions simultaneously
<?php $toto = array( array('toto' => 'alpha', 'aliou' => 'mari' ), array( 'toto' =>'amadou', 'aliou' => 'dje' ) ); function implode_array_values($key,$input) { return implode(', ', array_map(function($entry) use ($key) { return $entry[$key]; }, $input)); } var_dump(implode_array_values('toto',$toto)); echo array_map("count", $toto);
Output for git.master_jit, git.master, rfc.property-hooks
string(13) "alpha, amadou" Warning: Array to string conversion in /in/uXbqg on line 21 Array

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.36 ms | 401 KiB | 8 Q