3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<<JSON { "a": { "a": "10", "q": "dumb text" }, "b": { "a": "23:00", "q": "dumb text" }, "c": { "a": null, "q": "dumb text" } } JSON; $decoded = json_decode($json); $array = array_values((array) $decoded); var_dump($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WI4en
function name:  (null)
number of ops:  14
compiled vars:  !0 = $json, !1 = $decoded, !2 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%0A++%22a%22%3A+%7B%0A++++%22a%22%3A+%2210%22%2C%0A++++%22q%22%3A+%22dumb+text%22%0A++%7D%2C%0A++%22b%22%3A+%7B%0A++++%22a%22%3A+%2223%3A00%22%2C%0A++++%22q%22%3A+%22dumb+text%22%0A++%7D%2C%0A++%22c%22%3A+%7B%0A++++%22a%22%3A+null%2C%0A++++%22q%22%3A+%22dumb+text%22%0A++%7D%0A%7D'
   20     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
   22     5        INIT_FCALL                                               'array_values'
          6        CAST                                          7  ~6      !1
          7        SEND_VAL                                                 ~6
          8        DO_ICALL                                         $7      
          9        ASSIGN                                                   !2, $7
   24    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.95 ms | 1001 KiB | 16 Q