3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pat = '\<front_page\>(.*)\<\/front_page\>\<\!-- /SLIDER --\>'; $sub = '\1'; $code = '<front_page><!-- ABECADŁO -->[%homebanner%]</front_page> <!-- /SLIDER --> <!-- BREADCRUMBS --> <!-- /BREADCRUMBS --> <!-- CONTENT --> <div id="content" class="clear"> <div class="wrapper"> <div id="mc" class="clear"> <no_front_page> <div id="ls"> [%left_side%] </div> <div id="ms"> [%mid_side%] </div> </no_front_page> <!-- ABECADŁO 2 --> <front_page> <div id="ms" class="fullpage"> [%mid_side%] </div> </front_page>'; mb_regex_encoding('UTF-8'); $code = mb_ereg_replace($pat, $sub, $code); var_dump($code);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Xcpm
function name:  (null)
number of ops:  16
compiled vars:  !0 = $pat, !1 = $sub, !2 = $code
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%5C%3Cfront_page%5C%3E%28.%2A%29%5C%3C%5C%2Ffront_page%5C%3E%5C%3C%5C%21--+%2FSLIDER+--%5C%3E'
    3     1        ASSIGN                                                   !1, '%5C1'
    4     2        ASSIGN                                                   !2, '%3Cfront_page%3E%3C%21--+ABECAD%C5%81O+--%3E%5B%25homebanner%25%5D%3C%2Ffront_page%3E%0A++++++++%3C%21--+%2FSLIDER+--%3E%0A++++++++%3C%21--+BREADCRUMBS+--%3E%0A++++++++%3C%21--+%2FBREADCRUMBS+--%3E%0A++++++++%3C%21--+CONTENT+--%3E%0A++++++++%3Cdiv+id%3D%22content%22+class%3D%22clear%22%3E%0A++++++++++++%3Cdiv+class%3D%22wrapper%22%3E%0A++++++++++++++++%3Cdiv+id%3D%22mc%22+class%3D%22clear%22%3E%0A++++++++++++++++++++%3Cno_front_page%3E%0A++++++++++++++++++++%3Cdiv+id%3D%22ls%22%3E%0A++++++++++++++++++++++++%5B%25left_side%25%5D%0A++++++++++++++++++++%3C%2Fdiv%3E%0A++++++++++++++++++++%3Cdiv+id%3D%22ms%22%3E%0A++++++++++++++++++++++++%5B%25mid_side%25%5D%0A++++++++++++++++++++%3C%2Fdiv%3E++++++++++++++++++++%0A++++++++++++++++++++%3C%2Fno_front_page%3E%0A++++++++++++++++++++%3C%21--+ABECAD%C5%81O+2+--%3E%0A++++++++++++++++++++%3Cfront_page%3E%0A++++++++++++++++++++++++%3Cdiv+id%3D%22ms%22+class%3D%22fullpage%22%3E%0A++++++++++++++++++++++++++++%5B%25mid_side%25%5D%0A++++++++++++++++++++++++%3C%2Fdiv%3E++%0A++++++++++++++++++++%3C%2Ffront_page%3E'
   26     3        INIT_FCALL                                               'mb_regex_encoding'
          4        SEND_VAL                                                 'UTF-8'
          5        DO_ICALL                                                 
   27     6        INIT_FCALL                                               'mb_ereg_replace'
          7        SEND_VAR                                                 !0
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
   28    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.83 ms | 1395 KiB | 19 Q