3v4l.org

run code in 300+ PHP versions simultaneously
<?php $geoIp = 'http://orlando.holaciudad.com/'; $url = preg_match('http:\/\/(.*)\/', $geoIp, $matches); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DI10W
function name:  (null)
number of ops:  11
compiled vars:  !0 = $geoIp, !1 = $url, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Forlando.holaciudad.com%2F'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 'http%3A%5C%2F%5C%2F%28.%2A%29%5C%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !2
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    4     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:
161.93 ms | 1394 KiB | 17 Q