Can you spot the bug?
| From: | Michael B Allen | Date: | Sat, 10 Jun 2006 21:47:09 +0000 |
| Subject: | Can you spot the bug? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-24084@lists.php.net to get a copy of this message | ||
Can anyone spot the bug in following code from the tutorial [1]?
PHP_FUNCTION(hello_dump)
{
zval *uservar;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", uservar) == FAILURE) {
RETURN_NULL();
}
Mike
[1] http://www.zend.com/php/internals/extension-writing2.php#Heading3
--
Michael B Allen
PHP Extension for SSO w/ Windows Group Authorization
http://www.ioplex.com/