3v4l.org

run code in 300+ PHP versions simultaneously
<html> <body> <?php // receive the data and assign them to variables $cust=$_POST['customer']; $prod=$_POST['product']; $qty=$_POST['qty']; //print out the values echo "Your Order details are as follows<br>"; echo "Customer names : ". $cust."<br>"; echo "Product name:".$prod."<br>"; echo "Quantity ordered :".$qty."<br>"; ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/91NtT
function name:  (null)
number of ops:  22
compiled vars:  !0 = $cust, !1 = $prod, !2 = $qty
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A%3Cbody%3E%0A++++'
    8     1        FETCH_R                      global              ~3      '_POST'
          2        FETCH_DIM_R                                      ~4      ~3, 'customer'
          3        ASSIGN                                                   !0, ~4
    9     4        FETCH_R                      global              ~6      '_POST'
          5        FETCH_DIM_R                                      ~7      ~6, 'product'
          6        ASSIGN                                                   !1, ~7
   10     7        FETCH_R                      global              ~9      '_POST'
          8        FETCH_DIM_R                                      ~10     ~9, 'qty'
          9        ASSIGN                                                   !2, ~10
   14    10        ECHO                                                     'Your+Order+details+are+as+follows%3Cbr%3E'
   16    11        CONCAT                                           ~12     'Customer+names+%3A+', !0
         12        CONCAT                                           ~13     ~12, '%3Cbr%3E'
         13        ECHO                                                     ~13
   17    14        CONCAT                                           ~14     'Product+name%3A', !1
         15        CONCAT                                           ~15     ~14, '%3Cbr%3E'
         16        ECHO                                                     ~15
   18    17        CONCAT                                           ~16     'Quantity+ordered+%3A', !2
         18        CONCAT                                           ~17     ~16, '%3Cbr%3E'
         19        ECHO                                                     ~17
   22    20        ECHO                                                     '%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   23    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.96 ms | 1393 KiB | 13 Q