3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.ew.com/sites/default/files/1422469514/Never-Boy_GERARD%20WAY%20COVER.jpg'; 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/eqiSo
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%2Fwww.ew.com%2Fsites%2Fdefault%2Ffiles%2F1422469514%2FNever-Boy_GERARD%2520WAY%2520COVER.jpg'
    5     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:
170.02 ms | 1394 KiB | 17 Q