3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace('/(*UCP)\b/', '<$0>', 'and рублей').PHP_EOL; echo preg_replace('/(*UTF8)\b/', '<$0>', 'and рублей').PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A2tQV
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2F%28%2AUCP%29%5Cb%2F'
          2        SEND_VAL                                                 '%3C%240%3E'
          3        SEND_VAL                                                 'and+%D1%80%D1%83%D0%B1%D0%BB%D0%B5%D0%B9'
          4        DO_ICALL                                         $0      
          5        CONCAT                                           ~1      $0, '%0A'
          6        ECHO                                                     ~1
    3     7        INIT_FCALL                                               'preg_replace'
          8        SEND_VAL                                                 '%2F%28%2AUTF8%29%5Cb%2F'
          9        SEND_VAL                                                 '%3C%240%3E'
         10        SEND_VAL                                                 'and+%D1%80%D1%83%D0%B1%D0%BB%D0%B5%D0%B9'
         11        DO_ICALL                                         $2      
         12        CONCAT                                           ~3      $2, '%0A'
         13        ECHO                                                     ~3
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.55 ms | 1394 KiB | 15 Q