3v4l.org

run code in 500+ PHP versions simultaneously
<?php echo preg_replace('~(?>[\pZ\pC]+)$~u', '', str_repeat(json_decode('"\u2029"'), 20000) . 'x');

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Wfc5
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'str_repeat'
          1        INIT_FCALL                                                   'json_decode'
          2        SEND_VAL                                                     '%22%5Cu2029%22'
          3        DO_ICALL                                             $0      
          4        SEND_VAR                                                     $0
          5        SEND_VAL                                                     20000
          6        DO_ICALL                                             $1      
          7        CONCAT                                               ~2      $1, 'x'
          8        FRAMELESS_ICALL_3                preg_replace        ~3      '%7E%28%3F%3E%5B%5CpZ%5CpC%5D%2B%29%24%7Eu', ''
          9        OP_DATA                                                      ~2
         10        ECHO                                                         ~3
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
173.4 ms | 7087 KiB | 10 Q