3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first_name = "{'first_name' : 'Parag'}"; $last_name = "{'last_name' : 'Tyagi'}"; $phone_number = "{'phone_number' : '9999999999'}"; $data['f_name'] = json_decode($first_name, TRUE); $data['l_name'] = json_decode($last_name, TRUE); $data['p_no'] = json_decode($phone_number, TRUE); print_r($data);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [f_name] => [l_name] => [p_no] => )

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:
44.3 ms | 401 KiB | 8 Q