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-- DOMAttr __construct() with no arguments. --CREDITS-- Josh Sweeney <jsweeney@alt-i..

Decoded Output download

--TEST--
DOMAttr __construct() with no arguments.
--CREDITS--
Josh Sweeney <[email protected]>
# TestFest Atlanta 2009-05-14
--EXTENSIONS--
dom
--FILE--
<?php
try {
    $attr = new DOMAttr();
} catch (TypeError $e) {
    echo $e->getMessage(), "
";
}
?>
--EXPECT--
DOMAttr::__construct() expects at least 1 argument, 0 given

Did this file decode correctly?

Original Code

--TEST--
DOMAttr __construct() with no arguments.
--CREDITS--
Josh Sweeney <[email protected]>
# TestFest Atlanta 2009-05-14
--EXTENSIONS--
dom
--FILE--
<?php
try {
    $attr = new DOMAttr();
} catch (TypeError $e) {
    echo $e->getMessage(), "\n";
}
?>
--EXPECT--
DOMAttr::__construct() expects at least 1 argument, 0 given

Function Calls

None

Variables

None

Stats

MD5 98efeebe669644601c9b8990b666999f
Eval Count 0
Decode Time 85 ms