RE: [PHP] Re: Better standards in PHP-coding
| From: | Ford, Mike [LSS] | Date: | Tue, 23 Apr 2002 13:41:30 +0000 |
| Subject: | RE: [PHP] Re: Better standards in PHP-coding | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94153@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: michael kimsal [mailto:michael@tapinternet.com]
> Sent: 21 April 2002 04:17
>
> Second, *HOW MANY* PHP statements can be followed by a { ?
>
> I can think of three
>
> if (foo) {
> function foo () {
> class foo {
>
> Maybe there's one more that I'm missing [...]
Off the top of my head:
for
foreach
while
do
switch
... and I'm bound to have missed at least one!
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211