Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- DOMDocumentType::internalSubset with invalid state. --CREDITS-- Eric Lee Stewart ..
Decoded Output download
--TEST--
DOMDocumentType::internalSubset with invalid state.
--CREDITS--
Eric Lee Stewart <[email protected]>
# TestFest Atlanta 2009-05-25
--EXTENSIONS--
dom
--FILE--
<?php
$doctype = new DOMDocumentType();
try {
$doctype->internalSubset;
} catch (DOMException $exception) {
echo $exception->getMessage() . "
";
}
?>
--EXPECT--
Invalid State Error
Did this file decode correctly?
Original Code
--TEST--
DOMDocumentType::internalSubset with invalid state.
--CREDITS--
Eric Lee Stewart <[email protected]>
# TestFest Atlanta 2009-05-25
--EXTENSIONS--
dom
--FILE--
<?php
$doctype = new DOMDocumentType();
try {
$doctype->internalSubset;
} catch (DOMException $exception) {
echo $exception->getMessage() . "\n";
}
?>
--EXPECT--
Invalid State Error
Function Calls
None |
Stats
MD5 | 02ad76d557f0da95bde0032793445cbd |
Eval Count | 0 |
Decode Time | 76 ms |