3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '["warna" => ["merah","hitam","navy"], "ukuran" => ["40","41","42","43", "44"]]'; eval('$foo = ' . $string . ' ;'); var_dump($foo);
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { ["warna"]=> array(3) { [0]=> string(5) "merah" [1]=> string(5) "hitam" [2]=> string(4) "navy" } ["ukuran"]=> array(5) { [0]=> string(2) "40" [1]=> string(2) "41" [2]=> string(2) "42" [3]=> string(2) "43" [4]=> string(2) "44" } }

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:
144.54 ms | 406 KiB | 5 Q