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 SAML2_Response { private $assertions; private $destination; ..
Decoded Output download
<?php
class SAML2_Response
{
private $assertions;
private $destination;
private $certificates;
private $signatureData;
public function __construct(DOMElement $b7 = NULL)
{
$this->assertions = array();
$this->certificates = array();
if (!($b7 === NULL)) {
goto YY;
}
return;
YY:
$f7 = Utilities::validateElement($b7);
if (!($f7 !== FALSE)) {
goto hh;
}
$this->certificates = $f7["Certificates"];
$this->signatureData = $f7;
hh:
if (!$b7->hasAttribute("Destination")) {
goto yy;
}
$this->destination = $b7->getAttribute("Destination");
yy:
$zT = $b7->firstChild;
aN:
if (!($zT !== NULL)) {
goto GH;
}
if (!($zT->namespaceURI !== "urn:oasis:names:tc:SAML:2.0:assertion")) {
goto fI;
}
goto LU;
fI:
if (!($zT->localName === "Assertion" || $zT->localName === "EncryptedAssertion")) {
goto Nk;
}
$this->assertions[] = new SAML2_Assertion($zT);
Nk:
LU:
$zT = $zT->nextSibling;
goto aN;
GH:
}
public function getAssertions()
{
return $this->assertions;
}
public function setAssertions(array $Th)
{
$this->assertions = $Th;
}
public function getDestination()
{
return $this->destination;
}
public function getCertificates()
{
return $this->certificates;
}
public function getSignatureData()
{
return $this->signatureData;
}
}
?>
Did this file decode correctly?
Original Code
<?php
class SAML2_Response
{
private $assertions;
private $destination;
private $certificates;
private $signatureData;
public function __construct(DOMElement $b7 = NULL)
{
$this->assertions = array();
$this->certificates = array();
if (!($b7 === NULL)) {
goto YY;
}
return;
YY:
$f7 = Utilities::validateElement($b7);
if (!($f7 !== FALSE)) {
goto hh;
}
$this->certificates = $f7["\103\x65\162\164\151\x66\151\143\x61\x74\x65\163"];
$this->signatureData = $f7;
hh:
if (!$b7->hasAttribute("\104\145\163\x74\151\x6e\x61\164\x69\157\x6e")) {
goto yy;
}
$this->destination = $b7->getAttribute("\104\145\163\164\x69\x6e\141\x74\151\157\x6e");
yy:
$zT = $b7->firstChild;
aN:
if (!($zT !== NULL)) {
goto GH;
}
if (!($zT->namespaceURI !== "\x75\162\x6e\x3a\157\141\x73\151\163\x3a\156\141\x6d\x65\163\x3a\x74\x63\x3a\x53\x41\x4d\114\x3a\x32\x2e\60\x3a\x61\163\x73\x65\x72\164\151\157\156")) {
goto fI;
}
goto LU;
fI:
if (!($zT->localName === "\x41\163\163\x65\162\x74\x69\x6f\x6e" || $zT->localName === "\x45\156\x63\x72\x79\160\164\145\144\101\x73\163\x65\x72\164\151\157\156")) {
goto Nk;
}
$this->assertions[] = new SAML2_Assertion($zT);
Nk:
LU:
$zT = $zT->nextSibling;
goto aN;
GH:
}
public function getAssertions()
{
return $this->assertions;
}
public function setAssertions(array $Th)
{
$this->assertions = $Th;
}
public function getDestination()
{
return $this->destination;
}
public function getCertificates()
{
return $this->certificates;
}
public function getSignatureData()
{
return $this->signatureData;
}
}
Function Calls
None |
Stats
MD5 | 0dd0dc4ba56dfdd92ed4e97b12952030 |
Eval Count | 0 |
Decode Time | 55 ms |