3v4l.org

run code in 300+ PHP versions simultaneously
<?php $link = "http://www.furaffinity.net/view/16325769/#cid:95209971"; if(ereg("^(https?:\/\/)?(www\.)?[a-zA-Z0-9\+\-\&\#\@\/\%\?\=\~\_\.\:]+$", $link)){ echo "si"; }else{ echo "no"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1e2dt
function name:  (null)
number of ops:  10
compiled vars:  !0 = $link
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.furaffinity.net%2Fview%2F16325769%2F%23cid%3A95209971'
    4     1        INIT_FCALL_BY_NAME                                       'ereg'
          2        SEND_VAL_EX                                              '%5E%28https%3F%3A%5C%2F%5C%2F%29%3F%28www%5C.%29%3F%5Ba-zA-Z0-9%5C%2B%5C-%5C%26%5C%23%5C%40%5C%2F%5C%25%5C%3F%5C%3D%5C%7E%5C_%5C.%5C%3A%5D%2B%24'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0  $2      
          5      > JMPZ                                                     $2, ->8
    5     6    >   ECHO                                                     'si'
          7      > JMP                                                      ->9
    7     8    >   ECHO                                                     'no'
    8     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.39 ms | 1392 KiB | 13 Q