3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = <<<EOD <span style="cursor:pointer" class="sw1" onclick="document.location='/logout'" onmouseover="hint('<center>До конца действия: 237 д. 0 ч.</center>', this, 75,125)"><center>До конца действия: 238 д. 0 ч.</center></span> EOD; for ($i = 0; $i<= 100; ++$i) { $first = preg_replace('/.*\<center>/', '', $content); $second = preg_replace('/<\/center\>.*/', '', $first); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 3
Branch analysis from position: 18
Branch analysis from position: 3
filename:       /in/NnMNE
function name:  (null)
number of ops:  19
compiled vars:  !0 = $content, !1 = $i, !2 = $first, !3 = $second
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Cspan+style%3D%22cursor%3Apointer%22+class%3D%22sw1%22+onclick%3D%22document.location%3D%27%2Flogout%27%22+onmouseover%3D%22hint%28%27%3Ccenter%3E%D0%94%D0%BE+%D0%BA%D0%BE%D0%BD%D1%86%D0%B0+%D0%B4%D0%B5%D0%B9%D1%81%D1%82%D0%B2%D0%B8%D1%8F%3A+237+%D0%B4.+0+%D1%87.%3C%2Fcenter%3E%27%2C+this%2C+75%2C125%29%22%3E%3Ccenter%3E%D0%94%D0%BE+%D0%BA%D0%BE%D0%BD%D1%86%D0%B0+%D0%B4%D0%B5%D0%B9%D1%81%D1%82%D0%B2%D0%B8%D1%8F%3A+238+%D0%B4.+0+%D1%87.%3C%2Fcenter%3E%3C%2Fspan%3E'
    6     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->16
    7     3    >   INIT_FCALL                                               'preg_replace'
          4        SEND_VAL                                                 '%2F.%2A%5C%3Ccenter%3E%2F'
          5        SEND_VAL                                                 ''
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    8     9        INIT_FCALL                                               'preg_replace'
         10        SEND_VAL                                                 '%2F%3C%5C%2Fcenter%5C%3E.%2A%2F'
         11        SEND_VAL                                                 ''
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !3, $8
    6    15        PRE_INC                                                  !1
         16    >   IS_SMALLER_OR_EQUAL                                      !1, 100
         17      > JMPNZ                                                    ~11, ->3
    9    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.63 ms | 1400 KiB | 15 Q