3v4l.org

run code in 500+ PHP versions simultaneously
<?php preg_replace('~(?>[\pZ\pC]+)$~u', '', str_repeat("\u{2029}", 20000));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QbJP1
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'str_repeat'
          1        SEND_VAL                                                     '%E2%80%A9'
          2        SEND_VAL                                                     20000
          3        DO_ICALL                                             $0      
          4        FRAMELESS_ICALL_3                preg_replace        ~1      '%7E%28%3F%3E%5B%5CpZ%5CpC%5D%2B%29%24%7Eu', ''
          5        OP_DATA                                                      $0
          6        FREE                                                         ~1
          7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
216.59 ms | 1582 KiB | 9 Q