3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = preg_replace( '#(?P<block_comment><!--\s*+wp:\w+.*?-->\s*+)(?P<start_tag><[a-z][a-z0-9_:-]*+\s[^>]*+>)#s', 'replacement', '<!-- wp:paragraph -->' . str_repeat('a', 111101) ); $b = preg_replace( '#(?P<block_comment><!--\s*+wp:\w+.*?-->\s*+)(?P<start_tag><[a-z][a-z0-9_:-]*+\s[^>]*+>)#s', 'replacement', '<!-- wp:paragraph -->' . str_repeat('a', 111100) ); var_dump(compact('a', 'b'));

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/jWORF
function name:  (null)
number of ops:  24
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                                   'str_repeat'
          1        SEND_VAL                                                     'a'
          2        SEND_VAL                                                     111101
          3        DO_ICALL                                             $2      
          4        CONCAT                                               ~3      '%3C%21--+wp%3Aparagraph+--%3E', $2
    3     5        FRAMELESS_ICALL_3                preg_replace        ~4      '%23%28%3FP%3Cblock_comment%3E%3C%21--%5Cs%2A%2Bwp%3A%5Cw%2B.%2A%3F--%3E%5Cs%2A%2B%29%28%3FP%3Cstart_tag%3E%3C%5Ba-z%5D%5Ba-z0-9_%3A-%5D%2A%2B%5Cs%5B%5E%3E%5D%2A%2B%3E%29%23s', 'replacement'
    6     6        OP_DATA                                                      ~3
    3     7        ASSIGN                                                       !0, ~4
   12     8        INIT_FCALL                                                   'str_repeat'
          9        SEND_VAL                                                     'a'
         10        SEND_VAL                                                     111100
         11        DO_ICALL                                             $6      
         12        CONCAT                                               ~7      '%3C%21--+wp%3Aparagraph+--%3E', $6
    9    13        FRAMELESS_ICALL_3                preg_replace        ~8      '%23%28%3FP%3Cblock_comment%3E%3C%21--%5Cs%2A%2Bwp%3A%5Cw%2B.%2A%3F--%3E%5Cs%2A%2B%29%28%3FP%3Cstart_tag%3E%3C%5Ba-z%5D%5Ba-z0-9_%3A-%5D%2A%2B%5Cs%5B%5E%3E%5D%2A%2B%3E%29%23s', 'replacement'
   12    14        OP_DATA                                                      ~7
    9    15        ASSIGN                                                       !1, ~8
   15    16        INIT_FCALL                                                   'var_dump'
         17        INIT_FCALL                                                   'compact'
         18        SEND_VAL                                                     'a'
         19        SEND_VAL                                                     'b'
         20        DO_ICALL                                             $10     
         21        SEND_VAR                                                     $10
         22        DO_ICALL                                                     
         23      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
201.86 ms | 8689 KiB | 17 Q