3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'pascal@superpencil.com'; $content = stripslashes("I'm a little piggy"); $name = "Harry Potter"; $sender = "harry@hogwarts.co.uk"; $subject = stripslashes("I'm a little piggy"); $headers = stripslashes("From: $name "."<".$sender.">\r\n"); mail($email, $subject, $content, $headers);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k1Xas
function name:  (null)
number of ops:  28
compiled vars:  !0 = $email, !1 = $content, !2 = $name, !3 = $sender, !4 = $subject, !5 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'pascal%40superpencil.com'
    3     1        INIT_FCALL                                               'stripslashes'
          2        SEND_VAL                                                 'I%27m+a+little+piggy'
          3        DO_ICALL                                         $7      
          4        ASSIGN                                                   !1, $7
    4     5        ASSIGN                                                   !2, 'Harry+Potter'
    5     6        ASSIGN                                                   !3, 'harry%40hogwarts.co.uk'
    6     7        INIT_FCALL                                               'stripslashes'
          8        SEND_VAL                                                 'I%27m+a+little+piggy'
          9        DO_ICALL                                         $11     
         10        ASSIGN                                                   !4, $11
    7    11        INIT_FCALL                                               'stripslashes'
         12        ROPE_INIT                                     3  ~14     'From%3A+'
         13        ROPE_ADD                                      1  ~14     ~14, !2
         14        ROPE_END                                      2  ~13     ~14, '+'
         15        CONCAT                                           ~16     ~13, '%3C'
         16        CONCAT                                           ~17     ~16, !3
         17        CONCAT                                           ~18     ~17, '%3E%0D%0A'
         18        SEND_VAL                                                 ~18
         19        DO_ICALL                                         $19     
         20        ASSIGN                                                   !5, $19
    8    21        INIT_FCALL                                               'mail'
         22        SEND_VAR                                                 !0
         23        SEND_VAR                                                 !4
         24        SEND_VAR                                                 !1
         25        SEND_VAR                                                 !5
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.32 ms | 1395 KiB | 17 Q