3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://localhost/myweb/qanda/1/س"; var_dump(filter_var($url, FILTER_VALIDATE_URL));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0C5Wh
function name:  (null)
number of ops:  9
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Flocalhost%2Fmyweb%2Fqanda%2F1%2F%D8%B3'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'filter_var'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 273
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.7 ms | 1458 KiB | 15 Q