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, true); 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/1Ms2h
function name:  (null)
number of ops:  17
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        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   10     6        UNSET_DIM                                                !1, 0
   12     7        INIT_FCALL                                               'array_values'
          8        CAST                                          7  ~6      !1
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
   14    12        INIT_FCALL                                               'json_encode'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                         $9      
         15        ECHO                                                     $9
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.79 ms | 1395 KiB | 19 Q