Re: Quick question
| From: | Todd Pasley | Date: | Fri, 08 Nov 2002 06:56:03 +0000 |
| Subject: | Re: Quick question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123324@lists.php.net to get a copy of this message | ||
Realistically, there is no difference. It is *slightly* quicker to parse,
but thats about it.
I think it was introduced to satisfy those that have used this type of
syntax in other languages, like C and Perl (which users elsif).
I usually use elseif as its a bit nicer looking (IMHO)
Todd.
----- Original Message -----
From: "Martin Towell" <martin.towell@world.net>
To: "Php-General@Lists. Php. Net" <php-general@lists.php.net>
Sent: Friday, November 08, 2002 4:23 PM
Subject: [PHP] Quick question
> what is the technical difference between using
>
> else if
>
> and
>
> elseif
>
> ??
>
> Are they interpretted the same internally?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>