Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14276 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7400 invoked by uid 1010); 4 Jan 2005 15:02:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7344 invoked from network); 4 Jan 2005 15:02:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2005 15:02:25 -0000 X-Host-Fingerprint: 195.82.120.217 stack.fission.org.uk Linux 2.4/2.6 Received: from ([195.82.120.217:39115] helo=stack.fission.org.uk) by pb1.pair.com (ecelerity HEAD (r3992M)) with SMTP id 63/0B-27561-FFFAAD14 for ; Tue, 04 Jan 2005 10:02:23 -0500 Received: from mesa.fission.org.uk ([82.70.115.105]) by stack.fission.org.uk with esmtp (Exim 3.36 #1 (Debian)) id 1ClqBk-0004oK-00 for ; Tue, 04 Jan 2005 15:01:36 +0000 Message-ID: <41DAAFCC.8020905@fission.org.uk> Date: Tue, 04 Jan 2005 15:01:32 +0000 User-Agent: Mozilla Thunderbird 0.9 (X11/20041125) X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net References: <41DA068A.9080009@fission.org.uk> <5c2874720501040342d92196d@mail.gmail.com> In-Reply-To: <5c2874720501040342d92196d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] bit of an odd bug From: gareth@fission.org.uk (Gareth Ardron) Jason Sweat wrote: >Hi Gareth, > >In addition to the other options people have mentioned, you could also >use the old standby of: >eval("\$result = $scanning_class::scanBuffer(\$input);"); > > Cheers for all the replies, people. I may have a bit of a prod at the internals this evening though, as this is a bloody annoying thing when you're trying to build up a highly modularised system - and I'd like the code as clean as possible really, not jumping through hoops like use reflection API to do this as it has to be maintained by people who haven't yet encountered that type of thing. Cheers, -- Gareth Ardron