3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = json_decode(' { "statusCode": 200, "message": "Data Received", "0": { "id": "385", "fname": "arriet ", "lname": "ephania ", "email": "amym@mator.com", "mob": "9877" }, "1": { "id": "386", "fname": "Kelly ", "lname": "Echo ", "email": "sacen@mailinator.com", "mob": "1111" } } ', true); foreach ($arr as $key => $value) { var_dump(intval($key) === $key); if(intval($key) == $key){ //print_r($value); } }
Output for git.master, git.master_jit, rfc.property-hooks
bool(false) bool(false) bool(true) bool(true)

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:
117.72 ms | 405 KiB | 5 Q