note 75875 added to function.require
| From: | chris at chrisstockton dot org | Date: | Wed, 20 Jun 2007 00:06:58 +0000 |
| Subject: | note 75875 added to function.require | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127807@lists.php.net to get a copy of this message | ||
Remember, when using require that it is a statement, not a function. It's not necessary to
write:
<?php
require('somefile.php');
?>
The following:
<?php
require 'somefile.php';
?>
Is preferred, it will prevent your peers from giving you a hard time and a trivial conversation
about what require really is.
----
Server IP: 69.39.81.135
Probable Submitter: 208.187.153.225
----
Manual Page -- http://www.php.net/manual/en/function.require.php
Edit -- https://master.php.net/note/edit/75875
Del: integrated -- https://master.php.net/note/delete/75875/integrated
Del: useless -- https://master.php.net/note/delete/75875/useless
Del: bad code -- https://master.php.net/note/delete/75875/bad+code
Del: spam -- https://master.php.net/note/delete/75875/spam
Del: non-english -- https://master.php.net/note/delete/75875/non-english
Del: in docs -- https://master.php.net/note/delete/75875/in+docs
Del: other reasons-- https://master.php.net/note/delete/75875
Reject -- https://master.php.net/note/reject/75875
Search -- https://master.php.net/manage/user-notes.php