3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"rows":[{"c":[{"v":"Date(1409052482000)"},{"v":22},{"v":22},{"v":22},{"v":null}]}, {"c":[{"v":"Date(1409052614000)"},{"v":22},{"v":22},{"v":22},{"v":null}]}, {"c":[{"v":"Date(1409052782000)"},{"v":22},{"v":22},{"v":22},{"v":null}]} ]}'; $value = json_decode($json); unset($value[0]); $newvalue = array_values((array)$value); echo json_encode($newvalue);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9dfkv
function name:  (null)
number of ops:  16
compiled vars:  !0 = $json, !1 = $value, !2 = $newvalue
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22rows%22%3A%5B%7B%22c%22%3A%5B%7B%22v%22%3A%22Date%281409052482000%29%22%7D%2C%7B%22v%22%3A22%7D%2C%7B%22v%22%3A22%7D%2C%7B%22v%22%3A22%7D%2C%7B%22v%22%3Anull%7D%5D%7D%2C%0A%7B%22c%22%3A%5B%7B%22v%22%3A%22Date%281409052614000%29%22%7D%2C%7B%22v%22%3A22%7D%2C%7B%22v%22%3A22%7D%2C%7B%22v%22%3A22%7D%2C%7B%22v%22%3Anull%7D%5D%7D%2C%0A%7B%22c%22%3A%5B%7B%22v%22%3A%22Date%281409052782000%29%22%7D%2C%7B%22v%22%3A22%7D%2C%7B%22v%22%3A22%7D%2C%7B%22v%22%3A22%7D%2C%7B%22v%22%3Anull%7D%5D%7D%0A%5D%7D'
    8     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
   10     5        UNSET_DIM                                                !1, 0
   12     6        INIT_FCALL                                               'array_values'
          7        CAST                                          7  ~6      !1
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                         $7      
         10        ASSIGN                                                   !2, $7
   14    11        INIT_FCALL                                               'json_encode'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $9      
         14        ECHO                                                     $9
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.37 ms | 1395 KiB | 19 Q