3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.51 ms | 1394 KiB | 19 Q