3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_replace('/<h1[^>]*>([\s\S]*?)<\/h1[^>]*>/', '', 'Hello<h1>including this content</h1> There !!');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SNZoL
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2F%3Ch1%5B%5E%3E%5D%2A%3E%28%5B%5Cs%5CS%5D%2A%3F%29%3C%5C%2Fh1%5B%5E%3E%5D%2A%3E%2F'
          2        SEND_VAL                                                 ''
          3        SEND_VAL                                                 'Hello%3Ch1%3Eincluding+this+content%3C%2Fh1%3E+There+%21%21'
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.91 ms | 1393 KiB | 15 Q