3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( "2_1"=>"1", "2_2"=>"2", "2_3"=>"3" ); $arrr = array( "1_1"=>"_1", "1_2"=>$arr, "1_3"=>"Hello there!" ); echo json_ecode( $arrr ) ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1gOAI
function name:  (null)
number of ops:  10
compiled vars:  !0 = $arr, !1 = $arrr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_ARRAY                                       ~3      '_1', '1_1'
          2        ADD_ARRAY_ELEMENT                                ~3      !0, '1_2'
          3        ADD_ARRAY_ELEMENT                                ~3      'Hello+there%21', '1_3'
          4        ASSIGN                                                   !1, ~3
    5     5        INIT_FCALL_BY_NAME                                       'json_ecode'
          6        SEND_VAR_EX                                              !1
          7        DO_FCALL                                      0  $5      
          8        ECHO                                                     $5
    6     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.62 ms | 1392 KiB | 13 Q