3v4l.org

run code in 300+ PHP versions simultaneously
<?php $proxy = "http://XDGC463:LaposteAphelion!@surf-sccc.pasi.log.intra.laposte.fr:8080"; $regexProxy = '/(?P<scheme>https?):\/\/((?P<username>[^:]+)(:(?P<password>.+))?@)?(?P<url>(?P<host>[a-z0-9\.-]+)(:(?P<port>\d+))?)/'; preg_match($regexProxy, $proxy, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0f73m
function name:  (null)
number of ops:  11
compiled vars:  !0 = $proxy, !1 = $regexProxy, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2FXDGC463%3ALaposteAphelion%21%40surf-sccc.pasi.log.intra.laposte.fr%3A8080'
    5     1        ASSIGN                                                   !1, '%2F%28%3FP%3Cscheme%3Ehttps%3F%29%3A%5C%2F%5C%2F%28%28%3FP%3Cusername%3E%5B%5E%3A%5D%2B%29%28%3A%28%3FP%3Cpassword%3E.%2B%29%29%3F%40%29%3F%28%3FP%3Curl%3E%28%3FP%3Chost%3E%5Ba-z0-9%5C.-%5D%2B%29%28%3A%28%3FP%3Cport%3E%5Cd%2B%29%29%3F%29%2F'
    6     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    8     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.46 ms | 1432 KiB | 15 Q