3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1 = range(2, 4048, 2); $a2 = range(4, 8096, 4); $a3 = array_diff($a1, $a2); print_r($a3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LfvDG
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a1, !1 = $a2, !2 = $a3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 2
          2        SEND_VAL                                                 4048
          3        SEND_VAL                                                 2
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !0, $3
    4     6        INIT_FCALL                                               'range'
          7        SEND_VAL                                                 4
          8        SEND_VAL                                                 8096
          9        SEND_VAL                                                 4
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    5    12        INIT_FCALL                                               'array_diff'
         13        SEND_VAR                                                 !0
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $7      
         16        ASSIGN                                                   !2, $7
    7    17        INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.55 ms | 1395 KiB | 19 Q