3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = array("@[а-я]@"); $r = array("*"); $fam = "Перегудов"; echo preg_replace("@[а-я]@", "*", $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/jkAEh
function name:  (null)
number of ops:  10
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_VAL                                                 '%40%5B%D0%B0-%D1%8F%5D%40'
          5        SEND_VAL                                                 '%2A'
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $6      
          8        ECHO                                                     $6
    6     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
293.39 ms | 1394 KiB | 16 Q