3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var1 = sort(array(213, 247, 221, 247, 220, 214, 203, 233, 330, 212, 238, 214, 213, 247, 221, 247, 220, 214, 203, 233)); $var2 = sort(array(307, 357, 319, 357, 317, 308, 293, 336, 476, 306, 343, 308, 307, 357, 319, 357, 317, 308, 293, 336)); print_r(array_diff($var1, $var2));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kM9dv
function name:  (null)
number of ops:  16
compiled vars:  !0 = $var1, !1 = $var2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'sort'
          1        SEND_VAL_EX                                              <array>
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        INIT_FCALL                                               'sort'
          5        SEND_VAL_EX                                              <array>
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    7     8        INIT_FCALL                                               'print_r'
          9        INIT_FCALL                                               'array_diff'
         10        SEND_VAR                                                 !0
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.71 ms | 1394 KiB | 19 Q