3v4l.org

run code in 300+ PHP versions simultaneously
<?php //setlocale(LC_ALL, 'ru_RU.UTF-8'); echo preg_replace('#(*UTF8)\w#', '<|$0|>', 'пхп') . PHP_EOL; echo PCRE_VERSION . PHP_EOL; echo setlocale(LC_ALL, 0); //print_r(preg_last_error());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b94Km
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%23%28%2AUTF8%29%5Cw%23'
          2        SEND_VAL                                                 '%3C%7C%240%7C%3E'
          3        SEND_VAL                                                 '%D0%BF%D1%85%D0%BF'
          4        DO_ICALL                                         $0      
          5        CONCAT                                           ~1      $0, '%0A'
          6        ECHO                                                     ~1
    4     7        ECHO                                                     '10.35+2020-05-09%0A'
    5     8        INIT_FCALL                                               'setlocale'
          9        SEND_VAL                                                 6
         10        SEND_VAL                                                 0
         11        DO_ICALL                                         $2      
         12        ECHO                                                     $2
    6    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.39 ms | 1394 KiB | 17 Q