3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sample Page Name</title> </head> <body> <h1>This is a heading 1 - it's big</h1> <h2>This is a smaller heading.</h2> <p>This is paragraph text. It's more of a normal size.</p> <p>Check out the math that is being calculated by PHP below...</p> <?php $int1 = 1; $int2 = 3; $sum = $int1 + $int2; echo $sum . " - that's the sum of: " . $int1 . " and " . $int2 . "."; ?> <p>Hope that makes sense!</p> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QBFaK
function name:  (null)
number of ops:  13
compiled vars:  !0 = $int1, !1 = $int2, !2 = $sum
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml+xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0A%3Chead%3E%0A%3Cmeta+http-equiv%3D%22Content-Type%22+content%3D%22text%2Fhtml%3B+charset%3Dutf-8%22+%2F%3E%0A%3Ctitle%3ESample+Page+Name%3C%2Ftitle%3E%0A%3C%2Fhead%3E%0A%0A%3Cbody%3E%0A%3Ch1%3EThis+is+a+heading+1+-+it%27s+big%3C%2Fh1%3E%0A%3Ch2%3EThis+is+a+smaller+heading.%3C%2Fh2%3E%0A%3Cp%3EThis+is+paragraph+text.+It%27s+more+of+a+normal+size.%3C%2Fp%3E%0A%3Cp%3ECheck+out+the+math+that+is+being+calculated+by+PHP+below...%3C%2Fp%3E%0A%0A'
   15     1        ASSIGN                                                   !0, 1
   16     2        ASSIGN                                                   !1, 3
   17     3        ADD                                              ~5      !0, !1
          4        ASSIGN                                                   !2, ~5
   19     5        CONCAT                                           ~7      !2, '+-+that%27s+the+sum+of%3A+'
          6        CONCAT                                           ~8      ~7, !0
          7        CONCAT                                           ~9      ~8, '+and+'
          8        CONCAT                                           ~10     ~9, !1
          9        CONCAT                                           ~11     ~10, '.'
         10        ECHO                                                     ~11
   21    11        ECHO                                                     '%0A%3Cp%3EHope+that+makes+sense%21%3C%2Fp%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   24    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.53 ms | 1393 KiB | 13 Q