mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
- Fixed bug #40428, imagepstext() doesn't accept optional parameter
(Pierre)
This commit is contained in:
parent
9d26a78f6a
commit
18e4a7aacb
1
NEWS
1
NEWS
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user