3v4l.org

run code in 300+ PHP versions simultaneously
<?php $site = "http://hollandshielding.com/"; $url = parse_url($site); $hasSubdomain = preg_match('/(\w)\.(\w)\.(\w)/'); var_dump($subdomain);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e0X55
function name:  (null)
number of ops:  13
compiled vars:  !0 = $site, !1 = $url, !2 = $hasSubdomain, !3 = $subdomain
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fhollandshielding.com%2F'
    3     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    5     5        INIT_FCALL                                               'preg_match'
          6        SEND_VAL                                                 '%2F%28%5Cw%29%5C.%28%5Cw%29%5C.%28%5Cw%29%2F'
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !2, $7
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.7 ms | 1394 KiB | 19 Q