Re: C-style parameterized macros

From: Date: Fri, 07 Sep 2001 23:14:43 +0000
Subject: Re: C-style parameterized macros
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66499@lists.php.net to get a copy of this message
>>>>> "Neil" == Neil Zanella <nzanella@cs.mun.ca> writes: Neil> Hello, Neil> I have noticed that PHP can be used to define constants but Neil> not parametrized macros, a feature is is currently lacking. Neil> It is possible to use arrays instead with the only Neil> disadvantage that array values can be reassigned. I guess Neil> this is not a real concern. Does anyone know if Neil> parameterized macros will be implemented in future PHP Neil> releases? I have $.02 worth remark. If macros are implemented in php, I suggest that the implementor cosider the macro front-end to the BLISS compiler as a model. My feeling is that cpp is quite limited.

« previous php.general (#66499) next »