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-- Test ImagickPixelIterator, construct --SKIPIF-- <?php require_once(dirname(__FIL..

Decoded Output download

--TEST--
Test ImagickPixelIterator, construct
--SKIPIF--
<?php

require_once(dirname(__FILE__) . '/skipif.inc');

checkClassMethods('Imagick', array('getHDRIEnabled'));


?>
--FILE--
<?php

$enabled = Imagick::getHDRIEnabled();

if ($enabled === true || $enabled === false) {
    echo "Ok";
}
else {
    echo "Unexpected value for Imagick::getHDRIEnabled:
";
    var_dump($enabled);
}

?>
--EXPECTF--
Ok

Did this file decode correctly?

Original Code

--TEST--
Test ImagickPixelIterator, construct
--SKIPIF--
<?php

require_once(dirname(__FILE__) . '/skipif.inc');

checkClassMethods('Imagick', array('getHDRIEnabled'));


?>
--FILE--
<?php

$enabled = Imagick::getHDRIEnabled();

if ($enabled === true || $enabled === false) {
    echo "Ok";
}
else {
    echo "Unexpected value for Imagick::getHDRIEnabled:\n";
    var_dump($enabled);
}

?>
--EXPECTF--
Ok

Function Calls

dirname 1

Variables

None

Stats

MD5 ebea7ebf0f95aaf25fa401644f5829a1
Eval Count 0
Decode Time 104 ms