Ask a Question related to PHP Development, Design and Development.
-
Cristiano Duarte #1
[PHP-DEV] userland macros
Is possible to implement userland macros in a PHP extension or it can
only be implemented in the core?
I know that macros is a preprocessor task and I think PHP has no
preprocessor (does it?).
So it's possible to implement a preprocessor ?
An example (or something like that):
<?
#define DEFAULT_VALUE(check_value, default_value) (isset(check_value) ?
check_value : default_value)
$a = DEFAULT_VALUE($my_array['some_index'], true);
?>
Best regards,
Cristiano Duarte
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: [url]http://www.php.net/unsub.php[/url]
Cristiano Duarte Guest
-
Kernel/Userland Mem-Space Tuning (1/3 on IA32)
Hello. I read about address space division of recent operating systems like Linux and Windows XP. In both cases, the whole address space of the 32... -
Userland Frontier Interoperability
Newbie question here, so please bear with me as I'm sure this has cropped up before. I'm trying to develop a Proxy Client than connects to a... -
macros
has anyone given any thought to having macros in ruby? perhaps there's another way to do what i want, but i'm not sure. i keep reusing the same... -
macros in perl
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I'm new to perl. How it's possible to write macros in perl? C-like macros would be... -
Finder macros in OSX
On Sat, 12 Jul 2003 14:26:04 +1000, heron stone wrote (in message <heronstone-9F4049.21260411072003@news-central.giganews.com>): Presumably...



Reply With Quote

