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-- Calling XSLTProcessor::transformToDoc() without stylesheet --EXTENSIONS-- xsl --F..
Decoded Output download
--TEST--
Calling XSLTProcessor::transformToDoc() without stylesheet
--EXTENSIONS--
xsl
--FILE--
<?php
$doc = new DOMDocument('1.0', 'utf-8');
$xsl = new XSLTProcessor;
try {
$xsl->transformToDoc($doc);
} catch (Error $e) {
echo $e->getMessage(), "
";
}
?>
--EXPECT--
XSLTProcessor::transformToDoc() can only be called after a stylesheet has been imported
Did this file decode correctly?
Original Code
--TEST--
Calling XSLTProcessor::transformToDoc() without stylesheet
--EXTENSIONS--
xsl
--FILE--
<?php
$doc = new DOMDocument('1.0', 'utf-8');
$xsl = new XSLTProcessor;
try {
$xsl->transformToDoc($doc);
} catch (Error $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
XSLTProcessor::transformToDoc() can only be called after a stylesheet has been imported
Function Calls
None |
Stats
MD5 | 985bef867880225bad8c3fd2c9b14a5d |
Eval Count | 0 |
Decode Time | 96 ms |