From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.3.0RC2
PHP Bug Type: GD related
Bug description: no support for XPM format
After spending quite a time compiling porperly PHP with XPM, GD and PNG
support,
the function imagecreatefromxpm is still not working
-- My mistake : wrong error display options --
The code says :
PHP_FUNCTION(imagecreatefromxpm)
{
/*
#ifdef HAVE_GD_XPM
_php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU,
PHP_GDIMG_TYPE_XPM, "XPM", gdImageCreateFromXpm, NULL);
#else
*/
php_error_docref(NULL TSRMLS_CC, E_WARNING, "No XPM support in this
PHP build");
RETURN_FALSE;
/*
#endif
*/
}
So the function is never properly define.
So either fix the doc or code the function.
It is the exact same in php-4.2.3, php-4.1.2 and php-4.0.6
Was XPM support one day really supported ?
--
Edit bug report at http://bugs.php.net/?id=20839&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20839&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20839&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20839&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20839&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20839&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20839&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20839&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20839&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20839&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20839&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20839&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20839&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20839&r=isapi