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 namespace Illuminate\Queue; use InvalidArgumentException; class InvalidPayloadExc..
Decoded Output download
<?php
namespace Illuminate\Queue;
use InvalidArgumentException;
class InvalidPayloadException extends InvalidArgumentException
{
/**
* The value that failed to decode.
*
* @var mixed
*/
public $value;
/**
* Create a new exception instance.
*
* @param string|null $message
* @param mixed $value
* @return void
*/
public function __construct($message = null, $value = null)
{
parent::__construct($message ?: json_last_error());
$this->value = $value;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Illuminate\Queue;
use InvalidArgumentException;
class InvalidPayloadException extends InvalidArgumentException
{
/**
* The value that failed to decode.
*
* @var mixed
*/
public $value;
/**
* Create a new exception instance.
*
* @param string|null $message
* @param mixed $value
* @return void
*/
public function __construct($message = null, $value = null)
{
parent::__construct($message ?: json_last_error());
$this->value = $value;
}
}
Function Calls
None |
Stats
MD5 | 031f9d90deb6ebfd1c5c7eb3fc76be0c |
Eval Count | 0 |
Decode Time | 107 ms |