Hi!
I want to request a C/C++ feature that i think is good.
MACRO
You know that you could write:
<?php
#define PF private function
#define SCOPE_CLASS(x) class MyProject_ ## x
class UseMacro
{
PF preSave($object)
{
//...
}
}
SCOPE_CLASS(Internal)
{
}
And then run it through CPP (gcc -Mcpp -E - - < in.php > out.php) and
get all the macros processed?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php