3v4l.org

run code in 500+ PHP versions simultaneously
<?php $html = '<p>Paragraaf</p><h1>Kop 1</h1><h2>Kop 2</h2>'; echo $html; echo PHP_EOL; echo PHP_EOL; $html = preg_replace('#<p>.*<\/p>#','',$html); echo $html;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/itSkD
function name:  (null)
number of ops:  9
compiled vars:  !0 = $html
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%3Cp%3EParagraaf%3C%2Fp%3E%3Ch1%3EKop+1%3C%2Fh1%3E%3Ch2%3EKop+2%3C%2Fh2%3E'
    3     1        ECHO                                                         !0
    4     2        ECHO                                                         '%0A'
    5     3        ECHO                                                         '%0A'
    6     4        FRAMELESS_ICALL_3                preg_replace        ~2      '%23%3Cp%3E.%2A%3C%5C%2Fp%3E%23', ''
          5        OP_DATA                                                      !0
          6        ASSIGN                                                       !0, ~2
    7     7        ECHO                                                         !0
          8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
147.88 ms | 2466 KiB | 13 Q