3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$test = str_replace('-150wi', '', 'http://marriott2.typepad.com/.a/6a0128763ee05d970c01a511f170d1970c-150wi'); $test = strrchr('http://marriott2.typepad.com/.a/6a0128763ee05d970c01a511f170d1970c-150wi', '-'); var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kmku2
function name:  (null)
number of ops:  9
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'strrchr'
          1        SEND_VAL                                                 'http%3A%2F%2Fmarriott2.typepad.com%2F.a%2F6a0128763ee05d970c01a511f170d1970c-150wi'
          2        SEND_VAL                                                 '-'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    8     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.14 ms | 1394 KiB | 17 Q