- Fixed bug #40428, imagepstext() doesn't accept optional parameter

(Pierre)
This commit is contained in:
Pierre Joye 2007-02-11 11:11:48 +00:00
parent 9d26a78f6a
commit 18e4a7aacb
2 changed files with 1 additions and 5 deletions

1
NEWS
View File

@ -6,6 +6,7 @@ PHP NEWS
- Add --ri switch to CLI which allows to check extension information. (Marcus)
- Fixed bug #40431 (dynamic properties may cause crash in ReflectionProperty
methods). (Tony)
- Fixed bug #40428, imagepstext() doesn't accept optional parameter (Pierre)
- Fixed bug #40410 (ext/posix does not compile on MacOS 10.3.9). (Tony)
- Fixed bug #39836 (SplObjectStorage empty after unserialize). (Marcus)

View File

@ -4338,11 +4338,6 @@ PHP_FUNCTION(imagepstext)
T1_TMATRIX *transform = NULL;
char *str;
int str_len;
int argc = ZEND_NUM_ARGS();
if (argc != 8 && argc != 12) {
ZEND_WRONG_PARAM_COUNT();
}
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsrlllll|lldl", &img, &str, &str_len, &fnt, &size, &_fg, &_bg, &x, &y, &space, &width, &angle, &aa_steps) == FAILURE) {
return;