Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php class MailPart_Part { protected $content = null; public function __construct( $con..
Decoded Output download
<?php
class MailPart_Part { protected $content = null; public function __construct( $content = null ) { $this->content = $content; } public function getHeader(){ throw new Exception('implement this!'); } public function getContent(){ $text = preg_replace( '/[^!-<>-~ ]/e', 'sprintf( "=%02X", ord ( "$0" ) ) ;', $this->content ); preg_match_all( '/.{1,73}([^=]{0,2})?/', $text, $match ); $text = implode( '=' . Mail::LINEBREAK, $match[0] ); return $text; } } class Exception_MailPart_InvalidArgument extends Exception{}; ?>
Did this file decode correctly?
Original Code
<?php
class MailPart_Part { protected $content = null; public function __construct( $content = null ) { $this->content = $content; } public function getHeader(){ throw new Exception('implement this!'); } public function getContent(){ $text = preg_replace( '/[^\x21-\x3C\x3E-\x7E\x09\x20]/e', 'sprintf( "=%02X", ord ( "$0" ) ) ;', $this->content ); preg_match_all( '/.{1,73}([^=]{0,2})?/', $text, $match ); $text = implode( '=' . Mail::LINEBREAK, $match[0] ); return $text; } } class Exception_MailPart_InvalidArgument extends Exception{};
Function Calls
| None |
Stats
| MD5 | f8af31e4e16d14ca2397f687baffadf8 |
| Eval Count | 0 |
| Decode Time | 146 ms |