3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curso="RUI"; $nome="RUI"; $morada="RUI"; $contacto="RUI"; $email="RUI"; $profissional="RUI"; $email_from = 'geral@cooperativa-agricola.pt'; $email_subject = "Coonfagri-Novo Candidato"; $email_body ="Candidato ao Curso de $curso.\Nome : $nome\n Morada : $morada\n Contacto : $contacto\n Email : $email\n Regime : $profissional "; $to = "ruipinheiro65@hotmail.com"; $headers = "From: $email_from \r\n"; $headers .= "Reply-To: $email \r\n"; mail($to,$email_subject,$email_body,$headers); header('Location: www.cooperativa-agricola.pt');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YnjHJ
function name:  (null)
number of ops:  41
compiled vars:  !0 = $curso, !1 = $nome, !2 = $morada, !3 = $contacto, !4 = $email, !5 = $profissional, !6 = $email_from, !7 = $email_subject, !8 = $email_body, !9 = $to, !10 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'RUI'
    3     1        ASSIGN                                                   !1, 'RUI'
    4     2        ASSIGN                                                   !2, 'RUI'
    5     3        ASSIGN                                                   !3, 'RUI'
    6     4        ASSIGN                                                   !4, 'RUI'
    7     5        ASSIGN                                                   !5, 'RUI'
   12     6        ASSIGN                                                   !6, 'geral%40cooperativa-agricola.pt'
   14     7        ASSIGN                                                   !7, 'Coonfagri-Novo+Candidato'
   16     8        ROPE_INIT                                    13  ~20     'Candidato+ao+Curso+de+'
          9        ROPE_ADD                                      1  ~20     ~20, !0
         10        ROPE_ADD                                      2  ~20     ~20, '.%5CNome+%3A+'
         11        ROPE_ADD                                      3  ~20     ~20, !1
         12        ROPE_ADD                                      4  ~20     ~20, '%0A+Morada+%3A+'
         13        ROPE_ADD                                      5  ~20     ~20, !2
         14        ROPE_ADD                                      6  ~20     ~20, '%0A+Contacto+%3A+'
         15        ROPE_ADD                                      7  ~20     ~20, !3
         16        ROPE_ADD                                      8  ~20     ~20, '%0A+Email+%3A+'
         17        ROPE_ADD                                      9  ~20     ~20, !4
         18        ROPE_ADD                                     10  ~20     ~20, '%0A+Regime+%3A+'
         19        ROPE_ADD                                     11  ~20     ~20, !5
         20        ROPE_END                                     12  ~19     ~20, '+'
         21        ASSIGN                                                   !8, ~19
   19    22        ASSIGN                                                   !9, 'ruipinheiro65%40hotmail.com'
   21    23        ROPE_INIT                                     3  ~30     'From%3A+'
         24        ROPE_ADD                                      1  ~30     ~30, !6
         25        ROPE_END                                      2  ~29     ~30, '+%0D%0A'
         26        ASSIGN                                                   !10, ~29
   23    27        ROPE_INIT                                     3  ~34     'Reply-To%3A+'
         28        ROPE_ADD                                      1  ~34     ~34, !4
         29        ROPE_END                                      2  ~33     ~34, '+%0D%0A'
         30        ASSIGN_OP                                     8          !10, ~33
   25    31        INIT_FCALL                                               'mail'
         32        SEND_VAR                                                 !9
         33        SEND_VAR                                                 !7
         34        SEND_VAR                                                 !8
         35        SEND_VAR                                                 !10
         36        DO_ICALL                                                 
   26    37        INIT_FCALL                                               'header'
         38        SEND_VAL                                                 'Location%3A+www.cooperativa-agricola.pt'
         39        DO_ICALL                                                 
         40      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.84 ms | 1405 KiB | 17 Q