3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.62 ms | 1393 KiB | 15 Q