3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = 6; $list = [ '1楼', '2楼', '3楼', '4楼', '5楼', ]; $list = array_flip( array_map(function($key) use ($start) { return $start + (int)$key; }, array_flip($list)) ); var_dump($list);
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { [6]=> string(4) "1楼" [7]=> string(4) "2楼" [8]=> string(4) "3楼" [9]=> string(4) "4楼" [10]=> string(4) "5楼" }

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