3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST = array( 'a' => '11', 'b' => 11, 'c' => 11, 'd' => null, 'e' => null, ); $to_delete = array(0 => false); print_r(array_diff($_POST, $to_delete)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BZVQn
function name:  (null)
number of ops:  12
compiled vars:  !0 = $to_delete
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $1      '_POST'
          1        ASSIGN                                                   $1, <array>
   10     2        ASSIGN                                                   !0, <array>
   11     3        INIT_FCALL                                               'print_r'
          4        INIT_FCALL                                               'array_diff'
          5        FETCH_R                      global              ~4      '_POST'
          6        SEND_VAL                                                 ~4
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
   12    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.98 ms | 1394 KiB | 17 Q