PHP 4.0 Bug #4230 Updated: pg_connect clears environment variables on a second connection establishment

From: Date: Sun, 21 May 2000 22:17:35 +0000
Subject: PHP 4.0 Bug #4230 Updated: pg_connect clears environment variables on a second connection establishment
Groups: php.dev 
Request: Send a blank email to php-dev+get-19090@lists.php.net to get a copy of this message
ID: 4230 Updated by: jah Reported By: mlemos@acm.org Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: This is not actually PostgreSQL related in any way, it happens because putenv() accidentally modifies its input argument, and (probably) because the Zend engine is so clever that there's only one copy of the string given as argument to putenv(). After the first call, = in it will change to NULL. Fix will be in cvs in few minutes, unless it immediately breaks up somethingg else. Full Bug description available at: http://bugs.php.net/version4/?id=4230

« previous php.dev (#19090) next »