Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21565 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40821 invoked by uid 1010); 18 Jan 2006 07:58:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40806 invoked from network); 18 Jan 2006 07:58:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2006 07:58:37 -0000 X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:1124] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 16/D8-32596-C25FDC34 for ; Wed, 18 Jan 2006 02:58:37 -0500 Received: from localhost ([127.0.0.1] helo=stumpy) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1Ez7Ka-0006sa-00 for internals@lists.php.net; Tue, 17 Jan 2006 23:02:08 -0800 Message-ID: <002301c61c05$626f66c0$7d051fac@stumpy> To: Date: Wed, 18 Jan 2006 00:01:26 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Naming Arguments From: pollita@php.net ("Sara Golemon") That's "Naming" not "Named". From the perspective of providing reflection in general and giving something for editors with code completion to use in specific, would there be an interrest in backfilling the arg_info structs for internal functions (both core and otherwise) with argument naming and type hinting even where it's not technically needed? On the con side, this does add memory usage and processing time for no direct production benefit. Any utility which wanted this degree of introspection *could* parse the XML protos in phpdoc and get the same (or better) information, so it doesn't really gain that much for what it costs. Do please forget about the work required to fill in this information. There are more than enough volunteers to do the grunge work(and frankly it'd be tough for 'em to get it horribly wrong), this is just a question of: "Would there be an interrest in folding this data into the core?" and secondly: "Should new extension writers be encouraged to fill this information in?". -Sara