Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4069 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52832 invoked from network); 18 Aug 2003 19:09:58 -0000 Received: from unknown (HELO mail.wp-sa.pl) (212.77.102.105) by pb1.pair.com with SMTP; 18 Aug 2003 19:09:58 -0000 Received: from wp-sa.pl ([62.181.161.66]) by mail.wp-sa.pl (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTPA id <0HJT004F2X7ZU7@mail.wp-sa.pl> for internals@lists.php.net; Mon, 18 Aug 2003 21:09:35 +0200 (CEST) Date: Mon, 18 Aug 2003 21:09:56 +0200 In-reply-to: <20030818185708.47629.qmail@pb1.pair.com> To: Cristiano Duarte Cc: internals@lists.php.net Message-ID: <3F412484.9050801@wp-sa.pl> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: pl, en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030612 References: <20030818185708.47629.qmail@pb1.pair.com> Subject: Re: [PHP-DEV] userland macros From: wmeler@wp-sa.pl (Wojtek Meler) Cristiano Duarte wrote: > 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 ? I think you can use stream wrappers with some limitations (definitions should be in different file than their use). Regards, Wojtek