3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = filter_input(INPUT_GET, 'foo', FILTER_VALIDATE_INT, array( 'flags' => FILTER_REQUIRE_SCALAR + FILTER_EXCEPTION_ON_FAILURE, 'options' => array( 'min_range' => 5, 'max_range' => 42 ) )); var_dump($foo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nWUSe
function name:  (null)
number of ops:  15
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'filter_input'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 'foo'
          3        SEND_VAL                                                 257
    4     4        FETCH_CONSTANT                                   ~1      'FILTER_EXCEPTION_ON_FAILURE'
          5        ADD                                              ~2      33554432, ~1
          6        INIT_ARRAY                                       ~3      ~2, 'flags'
          7        ADD_ARRAY_ELEMENT                                ~3      <array>, 'options'
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
    3    10        ASSIGN                                                   !0, $4
   11    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.39 ms | 1394 KiB | 17 Q