Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14843 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81634 invoked by uid 1010); 11 Feb 2005 22:38:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 81619 invoked from network); 11 Feb 2005 22:38:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2005 22:38:43 -0000 X-Host-Fingerprint: 83.97.50.139 jan.prima.de FreeBSD 4.6-4.9 Received: from ([83.97.50.139:2733] helo=jan.prima.de) by pb1.pair.com (ecelerity 1.2.11 (r4403)) with SMTP id B2/1B-38127-2F33D024 for ; Fri, 11 Feb 2005 17:38:43 -0500 Received: from BAUMBART (pD95F816B.dip.t-dialin.net [::ffff:217.95.129.107]) (IDENT: HydraIRC, AUTH: LOGIN tobi) by jan.prima.de with esmtp; Fri, 11 Feb 2005 22:38:39 +0000 Date: Fri, 11 Feb 2005 23:38:32 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <787891903.20050211233832@marcus-boerger.de> To: Andi Gutmans CC: Sean Coates , Ante Drnasin , internals@lists.php.net In-Reply-To: <5.1.0.14.2.20050211142333.02095c00@localhost> References: <5.1.0.14.2.20050211115053.01cab4f0@localhost> <5.1.0.14.2.20050211084917.02183590@localhost> <1108070462.20077.129.camel@localhost.localdomain> <20050207141916.21665.qmail@lists.php.net> <1062509740.20050209103014@marcus-boerger.de> <20050209110525.1936.qmail@lists.php.net> <20050209164713.GC25360@gravitonic.com> <20050210080546.52065.qmail@lists.php.net> <20050210185558.GA64423@gravitonic.com> <1108068700.20077.121.camel@localhost.localdomain> <1108070462.20077.129.camel@localhost.localdomain> <5.1.0.14.2.20050211084917.02183590@localhost> <5.1.0.14.2.20050211115053.01cab4f0@localhost> <5.1.0.14.2.20050211142333.02095c00@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Autoboxing in php 5.1 From: helly@php.net (Marcus Boerger) Hello Andi, you can but that would be different. You somehow have to know then what is there to parse and you couldn't write something like 'phpdoc' that requires correct syntax for both code and comment. marcus Friday, February 11, 2005, 11:23:40 PM, you wrote: > Can't you use the reflection API to get the data? > At 11:19 PM 2/11/2005 +0100, Marcus Boerger wrote: >>Hello Andi, >> >>Friday, February 11, 2005, 8:51:16 PM, you wrote: >> >> > At 01:33 PM 2/11/2005 -0500, Sean Coates wrote: >> >>Andi Gutmans wrote: >> >>>I think phpDoc is the solution because especially as we start going into >> >>>the web services realm we're going to need to document more complex >> >>>signatures and this kind of syntax won't be sufficient anyway. >> >>>We will need to have a way to document web services so that we can >> >>>auto-generate WSDL files. >> >> >> >>It would be nice to be able to (optionally) parse phpdoc comments with the >> >>reflection API (not only return the docComment, but also parse it into >> >>appropriate pieces), if this is going to be the "official" way to do this. >> >> >> >>Note: I'm not making any demands... just an idea/request. >> >> > Yes, that could be nice. Maybe someone will write an ext/docComment. >> > Shouldn't be too hard. >> >>We'd need a new engine function pointer, one that allows to interpret every >>docComment grabbed from the script :-) >> >> >>-- >>Best regards, >> Marcus mailto:helly@php.net -- Best regards, Marcus mailto:helly@php.net