Date: 10/23/01
- Next message: sander <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Previous message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it Translators preface.xml"
- Next in thread: sander <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Reply: sander <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Reply: goba <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Reply: robert.w <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: robert.w <email protected>
Operating system:
PHP version: 4.0.6
PHP Bug Type: Documentation problem
Bug description: Typo in require() statement description ?
Quoting the fifth paragraph of the English language version:
"Unlike include(), require() will always read in the target file, even if
the line it's on never executes. If you want to conditionally include a
file, use include(). The conditional statement won't affect the require().
However, if the line on which the require() occurs is not executed, neither
will any of the code in the target file be executed."
I think the last line is contradicting the first line :
FIRST LINE : "...require() will always read in the target file, even if the
line it's on never executes."
LAST LINE : "However, if the line on which the require() occurs is not
executed, neither will any of the code in the target file be executed."
This the same in the Dutch language version.
IMHO the last line should read :
"However, if the line on which the include() occurs is not executed,
neither will any of the code in the target file be executed."
Robert Waarde
-- Edit bug report at: http://bugs.php.net/?id=13802&edit=1
- Next message: sander <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Previous message: Luca Perugini: "[PHP-DOC] cvs: phpdoc /it Translators preface.xml"
- Next in thread: sander <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Reply: sander <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Reply: goba <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Reply: robert.w <email protected>: "[PHP-DOC] Bug #13802 Updated: Typo in require() statement description ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

