3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'https://priorityplusqa.geiger.com'; $domain = explode('.', parse_url($str)[1]); var_dump($domain);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7fS4K
function name:  (null)
number of ops:  14
compiled vars:  !0 = $str, !1 = $domain
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fpriorityplusqa.geiger.com'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '.'
          3        INIT_FCALL                                               'parse_url'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        FETCH_DIM_R                                      ~4      $3, 1
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    5    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.91 ms | 1394 KiB | 19 Q