3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( filter_var('example.org/wat',FILTER_VALIDATE_DOMAIN), filter_var('example.org/wat',FILTER_VALIDATE_DOMAIN,FILTER_FLAG_HOSTNAME) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QRW3K
function name:  (null)
number of ops:  14
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                                                 'example.org%2Fwat'
          3        SEND_VAL                                                 277
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
    5     6        INIT_FCALL                                               'filter_var'
          7        SEND_VAL                                                 'example.org%2Fwat'
          8        SEND_VAL                                                 277
          9        SEND_VAL                                                 1048576
         10        DO_ICALL                                         $1      
         11        SEND_VAR                                                 $1
         12        DO_ICALL                                                 
    6    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.66 ms | 1394 KiB | 17 Q