Re: Re: Another question about storing zend_fcall_info and zend_fcall_info_cache

From: Date: Tue, 30 Jul 2013 12:02:31 +0000
Subject: Re: Re: Another question about storing zend_fcall_info and zend_fcall_info_cache
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-10925@lists.php.net to get a copy of this message
On 07/30/2013 04:58 PM, Ruslan Osmanov wrote:
if (ZEND_FCI_INITIALIZED(*pfci)) {
     e->fci = (zend_fcall_info *) safe_emalloc(1,
sizeof(zend_fcall_info), 0);
     e->fcc = (zend_fcall_info_cache *) safe_emalloc(1,
sizeof(zend_fcall_info_cache), 0);
     memcpy(e->fci, pfci, sizeof(zend_fcall_info));
     memcpy(e->fcc, pfcc, sizeof(zend_fcall_info_cache));
pfci and pfcc should be &fci and &fcc here, sorry. -- Ruslan Osmanov

« previous php.pecl.dev (#10925) next »