3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'code_sni' => 'SL_', 'libelle' => 'gdgdf', 'si' => 'LBP' ), array( 'code_sni' => 'ALP', 'libelle' => 'sqqdqgdgdsfsdf', 'si' => 'RLP' ) ); function implode_array_values($key,$input) { return implode(', ', array_map(function($entry) use ($key) { return $entry[$key]; }, $input)); } var_dump(implode_array_values('code_sni',$input)); echo count($input);
Output for git.master_jit, git.master, rfc.property-hooks
string(8) "SL_, ALP" 2

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