3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = ""; echo showtest(); function showtest() { 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/cKYJS
function name:  (null)
number of ops:  5
compiled vars:  !0 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
    5     1        INIT_FCALL_BY_NAME                                       'showtest'
          2        DO_FCALL                                      0  $2      
          3        ECHO                                                     $2
   36     4      > RETURN                                                   1

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

End of function showtest

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.3 ms | 1395 KiB | 13 Q