3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.75 ms | 1394 KiB | 17 Q