3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = "Delivered-To: tech@gynzy.com Received: by 10.76.22.228 with SMTP id h4csp404757oaf; Fri, 8 May 2015 04:27:34 -0700 (PDT) X-Received: by 10.194.176.225 with SMTP id cl1mr6240612wjc.45.1431084454326; Fri, 08 May 2015 04:27:34 -0700 (PDT) Return-Path: <> Received: from mailer.gynzy.com (mailer.gynzy.com. [178.237.33.10]) by mx.google.com with ESMTP id ei5si8668280wib.54.2015.05.08.04.27.33 for <tech@gynzy.com>; Fri, 08 May 2015 04:27:34 -0700 (PDT) Received-SPF: pass (google.com: domain of bounce@gynzy.com designates 178.237.33.10 as permitted sender) client-ip=178.237.33.10; Authentication-Results: mx.google.com; spf=pass (google.com: domain of bounce@gynzy.com designates 178.237.33.10 as permitted sender) smtp.mail=bounce@gynzy.com Delivered-To: bounce@gynzy.com X-Received: by 10.194.23.197 with SMTP id o5mr4443911wjf.75.1431084423907; Fri, 08 May 2015 04:27:03 -0700 (PDT) Received-SPF: none (google.com: ns3.gussinkloserver.nl does not designate permitted sender hosts) client-ip=2a02:cec0:10:6::1; Message-Id: <554c9d87.ee47c20a.3415.ffff863cSMTPIN_ADDED_MISSING@mx.google.com> Date: 8 May 2015 13:27:03 +0200 From: MAILER-DAEMON@gynzy.com (Mail Delivery System) To: bounce@gynzy.com Subject: BOUNCE SBMF - Brin(s): 03UB IT-coordinator email not received (bounced). (was failure notice) "; $bouncetype = 'HB'; $subject = 'current subject'; $originalsubject = 'original subject'; $message = preg_replace("/^Subject: .*$/m", "Subject: BOUNCE $bouncetype - $subject (was $originalsubject)", $message); $message = str_replace('Auto-Submitted: auto-replied', 'X-Gynzy-Origin: ICT-bounce', $message); // Fix nullmailer error $message = str_replace('Return-Path: <>', 'Return-Path: <bounce@gynzy.com>', $message); $message = str_replace('From: MAILER-DAEMON@gynzy.com (Mail Delivery System)', 'From: <postmaster@mailer.gynzy.com>', $message); $message = preg_replace("/^From: MAILER-DAEMON@.*$/m", "From: <postmaster@mailer.gynzy.com>", $message); echo($message); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EZ1sO
function name:  (null)
number of ops:  43
compiled vars:  !0 = $message, !1 = $bouncetype, !2 = $subject, !3 = $originalsubject
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Delivered-To%3A+tech%40gynzy.com%0AReceived%3A+by+10.76.22.228+with+SMTP+id+h4csp404757oaf%3B%0A++++++++Fri%2C+8+May+2015+04%3A27%3A34+-0700+%28PDT%29%0AX-Received%3A+by+10.194.176.225+with+SMTP+id+cl1mr6240612wjc.45.1431084454326%3B%0A++++++++Fri%2C+08+May+2015+04%3A27%3A34+-0700+%28PDT%29%0AReturn-Path%3A+%3C%3E%0AReceived%3A+from+mailer.gynzy.com+%28mailer.gynzy.com.+%5B178.237.33.10%5D%29%0A++++++++by+mx.google.com+with+ESMTP+id+ei5si8668280wib.54.2015.05.08.04.27.33%0A++++++++for+%3Ctech%40gynzy.com%3E%3B%0A++++++++Fri%2C+08+May+2015+04%3A27%3A34+-0700+%28PDT%29%0AReceived-SPF%3A+pass+%28google.com%3A+domain+of+bounce%40gynzy.com+designates+178.237.33.10+as+permitted+sender%29+client-ip%3D178.237.33.10%3B%0AAuthentication-Results%3A+mx.google.com%3B%0A+++++++spf%3Dpass+%28google.com%3A+domain+of+bounce%40gynzy.com+designates+178.237.33.10+as+permitted+sender%29+smtp.mail%3Dbounce%40gynzy.com%0ADelivered-To%3A+bounce%40gynzy.com%0AX-Received%3A+by+10.194.23.197+with+SMTP+id+o5mr4443911wjf.75.1431084423907%3B%0A++++++++Fri%2C+08+May+2015+04%3A27%3A03+-0700+%28PDT%29%0AReceived-SPF%3A+none+%28google.com%3A+ns3.gussinkloserver.nl+does+not+designate+permitted+sender+hosts%29+client-ip%3D2a02%3Acec0%3A10%3A6%3A%3A1%3B%0AMessage-Id%3A+%3C554c9d87.ee47c20a.3415.ffff863cSMTPIN_ADDED_MISSING%40mx.google.com%3E%0ADate%3A+8+May+2015+13%3A27%3A03+%2B0200%0AFrom%3A+MAILER-DAEMON%40gynzy.com+%28Mail+Delivery+System%29%0ATo%3A+bounce%40gynzy.com%0ASubject%3A+BOUNCE+SBMF+-+Brin%28s%29%3A+03UB+IT-coordinator+email+not+received+%28bounced%29.+%28was+failure+notice%29%0A'
   27     1        ASSIGN                                                   !1, 'HB'
   28     2        ASSIGN                                                   !2, 'current+subject'
   29     3        ASSIGN                                                   !3, 'original+subject'
   31     4        INIT_FCALL                                               'preg_replace'
          5        SEND_VAL                                                 '%2F%5ESubject%3A+.%2A%24%2Fm'
          6        ROPE_INIT                                     7  ~9      'Subject%3A+BOUNCE+'
          7        ROPE_ADD                                      1  ~9      ~9, !1
          8        ROPE_ADD                                      2  ~9      ~9, '+-+'
          9        ROPE_ADD                                      3  ~9      ~9, !2
         10        ROPE_ADD                                      4  ~9      ~9, '+%28was+'
         11        ROPE_ADD                                      5  ~9      ~9, !3
         12        ROPE_END                                      6  ~8      ~9, '%29'
         13        SEND_VAL                                                 ~8
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $13     
         16        ASSIGN                                                   !0, $13
   32    17        INIT_FCALL                                               'str_replace'
         18        SEND_VAL                                                 'Auto-Submitted%3A+auto-replied'
         19        SEND_VAL                                                 'X-Gynzy-Origin%3A+ICT-bounce'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                         $15     
         22        ASSIGN                                                   !0, $15
   34    23        INIT_FCALL                                               'str_replace'
         24        SEND_VAL                                                 'Return-Path%3A+%3C%3E'
         25        SEND_VAL                                                 'Return-Path%3A+%3Cbounce%40gynzy.com%3E'
         26        SEND_VAR                                                 !0
         27        DO_ICALL                                         $17     
         28        ASSIGN                                                   !0, $17
   35    29        INIT_FCALL                                               'str_replace'
         30        SEND_VAL                                                 'From%3A+MAILER-DAEMON%40gynzy.com+%28Mail+Delivery+System%29'
         31        SEND_VAL                                                 'From%3A+%3Cpostmaster%40mailer.gynzy.com%3E'
         32        SEND_VAR                                                 !0
         33        DO_ICALL                                         $19     
         34        ASSIGN                                                   !0, $19
   36    35        INIT_FCALL                                               'preg_replace'
         36        SEND_VAL                                                 '%2F%5EFrom%3A+MAILER-DAEMON%40.%2A%24%2Fm'
         37        SEND_VAL                                                 'From%3A+%3Cpostmaster%40mailer.gynzy.com%3E'
         38        SEND_VAR                                                 !0
         39        DO_ICALL                                         $21     
         40        ASSIGN                                                   !0, $21
   38    41        ECHO                                                     !0
   40    42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.08 ms | 1400 KiB | 17 Q