Re: Can you spot the bug?

From: Date: Sat, 10 Jun 2006 21:57:08 +0000
Subject: Re: Can you spot the bug?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-24085@lists.php.net to get a copy of this message
On 6/10/06, Michael B Allen <mba2000@ioplex.com> wrote:
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) {
zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &uservar (it takes a ptr ptr) --Pierre

« previous php.internals (#24085) next »