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-- Set, getimagedepth --SKIPIF-- <?php /* $Id: gmagick-033-set_getimagedepth.phpt 28..
Decoded Output download
--TEST--
Set, getimagedepth
--SKIPIF--
<?php
/* $Id: gmagick-033-set_getimagedepth.phpt 280206 2009-05-09 18:22:48Z vito $ */
if(!extension_loaded('gmagick')) die('skip');
?>
--FILE--
<?php
$gm = new Gmagick();
$gm->read("magick:rose");
echo $gm->setImageDepth(2)->getImageDepth();
?>
--EXPECTF--
2
Did this file decode correctly?
Original Code
--TEST--
Set, getimagedepth
--SKIPIF--
<?php
/* $Id: gmagick-033-set_getimagedepth.phpt 280206 2009-05-09 18:22:48Z vito $ */
if(!extension_loaded('gmagick')) die('skip');
?>
--FILE--
<?php
$gm = new Gmagick();
$gm->read("magick:rose");
echo $gm->setImageDepth(2)->getImageDepth();
?>
--EXPECTF--
2
Function Calls
extension_loaded | 1 |
Stats
MD5 | d73215a6ff19bec6b47a4b9da9ebdc0b |
Eval Count | 0 |
Decode Time | 89 ms |