3v4l.org

run code in 300+ PHP versions simultaneously
<?php $from = "amazo"; $to = "hamilton@camazo.com.br"; $subject = "PHP Mail Test script"; $message = "This is a test to check the PHP Mail functionality"; $headers = "From:" . $from; mail($to,$subject,$message, $headers); echo "Test email sent"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TspsY
function name:  (null)
number of ops:  14
compiled vars:  !0 = $from, !1 = $to, !2 = $subject, !3 = $message, !4 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'amazo'
    3     1        ASSIGN                                                   !1, 'hamilton%40camazo.com.br'
    4     2        ASSIGN                                                   !2, 'PHP+Mail+Test+script'
    5     3        ASSIGN                                                   !3, 'This+is+a+test+to+check+the+PHP+Mail+functionality'
    6     4        CONCAT                                           ~9      'From%3A', !0
          5        ASSIGN                                                   !4, ~9
    7     6        INIT_FCALL                                               'mail'
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !2
          9        SEND_VAR                                                 !3
         10        SEND_VAR                                                 !4
         11        DO_ICALL                                                 
    8    12        ECHO                                                     'Test+email+sent'
    9    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.31 ms | 1394 KiB | 15 Q