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-- Testing wrong parameter passing in imagefilter() of GD library --CREDITS-- Guilhe..
Decoded Output download
--TEST--
Testing wrong parameter passing in imagefilter() of GD library
--CREDITS--
Guilherme Blanco <guilhermeblanco [at] hotmail [dot] com>
#testfest PHPSP on 2009-06-20
--EXTENSIONS--
gd
--FILE--
<?php
$image = imagecreatetruecolor(180, 30);
try {
var_dump(imagefilter($image));
} catch (TypeError $e) {
echo $e->getMessage(), "
";
}
?>
--EXPECT--
Wrong parameter count for imagefilter()
Did this file decode correctly?
Original Code
--TEST--
Testing wrong parameter passing in imagefilter() of GD library
--CREDITS--
Guilherme Blanco <guilhermeblanco [at] hotmail [dot] com>
#testfest PHPSP on 2009-06-20
--EXTENSIONS--
gd
--FILE--
<?php
$image = imagecreatetruecolor(180, 30);
try {
var_dump(imagefilter($image));
} catch (TypeError $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
Wrong parameter count for imagefilter()
Function Calls
imagecreatetruecolor | 1 |
Stats
MD5 | 069c7ee9107c9a442afbb59a71aa041e |
Eval Count | 0 |
Decode Time | 103 ms |