Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84341 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44539 invoked from network); 5 Mar 2015 13:44:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Mar 2015 13:44:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@tutteli.ch; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@tutteli.ch; sender-id=pass Received-SPF: pass (pb1.pair.com: domain tutteli.ch designates 80.74.154.78 as permitted sender) X-PHP-List-Original-Sender: php@tutteli.ch X-Host-Fingerprint: 80.74.154.78 ns73.kreativmedia.ch Linux 2.6 Received: from [80.74.154.78] ([80.74.154.78:35598] helo=hyperion.kreativmedia.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 52/A0-40418-6CD58F45 for ; Thu, 05 Mar 2015 08:44:43 -0500 Received: (qmail 8688 invoked from network); 5 Mar 2015 14:44:35 +0100 Received: from cm135-167.liwest.at (HELO RoLaptop) (81.10.135.167) by ns73.kreativmedia.ch with ESMTPSA (AES256-SHA encrypted, authenticated); 5 Mar 2015 14:44:34 +0100 To: "'PHP Internals'" Date: Thu, 5 Mar 2015 14:44:33 +0100 Message-ID: <002701d0574a$83ab4360$8b01ca20$@tutteli.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdBXSG9KwLUg0nlmRrKC1updmGq5cw== Content-Language: de-ch Subject: function signatures in XML From: php@tutteli.ch ("Robert Stoll") Heya, Does PHP store somewhere meta-information of all internal functions (and operators) in a portable format such as XML? I would like to extract information such as - parameters including types - return type automatically. Preferably each overload of a function but I guess that does not exist. For instance, str_replace has overloads: string x string x string x (&int) -> string string x string x array x (&int) -> array array x string x string x (&int) -> string array x array x string x (&int) -> string array x array x array x (&int) -> array Unfortunately, the manual as such is not precise enough for my needs. Cheers, Robert