Doc #73227 [Opn->Nab]: Doccumentation unclarity.

From: Date: Mon, 28 Nov 2016 18:27:35 +0000
Subject: Doc #73227 [Opn->Nab]: Doccumentation unclarity.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14152@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73227&edit=1 ID: 73227 Updated by: peehaa@php.net Reported by: mev5me at yandex dot ru Summary: Doccumentation unclarity. -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem Operating System: Ubuntu PHP Version: 7.1.0RC3 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2016-11-02 13:35:51] carteeg at gmail dot com The documentation is correct. The phrase "need not" means "do not need to". So "Functions need not be defined before they are referenced." means "Functions do not need to be defined before they are referenced." Example 2 is showing this explicitly by having the reference occur before the definition. ------------------------------------------------------------------------ [2016-10-02 11:04:27] mev5me at yandex dot ru Description: ------------ May be my English is not perfect, but http://php.net/manual/en/functions.user-defined.php says: "Functions need not be defined before they are referenced". And than *Example #2* example shows how function being used BEFORE define (bar()`). Isn't in weird or unclear? function myF () {...} - is it defining? myF(); - is it reference? Nowhere says it is possible, because interpreter reads .php files first and than execute. PHP 7 documentation is missing too. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73227&edit=1

« previous php.doc.bugs (#14152) next »