3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo showtest(); function showtest() { $output = ""; for ($i=1; $i < 500; $i++) { echo "adfadsf"; echo 3+4+5; echo "adfadsf2"; echo 3+4+5+6; echo "adfadsf3"; echo 3+4+5+7; echo "adfadsf4"; echo 3+4+5+8; echo "adfadsf5"; echo 3+4+5+9; /* $output .= "adfadsf"; $output .= 3+4+5; $output .= "adfadsf2"; $output .= 3+4+5+6; $output .= "adfadsf3"; $output .= 3+4+5+7; $output .= "adfadsf4"; $output .= 3+4+5+8; $output .= "adfadsf5"; $output .= 3+4+5+9; */ } echo $output; return output; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RELjk
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL_BY_NAME                                       'showtest'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
   37     3      > RETURN                                                   1

Function showtest:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 3
Branch analysis from position: 16
Branch analysis from position: 3
filename:       /in/RELjk
function name:  showtest
number of ops:  20
compiled vars:  !0 = $output, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ASSIGN                                                   !0, ''
    9     1        ASSIGN                                                   !1, 1
          2      > JMP                                                      ->14
   10     3    >   ECHO                                                     'adfadsf'
   11     4        ECHO                                                     12
   12     5        ECHO                                                     'adfadsf2'
   13     6        ECHO                                                     18
   14     7        ECHO                                                     'adfadsf3'
   15     8        ECHO                                                     19
   16     9        ECHO                                                     'adfadsf4'
   17    10        ECHO                                                     20
   18    11        ECHO                                                     'adfadsf5'
   19    12        ECHO                                                     21
    9    13        PRE_INC                                                  !1
         14    >   IS_SMALLER                                               !1, 500
         15      > JMPNZ                                                    ~5, ->3
   35    16    >   ECHO                                                     !0
   36    17        FETCH_CONSTANT                                   ~6      'output'
         18      > RETURN                                                   ~6
   37    19*     > RETURN                                                   null

End of function showtest

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.58 ms | 1395 KiB | 13 Q