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 Imagick, claheImage --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skip..

Decoded Output download

--TEST--
Test Imagick, claheImage
--SKIPIF--
<?php
require_once(dirname(__FILE__) . '/skipif.inc');
checkClassMethods('Imagick', array('claheImage'));
?>
--FILE--
<?php


function claheImage() {
    $imagick = new \Imagick(__DIR__ . '/Biter_500.jpg');
    $imagick->claheImage(
		10,
		10,
		8,
		2
	);
//    $imagick->writeImage(__DIR__ . '/claheImage_output_image.png');
    $imagick->getImageBlob();
}

claheImage() ;
echo "Ok";
?>
--EXPECTF--
Ok

Did this file decode correctly?

Original Code

--TEST--
Test Imagick, claheImage
--SKIPIF--
<?php
require_once(dirname(__FILE__) . '/skipif.inc');
checkClassMethods('Imagick', array('claheImage'));
?>
--FILE--
<?php


function claheImage() {
    $imagick = new \Imagick(__DIR__ . '/Biter_500.jpg');
    $imagick->claheImage(
		10,
		10,
		8,
		2
	);
//    $imagick->writeImage(__DIR__ . '/claheImage_output_image.png');
    $imagick->getImageBlob();
}

claheImage() ;
echo "Ok";
?>
--EXPECTF--
Ok

Function Calls

dirname 1

Variables

None

Stats

MD5 f98244456f8f7b4b993bf28a178892cc
Eval Count 0
Decode Time 111 ms