3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace("/[\/\\\^\[\]\.\$\{\}\*\+\(\)\|\?\<\>]/g", "\\$&", "^||$$^%^#5");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZfKbq
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2F%5B%5C%2F%5C%5C%5E%5C%5B%5C%5D%5C.%24%5C%7B%5C%7D%5C%2A%5C%2B%5C%28%5C%29%5C%7C%5C%3F%5C%3C%5C%3E%5D%2Fg'
          2        SEND_VAL                                                 '%5C%24%26'
          3        SEND_VAL                                                 '%5E%7C%7C%24%24%5E%25%5E%235'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.42 ms | 1393 KiB | 15 Q