[PHP] Re: Animating with GD?

2003-08-28 Thread Edward Rudd
Not anymore due to the Unisys LZW patent issues.. GD has no support for
GIF file anymore.
Wait until next june.. Then you can create animated GIF files with GD
(Unisys' patent expires).

On Wed, 27 Aug 2003 21:35:43 +0200, Simon Fredriksson wrote:

 Is it possible to create GIF animations using GD?
 
 //Simon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] checking the return value of member function with empty

2003-08-14 Thread Edward Rudd
I am having this rather annoying syntax problem.

I have this..
if (!empty($this-GetParam('someparameter')) {
  // OK do something since the parameter is set.
}
However that fails with this parse error

parse error, expecting `')''

Why???

If I do this
$var = $this-GetParam('someparameter'));
if (!empty($var)) {
  // same thing as before
}
it works fine with no error..

This *SHOULD* be syntactically correct, but php doesn't think so.
Should I file a bug on this one?
Oh yeah, normal information about running environment.
PHP version 4.3.2



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php