3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t1 = "http://fashion/ru/items/2"; $t2 = "http://fashion/logout"; //stripos 5.5.0 0,018 s 0,042 s 12,629 MiB | 5.5.0 0,025 s 0,068 s 12,631 MiB //strpos 5.5.0 0,011 s 0,048 s 12,633 MiB | 5.5.0 0,019 s 0,040 s 12,633 MiB //strripos 5.5.00,014 s 0,044 s 12,629 MiB | 5.5.0 0,010 s 0,049 s 12,633 MiB //strstr 5.5.0 0,029 s 0,092 s 12,633 MiB | 5.5.0 0,021 s 0,039 s 12,633 MiB if(mb_stristr($t2,"logout")){ echo "true"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/EphIE
function name:  (null)
number of ops:  9
compiled vars:  !0 = $t1, !1 = $t2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Ffashion%2Fru%2Fitems%2F2'
    4     1        ASSIGN                                                   !1, 'http%3A%2F%2Ffashion%2Flogout'
   10     2        INIT_FCALL                                               'mb_stristr'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 'logout'
          5        DO_ICALL                                         $4      
          6      > JMPZ                                                     $4, ->8
   11     7    >   ECHO                                                     'true'
   12     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.4 ms | 1385 KiB | 15 Q