3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path = 'http://apache/www.posters.cz/js/default.js'; $stuff = ""; if(strpos($path, 'http://') !== false) { $post = explode("/", $path); } var_dump($post);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/o2iS6
function name:  (null)
number of ops:  17
compiled vars:  !0 = $path, !1 = $stuff, !2 = $post
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fapache%2Fwww.posters.cz%2Fjs%2Fdefault.js'
    3     1        ASSIGN                                                   !1, ''
    5     2        INIT_FCALL                                               'strpos'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 'http%3A%2F%2F'
          5        DO_ICALL                                         $5      
          6        TYPE_CHECK                                  1018          $5
          7      > JMPZ                                                     ~6, ->13
    6     8    >   INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '%2F'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !2, $7
   10    13    >   INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.3 ms | 1394 KiB | 19 Q