3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_ALL, 'ru_RU.cp1251'); echo preg_replace ('/\PL/iu', '_', 'ёйцукенгшщзхъфывапролджэячсмитьбю');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rfItI
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 'ru_RU.cp1251'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'preg_replace'
          5        SEND_VAL                                                 '%2F%5CPL%2Fiu'
          6        SEND_VAL                                                 '_'
          7        SEND_VAL                                                 '%D1%91%D0%B9%D1%86%D1%83%D0%BA%D0%B5%D0%BD%D0%B3%D1%88%D1%89%D0%B7%D1%85%D1%8A%D1%84%D1%8B%D0%B2%D0%B0%D0%BF%D1%80%D0%BE%D0%BB%D0%B4%D0%B6%D1%8D%D1%8F%D1%87%D1%81%D0%BC%D0%B8%D1%82%D1%8C%D0%B1%D1%8E'
          8        DO_ICALL                                         $1      
          9        ECHO                                                     $1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.19 ms | 1385 KiB | 17 Q