PHP 4.0 Bug #5964: ldap_first_attribute - internal memory location pointer needs & sign else fail

From: Date: Fri, 04 Aug 2000 13:03:46 +0000
Subject: PHP 4.0 Bug #5964: ldap_first_attribute - internal memory location pointer needs & sign else fail
Groups: php.dev 
Request: Send a blank email to php-dev+get-27683@lists.php.net to get a copy of this message
From: luis_garcia@candle.com Operating system: Windows NT 4.0 SP5 PHP version: 4.0.1pl2 PHP Bug Type: LDAP related Bug description: ldap_first_attribute - internal memory location pointer needs & sign else fail Using downloaded pre-compiled win32 modules. In php.ini: allow_call_time_pass_reference = Off The code below generates a warning. Removing the reference from $mem causes nothing to be returned. // ... initialize memory location pointer $mem = 0; // ... get the first attribute $attr = ldap_first_attribute($link, $entry, &$mem);

« previous php.dev (#27683) next »