3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = 'Fooo <!--NOCACHE_START DEV_PROFILING--> <div class="box box-bdr pam mtm" id="dev_ProfilingButton"> <div class="h3">Profiling (<?php echo(round((microtime(true) - ALI <!--NOCACHE_END--> bar'; $pattern = '/<!--NOCACHE_START ([A-Za-z_])+-->.*<!--NOCACHE_END-->/'; $replace = '{$1}'; echo preg_replace($pattern, $replace, $subject);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jBLOS
function name:  (null)
number of ops:  10
compiled vars:  !0 = $subject, !1 = $pattern, !2 = $replace
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Fooo%0A%3C%21--NOCACHE_START+DEV_PROFILING--%3E%0A%3Cdiv+class%3D%22box+box-bdr+pam+mtm%22+id%3D%22dev_ProfilingButton%22%3E%0A%09%3Cdiv+class%3D%22h3%22%3EProfiling+%28%3C%3Fphp+echo%28round%28%28microtime%28true%29+-+ALI%0A%0A%3C%21--NOCACHE_END--%3E%0A%0Abar'
   12     1        ASSIGN                                                   !1, '%2F%3C%21--NOCACHE_START+%28%5BA-Za-z_%5D%29%2B--%3E.%2A%3C%21--NOCACHE_END--%3E%2F'
   15     2        ASSIGN                                                   !2, '%7B%241%7D'
   17     3        INIT_FCALL                                               'preg_replace'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !2
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ECHO                                                     $6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.93 ms | 1385 KiB | 15 Q