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 point --SKIPIF-- <?php /* $Id: gmagickdraw-018-point.phpt 280206 2009-05-09 ..
Decoded Output download
--TEST--
Test point
--SKIPIF--
<?php
/* $Id: gmagickdraw-018-point.phpt 280206 2009-05-09 18:22:48Z vito $ */
if(!extension_loaded('gmagick')) die('skip');
?>
--FILE--
<?php
$filename = dirname(__FILE__) . '/test_constructor.jpg';
$gm = new GMagick();
$gd = new GMagickDraw();
$gm->read("magick:rose");
$gd->point(20,20);
$gm->drawImage($gd);
$gm->write($filename);
unlink($filename);
echo "ok";
?>
--EXPECT--
ok
Did this file decode correctly?
Original Code
--TEST--
Test point
--SKIPIF--
<?php
/* $Id: gmagickdraw-018-point.phpt 280206 2009-05-09 18:22:48Z vito $ */
if(!extension_loaded('gmagick')) die('skip');
?>
--FILE--
<?php
$filename = dirname(__FILE__) . '/test_constructor.jpg';
$gm = new GMagick();
$gd = new GMagickDraw();
$gm->read("magick:rose");
$gd->point(20,20);
$gm->drawImage($gd);
$gm->write($filename);
unlink($filename);
echo "ok";
?>
--EXPECT--
ok
Function Calls
dirname | 1 |
extension_loaded | 1 |
Stats
MD5 | b1cba27a0ba0193a9cc856b71fd79eb4 |
Eval Count | 0 |
Decode Time | 80 ms |