Discussion: email issue
Afficher un message
Vieux 14/03/2008, 20h34   #5
Eric Gorr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] PHP and #if

If you are talking about simply commenting code out, yes, I am aware
of this...however, the #if technique is far more capable in certain
situations.

There are reasons why C, etc. has included the ability to comment out
lines of code and also provide #if's.

But based on your reply, I have to assume that PHP does not current
provide such a technique...as I suspected.


On Mar 14, 2008, at 2:22 PM, Børge Holen wrote:

> On Friday 14 March 2008 19:19:30 Eric Gorr wrote:
>> In C, etc. one can place #if's around code to determine whether or
>> not
>> the compiler should pay any attention to the code.
>>
>> Is there a similar technique for PHP?
>>
>> I've not seen anything like this before and a brief search hasn't
>> turned up anything either...just thought I would ask to make sure.

>
> # Notin' here
> // here neither
> */
> Nor there
> /*
>
> --
> ---
> Børge Holen
> http://www.arivene.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


  Réponse avec citation
 
Page generated in 0,04747 seconds with 9 queries