Re: cvs: php-src /ext/standard dl.c
| From: | Antony Dovgal | Date: | Fri, 16 May 2008 07:40:27 +0000 |
| Subject: | Re: cvs: php-src /ext/standard dl.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-49993@lists.php.net to get a copy of this message | ||
On 16.05.2008 07:11, Felipe Pena wrote:
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &filename) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z/", &filename) == FAILURE) { return; } + + convert_to_string(filename);Why not use "s" ? That would also give you nice notices when you pass in non-scalar values. -- Wbr, Antony Dovgal