3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.3 ms | 1394 KiB | 17 Q