3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var=101; $int_options = array("options"=> array("min_range"=>0, "max_range"=>100)); var_dump(filter_var($var, FILTER_VALIDATE_INT, $int_options));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KdZ0V
function name:  (null)
number of ops:  11
compiled vars:  !0 = $var, !1 = $int_options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 101
    3     1        ASSIGN                                                   !1, <array>
    6     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'filter_var'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 257
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.84 ms | 1394 KiB | 17 Q