3v4l.org

run code in 500+ PHP versions simultaneously
<?php $savePath = 'tls://127.0.0.1:6379?auth=password&timeout=2.5'; $tryMatch = preg_match('#(?:(^.*)://)?([^:?]+)(?:\:(\d+))?(\?.+)?#', $savePath, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kM3JD
function name:  (null)
number of ops:  11
compiled vars:  !0 = $savePath, !1 = $tryMatch, !2 = $matches
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'tls%3A%2F%2F127.0.0.1%3A6379%3Fauth%3Dpassword%26timeout%3D2.5'
    4     1        INIT_FCALL                                                   'preg_match'
          2        SEND_VAL                                                     '%23%28%3F%3A%28%5E.%2A%29%3A%2F%2F%29%3F%28%5B%5E%3A%3F%5D%2B%29%28%3F%3A%5C%3A%28%5Cd%2B%29%29%3F%28%5C%3F.%2B%29%3F%23'
          3        SEND_VAR                                                     !0
          4        SEND_REF                                                     !2
          5        DO_ICALL                                             $4      
          6        ASSIGN                                                       !1, $4
    6     7        INIT_FCALL                                                   'var_dump'
          8        SEND_VAR                                                     !2
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
204.74 ms | 1793 KiB | 15 Q