3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (0 === strpos($link, '=http')) $link = substr($link, strpos($link, '=http'));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 15
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/iDrCS
function name:  (null)
number of ops:  16
compiled vars:  !0 = $link
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'strpos'
          1        SEND_VAR                                                 !0
          2        SEND_VAL                                                 '%3Dhttp'
          3        DO_ICALL                                         $1      
          4        IS_IDENTICAL                                             $1, 0
          5      > JMPZ                                                     ~2, ->15
          6    >   INIT_FCALL                                               'substr'
          7        SEND_VAR                                                 !0
          8        INIT_FCALL                                               'strpos'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 '%3Dhttp'
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                         $4      
         14        ASSIGN                                                   !0, $4
         15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.04 ms | 1399 KiB | 17 Q