3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data['Recycle 32 Gallon'][] = 40; $data['Recycle 32 Gallon'][] = 50; echo json_encode($data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0YQS1
function name:  (null)
number of ops:  11
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_W                                      $1      !0, 'Recycle+32+Gallon'
          1        ASSIGN_DIM                                               $1
          2        OP_DATA                                                  40
    3     3        FETCH_DIM_W                                      $3      !0, 'Recycle+32+Gallon'
          4        ASSIGN_DIM                                               $3
          5        OP_DATA                                                  50
    4     6        INIT_FCALL                                               'json_encode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $5      
          9        ECHO                                                     $5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.73 ms | 1394 KiB | 15 Q