Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7947 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69680 invoked by uid 1010); 18 Feb 2004 08:16:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69641 invoked from network); 18 Feb 2004 08:16:33 -0000 Received: from unknown (HELO mailout02.sul.t-online.com) (194.25.134.17) by pb1.pair.com with SMTP; 18 Feb 2004 08:16:33 -0000 Received: from sfwd01.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1AtMUX-0005O2-00; Wed, 18 Feb 2004 08:51:33 +0100 Received: from 192.168.0.4 (TFNZdrZlrerTzQ5Iz-utzfS-1eqE9MoekSjjm8fE-CHZlb-vua5mYz@[217.230.28.156]) by afwd01.sul.t-online.com with esmtp id 1AtMUM-1Umd8q0; Wed, 18 Feb 2004 08:51:22 +0100 To: Adam Maccabee Trachtenberg , internals@lists.php.net Date: Wed, 18 Feb 2004 08:51:32 +0100 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200402180851.32871.georg@php.net> X-Seen: false X-ID: TFNZdrZlrerTzQ5Iz-utzfS-1eqE9MoekSjjm8fE-CHZlb-vua5mYz Subject: Re: [PHP-DEV] mysqli_fetch() return values From: georg@php.net (Georg Richter) Hi Adam, > I would like to propose a change in how mysqli_fetch() signifies "no > more data." It should return NULL instead of MYSQLI_NO_DATA (a > positive value) because it leads to cleaner PHP code and is more > consistent with other MySQL fetch functions. Thanks for pointing it out. The reason was, that we weren't sure if we need other return values (array fetch, etc) for MySQL 5.0/5.1 - but we will add a separate function for. I will change it and update documentation later today. Georg