3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = $_POST["email"]; $to = "george.cojanu@swisogroup.ro"; $subject = "DEZABONARE NEWSLETTER"; $body = $email; if (mail($to, $subject, $body)) { echo("<p>Email successfully sent!</p>"); } else { echo("<p>Email delivery failed…</p>"); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kR9hl
function name:  (null)
number of ops:  16
compiled vars:  !0 = $email, !1 = $to, !2 = $subject, !3 = $body
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      global              ~4      '_POST'
          1        FETCH_DIM_R                                      ~5      ~4, 'email'
          2        ASSIGN                                                   !0, ~5
    4     3        ASSIGN                                                   !1, 'george.cojanu%40swisogroup.ro'
    5     4        ASSIGN                                                   !2, 'DEZABONARE+NEWSLETTER'
    6     5        ASSIGN                                                   !3, !0
    7     6        INIT_FCALL                                               'mail'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !2
          9        SEND_VAR                                                 !3
         10        DO_ICALL                                         $10     
         11      > JMPZ                                                     $10, ->14
    8    12    >   ECHO                                                     '%3Cp%3EEmail+successfully+sent%21%3C%2Fp%3E'
         13      > JMP                                                      ->15
   10    14    >   ECHO                                                     '%3Cp%3EEmail+delivery+failed%E2%80%A6%3C%2Fp%3E'
   13    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.36 ms | 1386 KiB | 15 Q