3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = array("@^.@", "@.@"); $r = array("Х", "*"); $fam = "Перегудов"; $fam = preg_replace($s, $r, $fam); //$fam = preg_replace("@^.@e", "", $fam); //$fam = preg_replace("@.@e", "-", $fam); echo $fam; //echo preg_replace($s, $r, $fam);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/T5RDU
function name:  (null)
number of ops:  11
compiled vars:  !0 = $s, !1 = $r, !2 = $fam
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, '%D0%9F%D0%B5%D1%80%D0%B5%D0%B3%D1%83%D0%B4%D0%BE%D0%B2'
    5     3        INIT_FCALL                                               'preg_replace'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    8     9        ECHO                                                     !2
    9    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.49 ms | 1394 KiB | 15 Q