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"}'; $form_data['firstname'] = json_decode($first_name, TRUE)['first_name']; $form_data['lastname'] = json_decode($last_name, TRUE)['last_name']; $form_data['number'] = json_decode($phone_number, TRUE)['phone_number']; print_r($data);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $data in /in/LTDke on line 10

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