3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $referer = str_replace("\/ru\/", "\/en\/", "http://fashion/ru/items/1");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fCChX
function name:  (null)
number of ops:  8
compiled vars:  !0 = $referer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'str_replace'
          1        SEND_VAL                                                 '%5C%2Fru%5C%2F'
          2        SEND_VAL                                                 '%5C%2Fen%5C%2F'
          3        SEND_VAL                                                 'http%3A%2F%2Ffashion%2Fru%2Fitems%2F1'
          4        DO_ICALL                                         $1      
          5        ASSIGN                                           ~2      !0, $1
          6        ECHO                                                     ~2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152 ms | 1385 KiB | 15 Q