Re: RFC - MACRO

From: Date: Wed, 22 Dec 2010 17:17:36 +0000
Subject: Re: RFC - MACRO
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-51117@lists.php.net to get a copy of this message
<?php MACRO('TE','throw new Excpeption();'); function test($var) { if ($var < 0) { TE } } On Wed, Dec 22, 2010 at 3:11 PM, Mathias Grimm <mathiasgrimm@gmail.com>wrote: > I want to request a C/C++ feature that i think is good. > > MACRO > > <?php > MACRO('PF','private function _'); > MACRO('SCOPE_CLASS','class MyProject_'); > > class UseMacro > { > PF preSave($object) > { > //... > } > > } > > SCOPE_CLASS Internal > { > > } > > I don know if there is a RFC for this feature. >

« previous php.internals (#51117) next »