Re: FW: [PHP-DEV] STOP PRODUCTION
| From: | Andi Gutmans | Date: | Sun, 29 Apr 2001 07:50:19 +0000 |
| Subject: | Re: FW: [PHP-DEV] STOP PRODUCTION | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-2973@lists.php.net to get a copy of this message | ||
Sebastian just told me that my patch to Zend solved his problems. Can you please make sure it has fixed your problems with those "other" modules?
Thanks,
Andi
At 12:04 AM 4/29/2001 +0100, James Moore wrote:
Can someone verify this, I dont have oci here. I can get it to happen with other modules though. - James -----Original Message----- From: Joe Brown [mailto:joebrown@somewhere.com] Sent: 28 April 2001 23:39 To: php-dev@lists.php.net Subject: [PHP-DEV] STOP PRODUCTION Serious problem... I checked out php4 today, and compiled it on windows and linux. The bang (!) in the if statement changes the resource to if(!($connection=ociplogon("scott","tiger","orcl"))) { var_dump($connection) = resource(1) of type (Unknown) w/out the bang(!) if(($connection=ociplogon("scott","tiger","orcl"))) { var_dump($connection) = resource(1) of type (oci8 connection) This code fails miserably: <? $connection=0; $statement=0; if(!($connection=ociplogon("scott","tiger","orcl"))) { echo "above result is false, so this will probably never happen<br>\n"; } var_dump($connection); $query = "select user from dual"; $statement=OCIParse($connection,$query); OCIExecute($statement); OCIFetch($statement); echo OCIResult($statement,1)."<br>\n"; OCIFreeStatement($statement); ?> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net For additional commands, e-mail: php-qa-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net