3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.05 ms | 1394 KiB | 19 Q