3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = []; $innerkeyArray = ['{ "so info" : "By my signature below, I certify that all work has been performed to my satisfaction ", "updatedAt" : "2017-06-23T18:49:34 420 05:30", "formMetaData" : { "deviceMetaData" : { "freeDiskMb" : 563, "device" : "iPhone", "sdkRelease" : "10 2 1", "appVersion" : "4 8 7-S (161)", "appType" : "iOS", "totalMemoryMb" : 1048576000 }, "startFormTimeStamp" : "2017-06-23T18:49:25 374 05:30", "endFormTimeStamp" : "2017-06-23T18:49:34 422 05:30" }, "formId" : 147769, "cust first name" : "Shhs", "dispatchId" : 0, "formVersion" : 6, "cust last name" : "Hsh", "userId" : 110691, "userName" : "vishpatel9898@gmail com", "cust id" : "Jaja", "cust street" : "Hs", "displayReferenceValue" : "", "formName" : "vish - Sample-2", "sum subtotal" : 0, "sum total" : 0, "submissionId" : "f40b6089-018b-46ac-a57b-c1e96b1006e7", "cust company" : "Hsh", "sum other" : 0 }']; $array[$innerkeyArray] = ''; print_r($array);
Output for git.master, git.master_jit
Fatal error: Uncaught TypeError: Illegal offset type in /in/He8Di:36 Stack trace: #0 {main} thrown in /in/He8Di on line 36
Process exited with code 255.
Output for rfc.property-hooks
Fatal error: Uncaught TypeError: Cannot access offset of type array on array in /in/He8Di:36 Stack trace: #0 {main} thrown in /in/He8Di on line 36
Process exited with code 255.

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