3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{"adtNum":1,"blockPrice":0,"cabinNames":{"business":"公务舱","economy":"经济舱","first":"头等舱","lowest":"最低价","more":"更多优惠"}}'; var_dump(json_decode($str,JSON_UNESCAPED_UNICODE));
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { ["adtNum"]=> int(1) ["blockPrice"]=> int(0) ["cabinNames"]=> array(5) { ["business"]=> string(9) "公务舱" ["economy"]=> string(9) "经济舱" ["first"]=> string(9) "头等舱" ["lowest"]=> string(9) "最低价" ["more"]=> string(12) "更多优惠" } }

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