3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '052'; var_dump($a += 1); $c = array('052' => 'nanana'); $d = array(42 => 'batman'); var_dump(array_merge($c, $d));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Qu8Zo
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $c, !2 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '052'
    5     1        INIT_FCALL                                               'var_dump'
          2        ASSIGN_OP                                     1  ~4      !0, 1
          3        SEND_VAL                                                 ~4
          4        DO_ICALL                                                 
    7     5        ASSIGN                                                   !1, <array>
    8     6        ASSIGN                                                   !2, <array>
   10     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'array_merge'
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $8      
         12        SEND_VAR                                                 $8
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.7 ms | 1394 KiB | 17 Q