3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h = 'http://ori-regform.ru/ref/1885464'; $d = parse_url('test.ru'); var_dump($d); echo strpos($h,'/ref/');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/72skk
function name:  (null)
number of ops:  14
compiled vars:  !0 = $h, !1 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fori-regform.ru%2Fref%2F1885464'
    5     1        INIT_FCALL                                               'parse_url'
          2        SEND_VAL                                                 'test.ru'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    6     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'strpos'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 '%2Fref%2F'
         11        DO_ICALL                                         $6      
         12        ECHO                                                     $6
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.31 ms | 1394 KiB | 19 Q