3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace('/[¤]/u', 'Found!', 'ä') . "\n"; echo preg_match('/[¤]/u', 'ä');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R9vJZ
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2F%5B%C2%A4%5D%2Fu'
          2        SEND_VAL                                                 'Found%21'
          3        SEND_VAL                                                 '%C3%A4'
          4        DO_ICALL                                         $0      
          5        CONCAT                                           ~1      $0, '%0A'
          6        ECHO                                                     ~1
    4     7        INIT_FCALL                                               'preg_match'
          8        SEND_VAL                                                 '%2F%5B%C2%A4%5D%2Fu'
          9        SEND_VAL                                                 '%C3%A4'
         10        DO_ICALL                                         $2      
         11        ECHO                                                     $2
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.99 ms | 1394 KiB | 17 Q