mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- MFB: Fixed bug #40428, imagepstext() doesn't accept optional parameter
(Pierre)
This commit is contained in:
parent
00da3f3169
commit
a0a19d79b9
1 changed files with 0 additions and 5 deletions
|
@ -3807,11 +3807,6 @@ PHP_FUNCTION(imagepstext)
|
||||||
T1_TMATRIX *transform = NULL;
|
T1_TMATRIX *transform = NULL;
|
||||||
char *str;
|
char *str;
|
||||||
int str_len;
|
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) {
|
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;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue