3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "https://plus.google.com/936565269562626365/about?hi=au"; $url1 = explode('com/',$url); $url2 = explode('/',$url1[1]); echo $url2[0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CEZvg
function name:  (null)
number of ops:  15
compiled vars:  !0 = $url, !1 = $url1, !2 = $url2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fplus.google.com%2F936565269562626365%2Fabout%3Fhi%3Dau'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 'com%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    4     6        INIT_FCALL                                               'explode'
          7        SEND_VAL                                                 '%2F'
          8        FETCH_DIM_R                                      ~6      !1, 1
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    5    12        FETCH_DIM_R                                      ~9      !2, 0
         13        ECHO                                                     ~9
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.5 ms | 1398 KiB | 15 Q