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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
