3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( filter_var('te<st', FILTER_SANITIZE_STRING), filter_var('te<st>x', FILTER_SANITIZE_STRING), strip_tags('te<st') );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dLPn6
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAL                                                 'te%3Cst'
          3        FETCH_CONSTANT                                   ~0      'FILTER_SANITIZE_STRING'
          4        SEND_VAL                                                 ~0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
    5     7        INIT_FCALL                                               'filter_var'
          8        SEND_VAL                                                 'te%3Cst%3Ex'
          9        FETCH_CONSTANT                                   ~2      'FILTER_SANITIZE_STRING'
         10        SEND_VAL                                                 ~2
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
    6    13        INIT_FCALL                                               'strip_tags'
         14        SEND_VAL                                                 'te%3Cst'
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
    3    17        DO_ICALL                                                 
    7    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
253.24 ms | 1003 KiB | 16 Q