3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_replace("/(<!)(?!\\s*(?:\\[if [^\\]]+]|<!|>))((?:(?!>).)*[^\\]])(-->)/is", "", "<!" . str_repeat("x", 99999) . "-->"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7JjZP
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%28%3C%21%29%28%3F%21%5Cs%2A%28%3F%3A%5C%5Bif+%5B%5E%5C%5D%5D%2B%5D%7C%3C%21%7C%3E%29%29%28%28%3F%3A%28%3F%21%3E%29.%29%2A%5B%5E%5C%5D%5D%29%28--%3E%29%2Fis'
          3        SEND_VAL                                                 ''
          4        INIT_FCALL                                               'str_repeat'
          5        SEND_VAL                                                 'x'
          6        SEND_VAL                                                 99999
          7        DO_ICALL                                         $0      
          8        CONCAT                                           ~1      '%3C%21', $0
          9        CONCAT                                           ~2      ~1, '--%3E'
         10        SEND_VAL                                                 ~2
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.75 ms | 1394 KiB | 19 Q