> -----Original Message-----
> From: michael kimsal [mailto:[EMAIL PROTECTED]]
> 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: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to