3v4l.org

run code in 300+ PHP versions simultaneously
<?php $confirmation_message = null; if($_POST['action']="process_email") { $email = $_POST['email']; $comment = $_POST['comment']; $confirmation_message = "Thank you for your submission"; $message = "Somebody with the email ".$email." submitted their email to you."; mail('jenny1truong@gmail.com', 'Web page submission', $message, 'From:obama@whitehouse.gov'); } else{ $confirmation_message = "Erm..."; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 22
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O9Y5H
function name:  (null)
number of ops:  24
compiled vars:  !0 = $confirmation_message, !1 = $email, !2 = $comment, !3 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    4     1        FETCH_W                      global              $5      '_POST'
          2        ASSIGN_DIM                                       ~6      $5, 'action'
          3        OP_DATA                                                  'process_email'
          4      > JMPZ                                                     ~6, ->22
    6     5    >   FETCH_R                      global              ~7      '_POST'
          6        FETCH_DIM_R                                      ~8      ~7, 'email'
          7        ASSIGN                                                   !1, ~8
    7     8        FETCH_R                      global              ~10     '_POST'
          9        FETCH_DIM_R                                      ~11     ~10, 'comment'
         10        ASSIGN                                                   !2, ~11
    8    11        ASSIGN                                                   !0, 'Thank+you+for+your+submission'
    9    12        CONCAT                                           ~14     'Somebody+with+the+email+', !1
         13        CONCAT                                           ~15     ~14, '+submitted+their+email+to+you.'
         14        ASSIGN                                                   !3, ~15
   11    15        INIT_FCALL                                               'mail'
         16        SEND_VAL                                                 'jenny1truong%40gmail.com'
         17        SEND_VAL                                                 'Web+page+submission'
         18        SEND_VAR                                                 !3
         19        SEND_VAL                                                 'From%3Aobama%40whitehouse.gov'
         20        DO_ICALL                                                 
         21      > JMP                                                      ->23
   14    22    >   ASSIGN                                                   !0, 'Erm...'
   16    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.61 ms | 1395 KiB | 15 Q