Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26273 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99429 invoked by uid 1010); 28 Oct 2006 09:36:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99413 invoked from network); 28 Oct 2006 09:36:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Oct 2006 09:36:07 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 82.94.239.5 cause and error) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from [82.94.239.5] ([82.94.239.5:47255] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/21-22030-48423454 for ; Sat, 28 Oct 2006 05:36:06 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id k9S9a1wW005550; Sat, 28 Oct 2006 11:36:01 +0200 Date: Sat, 28 Oct 2006 11:35:44 +0200 (CEST) X-X-Sender: derick@localhost To: Peter Hodge cc: internals@lists.php.net In-Reply-To: <20061028032322.27187.qmail@web54510.mail.yahoo.com> Message-ID: References: <20061028032322.27187.qmail@web54510.mail.yahoo.com> X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] How to find all PHP funtions/classes/constants From: derick@php.net (Derick Rethans) On Sat, 28 Oct 2006, Peter Hodge wrote: > Hello everyone, > > I am in the process of updating the PHP syntax file for Vim, and I need to > gather a list of all built-in PHP functions, constants, classes, interfaces, > and preferably also the methods and class-constants from said built-in classes > and interfaces. > > First I used my PHP's get_defined_functios() and similar classes to havest my > list, but this misses out on any extensions I don't have compiled. The following suffers from the same problems, but also shows constants, ini settings, classes etc: for i in `php -r 'foreach(get_loaded_extensions() as $ext) { echo "$ext "; }';`; do php --re $i; done regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org