[PHP-CVS] cvs: php-src(PHP_5_2) / README.PARAMETER_PARSING_API
johannesFri Sep 28 22:04:47 2007 UTC Modified files: (Branch: PHP_5_2) /php-srcREADME.PARAMETER_PARSING_API Log: - MFH: Fix type in example http://cvs.php.net/viewvc.cgi/php-src/README.PARAMETER_PARSING_API?r1=1.7.6.2r2=1.7.6.3diff_format=u Index: php-src/README.PARAMETER_PARSING_API diff -u php-src/README.PARAMETER_PARSING_API:1.7.6.2 php-src/README.PARAMETER_PARSING_API:1.7.6.3 --- php-src/README.PARAMETER_PARSING_API:1.7.6.2Mon Feb 5 17:57:51 2007 +++ php-src/README.PARAMETER_PARSING_APIFri Sep 28 22:04:47 2007 @@ -70,7 +70,7 @@ /* Gets an object of class specified by my_ce, and an optional double. */ zval *obj; double d = 0.5; -zend_class_entry my_ce; +zend_class_entry *my_ce; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, O|d, obj, my_ce, d) == FAILURE) { return; -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) / README.PARAMETER_PARSING_API
andrei Mon Feb 5 17:57:51 2007 UTC Modified files: (Branch: PHP_5_2) /php-srcREADME.PARAMETER_PARSING_API Log: Update ! docs. http://cvs.php.net/viewvc.cgi/php-src/README.PARAMETER_PARSING_API?r1=1.7.6.1r2=1.7.6.2diff_format=u Index: php-src/README.PARAMETER_PARSING_API diff -u php-src/README.PARAMETER_PARSING_API:1.7.6.1 php-src/README.PARAMETER_PARSING_API:1.7.6.2 --- php-src/README.PARAMETER_PARSING_API:1.7.6.1Wed Jul 12 07:34:28 2006 +++ php-src/README.PARAMETER_PARSING_APIMon Feb 5 17:57:51 2007 @@ -51,8 +51,8 @@ passed to it. / - use SEPARATE_ZVAL_IF_NOT_REF() on the parameter it follows ! - the parameter it follows can be of specified type or NULL (only applies - to 'a', 'o', 'O', 'r', and 'z'). If NULL is passed, the results - pointer is set to NULL as well. + to 's', 'a', 'o', 'O', 'r', 'h', 'C', 'z', and 'Z'). If NULL is passed, + the results pointer is set to NULL as well. Examples -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-CVS] cvs: php-src(PHP_5_2) / README.PARAMETER_PARSING_API
helly Wed Jul 12 07:34:28 2006 UTC Modified files: (Branch: PHP_5_2) /php-srcREADME.PARAMETER_PARSING_API Log: - Reorder and add missing http://cvs.php.net/viewvc.cgi/php-src/README.PARAMETER_PARSING_API?r1=1.7r2=1.7.6.1diff_format=u Index: php-src/README.PARAMETER_PARSING_API diff -u php-src/README.PARAMETER_PARSING_API:1.7 php-src/README.PARAMETER_PARSING_API:1.7.6.1 --- php-src/README.PARAMETER_PARSING_API:1.7Fri Jan 3 10:39:22 2003 +++ php-src/README.PARAMETER_PARSING_APIWed Jul 12 07:34:28 2006 @@ -31,14 +31,17 @@ Type specifiers --- - l - long - d - double - s - string (with possible null bytes) and its length - b - boolean, stored in zend_bool - r - resource (stored in zval) a - array + b - boolean, stored in zend_bool + d - double + f - function or array containing php method call info (returned as + zend_fcall_info* and zend_fcall_info_cache*) + h - array (returned as HashTable*) + l - long o - object (of any type) O - object (of specific type, specified by class entry) + r - resource (stored in zval) + s - string (with possible null bytes) and its length z - the actual zval The following characters also have a meaning in the specifier string: -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php