3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = json_decode(' {"cost": null, "receiptNumber": null, "receiptType": null, "labNo": 596726, "parentLabNo": 0, "investigation": "BS for mps", "patient": { "id": 168967, "fullName": "UVOGIN", "dateOfBirth": "1972-04-04 00:00:00", "gender": "Male" }, "address": { "address": null, "postalCode": null, "phoneNumber": "", "city": null } }'); var_dump(array($x));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vq6aq
function name:  (null)
number of ops:  9
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '+%7B%22cost%22%3A+null%2C%0A++++++++++++%22receiptNumber%22%3A+null%2C%0A++++++++++++%22receiptType%22%3A+null%2C%0A++++++++++++%22labNo%22%3A+596726%2C%0A++++++++++++%22parentLabNo%22%3A+0%2C%0A++++++++++++%22investigation%22%3A+%22BS+for+mps%22%2C%0A++++++++++++%22patient%22%3A+%7B%0A++++++++++++++++%22id%22%3A+168967%2C%0A++++++++++++++++%22fullName%22%3A+%22UVOGIN%22%2C%0A++++++++++++++++%22dateOfBirth%22%3A+%221972-04-04+00%3A00%3A00%22%2C%0A++++++++++++++++%22gender%22%3A+%22Male%22%0A++++++++++++%7D%2C%0A++++++++++++%22address%22%3A+%7B%0A++++++++++++++++%22address%22%3A+null%2C%0A++++++++++++++++%22postalCode%22%3A+null%2C%0A++++++++++++++++%22phoneNumber%22%3A+%22%22%2C%0A++++++++++++++++%22city%22%3A+null%0A++++++++++++%7D%0A++++++++%7D'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
   23     4        INIT_FCALL                                               'var_dump'
          5        INIT_ARRAY                                       ~3      !0
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.5 ms | 1394 KiB | 17 Q