3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=10; $i>5; $i--){ echo $i."\n"; } $m = "that is a nice place"; eval($m); echo 'go'; ?> <!DOCTYPE html> <html><header> </header> <body> Name:<input type="text"/> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
Branch analysis from position: 2
filename:       /in/vQoTF
function name:  (null)
number of ops:  12
compiled vars:  !0 = $i, !1 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 10
          1      > JMP                                                      ->5
    3     2    >   CONCAT                                           ~3      !0, '%0A'
          3        ECHO                                                     ~3
    2     4        PRE_DEC                                                  !0
          5    >   IS_SMALLER                                               5, !0
          6      > JMPNZ                                                    ~5, ->2
    5     7    >   ASSIGN                                                   !1, 'that+is+a+nice+place'
    6     8        INCLUDE_OR_EVAL                                          !1, EVAL
    7     9        ECHO                                                     'go'
   11    10        ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%3Cheader%3E%0A++++%0A++++%0A++++%0A%3C%2Fheader%3E%0A%3Cbody%3E%0A++++%0A++++Name%3A%3Cinput+type%3D%22text%22%2F%3E%0A%3C%2Fbody%3E%0A%0A%3C%2Fhtml%3E'
   22    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156 ms | 1393 KiB | 13 Q