3v4l.org

run code in 300+ PHP versions simultaneously
<?php $varToFilter = "2555tadshasgdsdg"; $test = filter_var($varToFilter, FILTER_SANITIZE_STRING); $test = filter_var($test, FILTER_SANITIZE_NUMBER_INT); var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vAiiQ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $varToFilter, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2555tadshasgdsdg'
    7     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 513
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    8     6        INIT_FCALL                                               'filter_var'
          7        SEND_VAR                                                 !1
          8        SEND_VAL                                                 519
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
   12    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.2 ms | 1394 KiB | 17 Q