3v4l.org

run code in 500+ PHP versions simultaneously
<?php $assoc = array ( array( 'prop1'=>'val1', 'prop2'=>'val2', ), array( 'prop1'=>'val1', 'prop2'=>'val2', ), ); var_export( json_decode(json_encode($assoc)) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lNGt1
function name:  (null)
number of ops:  11
compiled vars:  !0 = $assoc
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   15     1        INIT_FCALL                                                   'var_export'
   16     2        INIT_FCALL                                                   'json_decode'
          3        INIT_FCALL                                                   'json_encode'
          4        SEND_VAR                                                     !0
          5        DO_ICALL                                             $2      
          6        SEND_VAR                                                     $2
          7        DO_ICALL                                             $3      
          8        SEND_VAR                                                     $3
   15     9        DO_ICALL                                                     
   17    10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.12 ms | 2013 KiB | 16 Q