3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.02 ms | 1394 KiB | 19 Q