3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fields = [ 'email' => '', 'gender' => '', 'birthday' => '', 'name' => '', 'country_code' => '', 'city' => '', 'photo' => '', 'created_at' => '', 'project' => '', ]; echo implode(',',array_map(function($f){return ':'.$f;}, array_keys($fields))); var_dump($fields);
Output for git.master, git.master_jit, rfc.property-hooks
:email,:gender,:birthday,:name,:country_code,:city,:photo,:created_at,:projectarray(9) { ["email"]=> string(0) "" ["gender"]=> string(0) "" ["birthday"]=> string(0) "" ["name"]=> string(0) "" ["country_code"]=> string(0) "" ["city"]=> string(0) "" ["photo"]=> string(0) "" ["created_at"]=> string(0) "" ["project"]=> string(0) "" }

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:
51.28 ms | 402 KiB | 8 Q