3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "http://pics.top.rbc.ru/top_pics/uniora/123456"; if ("http://pics.top.rbc.ru/top_pics/uniora/" == substr($str, 0, 39)) { print_r('Bingo!'); } else { print_r($str); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MgU8e
function name:  (null)
number of ops:  16
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fpics.top.rbc.ru%2Ftop_pics%2Funiora%2F123456'
    5     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 39
          5        DO_ICALL                                         $2      
          6        IS_EQUAL                                                 $2, 'http%3A%2F%2Fpics.top.rbc.ru%2Ftop_pics%2Funiora%2F'
          7      > JMPZ                                                     ~3, ->12
    7     8    >   INIT_FCALL                                               'print_r'
          9        SEND_VAL                                                 'Bingo%21'
         10        DO_ICALL                                                 
         11      > JMP                                                      ->15
   11    12    >   INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
   12    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.32 ms | 1394 KiB | 17 Q