3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = array('a'=>1,'a'=>2,'b'=>3); $t = json_decode(''); echo print_r(gettype($t), true)." -- ".print_r($t, true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i7M9s
function name:  (null)
number of ops:  18
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAL                                                 ''
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    5     5        INIT_FCALL                                               'print_r'
          6        GET_TYPE                                         ~4      !0
          7        SEND_VAL                                                 ~4
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $5      
         10        CONCAT                                           ~6      $5, '+--+'
         11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $7      
         15        CONCAT                                           ~8      ~6, $7
         16        ECHO                                                     ~8
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.24 ms | 1394 KiB | 17 Q