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 /** * Error * * @package amazon-s3-and-cloudfront * @subpackage Classes/Err..
Decoded Output download
<?php
/**
* Error
*
* @package amazon-s3-and-cloudfront
* @subpackage Classes/Error
* @copyright Copyright (c) 2015, Delicious Brains
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 0.9.12
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* AS3CF_Error Class
*
* This class handles error logging
*
* @since 0.9.12
*/
class AS3CF_Error {
/**
* Wrapper for error logging a message with plugin prefix
*
* @param mixed $message
* @param string $plugin_prefix
*/
public static function log( $message, $plugin_prefix = '' ) {
$prefix = 'WPOS3';
if ( '' !== $plugin_prefix ) {
$prefix .= '_' . $plugin_prefix;
}
$prefix .= ': ';
if ( is_array( $message ) || is_object( $message ) ) {
error_log( $prefix . print_r( $message, true ) );
} else {
error_log( $prefix . $message );
}
}
} ?>
Did this file decode correctly?
Original Code
<?php
/**
* Error
*
* @package amazon-s3-and-cloudfront
* @subpackage Classes/Error
* @copyright Copyright (c) 2015, Delicious Brains
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
* @since 0.9.12
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* AS3CF_Error Class
*
* This class handles error logging
*
* @since 0.9.12
*/
class AS3CF_Error {
/**
* Wrapper for error logging a message with plugin prefix
*
* @param mixed $message
* @param string $plugin_prefix
*/
public static function log( $message, $plugin_prefix = '' ) {
$prefix = 'WPOS3';
if ( '' !== $plugin_prefix ) {
$prefix .= '_' . $plugin_prefix;
}
$prefix .= ': ';
if ( is_array( $message ) || is_object( $message ) ) {
error_log( $prefix . print_r( $message, true ) );
} else {
error_log( $prefix . $message );
}
}
}
Function Calls
defined | 1 |
Stats
MD5 | 9a6251198f3a4139368c7cda18634fe8 |
Eval Count | 0 |
Decode Time | 84 ms |