3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ "primary" => "#6ca6d9", "success" => "#479d63", "info" => "#5bc0de", "warning" => "#F39124", "danger" => "#d9695f", "purple" => "#fd44c7", "light-blue" => "#00b3ec", "blue" => "#026d8f", "green" => "#9ac333", "red" => "#fe2c78", ]; $a = array_keys($array); var_dump(array_combine($a, $a));
Output for git.master, git.master_jit, rfc.property-hooks
array(10) { ["primary"]=> string(7) "primary" ["success"]=> string(7) "success" ["info"]=> string(4) "info" ["warning"]=> string(7) "warning" ["danger"]=> string(6) "danger" ["purple"]=> string(6) "purple" ["light-blue"]=> string(10) "light-blue" ["blue"]=> string(4) "blue" ["green"]=> string(5) "green" ["red"]=> string(3) "red" }

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