Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112755 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 51999 invoked from network); 5 Jan 2021 00:38:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Jan 2021 00:38:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A11AC1804F3 for ; Mon, 4 Jan 2021 16:14:48 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com [209.85.221.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 4 Jan 2021 16:14:48 -0800 (PST) Received: by mail-vk1-f172.google.com with SMTP id u67so6595928vkb.5 for ; Mon, 04 Jan 2021 16:14:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=uCymuLPHf2nK8L/ZigFcG/wPSxPoo54ufFGFiOX5ELU=; b=djcJhbEgzESvV9BLS/vY6R8yh5ShxTpaWJnSMd7Zm8gy9RQM8z4kQNm+8yIeFs8D4d DCHzHp1rH4VrERSpH6aLxf4Pr9Nx7KvToZtDfoTRZ26xZNt6fqSI4ydP61s9bIoChg0G FjX43a+37M3JcIlr5ZkajvLnFsV7ND48yWUH7hgzOT2Z6KVeCig/ygVeEXWGfWKDDkoD N2w11bZkAW0qNoaJBXLB8p+6tr5sRkWXIbWwlwseHjJbWTNnBsdLgMygYgtiSmofUjbJ j3tMPO8xnAK+YZYWVv13jMYlHc2qTxI7FcI0u31BWBmzE1gSKgEYwfjxTucdAMsM6Zym gPlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uCymuLPHf2nK8L/ZigFcG/wPSxPoo54ufFGFiOX5ELU=; b=Kg4EVHTD//7JiCEawrKKAtzKzph24By6I16cU8GNOUHrEKU/2U7FCaP8mdHq8KKjqH cmFO8C7YTLkwbwp1Zfik678ZzUSfkeAe5py/uBtrhVIT7UwaHrA3Z8Jtz1dx8QGzuP8T 590lpE+cBa2Qkkf0UeZ94adXCu4/BVsSJgahguydqDNfXmR6UysgJuq7cT1cxppxFTXB anGneIAe5c2+ommIiiMS50ToqpGConFnPCIVyyxoUjFwl5sUpwZxSBCgiaGSn/yDjLda TB/pSmgZI44x7bOm+0IxE3NawtnyRb6nOmLoS6ewszGGMOq+7m3NoDdG3/QTUqA+AE40 pDmg== X-Gm-Message-State: AOAM5315bFCfO/9/kffCSTU1TRQDTqdeoM9+HKFIchWoxaZ81odS62hp 9dZOma5H0Zm82c+/vuEmNI2zl+bwWbWaZLsCYYw5WZ9EFK4= X-Google-Smtp-Source: ABdhPJwiZunMfjBoDM/5hEa7qb69LeQ7wYhzDLLiYJ05H4zQcNZyiQNp6gSPlAGbP6uaBTqPaKIqPy6gy9OHtj/G1/k= X-Received: by 2002:a1f:e842:: with SMTP id f63mr39901140vkh.11.1609805686990; Mon, 04 Jan 2021 16:14:46 -0800 (PST) MIME-Version: 1.0 Date: Mon, 4 Jan 2021 16:14:36 -0800 Message-ID: To: internals Content-Type: multipart/alternative; boundary="000000000000216a3b05b81c18c7" Subject: english documentation list? From: zardozrocks@gmail.com (j adams) --000000000000216a3b05b81c18c7 Content-Type: text/plain; charset="UTF-8" Hello! I apologize for troubling this list. I found a problem with the english language documentation on mysqli_query and have attempted to send an email to phpdoc@lists.php.net but am totally unsure if anyone will ever receive it. In any case, I expect the documentation people may need some help correcting the documentation. The text of my issue report follows: There is a problem with the return value description for mysqli_query, displayed here: https://www.php.net/manual/en/mysqli.query.php Under 'Return Values,' it says: >Returns *false* on failure. For successful SELECT, SHOW, DESCRIBE or EXPLAIN queries *mysqli_query()* will return a mysqli_result object. For other successful queries *mysqli_query()* will return *true* This is not correct. I can provide one counterexample, which is when you run an optimize query: OPTIMIZE TABLE my_table; This query will return a result set with two records whether the table exists or not. I believe I found the file that should be altered on github here: https://github.com/php/doc-en/blob/master/reference/mysqli/mysqli/query.xml#L111 I do not know what the return value description should be under all the various circumstances. --000000000000216a3b05b81c18c7--