|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49882 imagelayereffect() not available with shared GD
Submitted: 2009-10-15 00:12 UTC Modified: 2016-07-16 01:44 UTC
Avg. Score:4.4 ± 0.8
Reproduced:11 of 11 (100.0%)
Same Version:4 (36.4%)
Same OS:4 (36.4%)
From: woody dot gilk at kohanaphp dot com Assigned: pajoye (profile)
Status: Closed Package: GD related
PHP Version: 5.3.0 OS: Mac OSX 10.5
Private report: No CVE-ID: None
 [2009-10-15 00:12 UTC] woody dot gilk at kohanaphp dot com
Using shared GD with PHP 5.3.0 should work the same as using --with-
gd=php. However, this is not true.

Reproduce code:
~> php -r 'var_dump(PHP_VERSION);'
string(5) "5.3.0"
~> php -r 'var_dump(function_exists("imagerotate"));'
~> php -r 'var_dump(function_exists("imagelayereffect"));'

Expected result:
I expected the last command to show "bool(true)".

Actual result:
It shows "bool(false)".


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-15 00:19 UTC]
Quick note: It is not due to the bundled GD usages but the new feature in the configure script on php 5.3. This feature enables the bundled new functions even when the extension is built against the system library. imagelayereffect was forgotten.
 [2010-03-19 16:51 UTC] phpnet at bueckemeyer dot com
When will the function imagelayereffect work with the shared GD version?
 [2016-07-16 01:44 UTC]
-Status: Assigned +Status: Closed
 [2016-07-16 01:44 UTC]
This has already been implemented with
<>, and is supposed
to be available with all currently supported PHP versions.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Nov 29 07:05:52 2022 UTC