3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( '1' => kasza ); var_dump(json_decode(json_encode($arr)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KCSIG
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_CONSTANT                                   ~1      'kasza'
          1        INIT_ARRAY                                       ~2      ~1, 1
    3     2        ASSIGN                                                   !0, ~2
    7     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'json_decode'
          5        INIT_FCALL                                               'json_encode'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.84 ms | 1394 KiB | 19 Q