Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26272 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55891 invoked by uid 1010); 28 Oct 2006 03:38:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55876 invoked from network); 28 Oct 2006 03:38:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Oct 2006 03:38:38 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from [204.11.219.139] ([204.11.219.139:52321] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/1B-07808-CB0D2454 for ; Fri, 27 Oct 2006 23:38:38 -0400 Received: from [192.168.200.104] (c-67-169-43-97.hsd1.ca.comcast.net [67.169.43.97]) (authenticated bits=0) by lerdorf.com (8.13.8/8.13.8/Debian-2) with ESMTP id k9S3cYWp016058; Fri, 27 Oct 2006 20:38:34 -0700 Message-ID: <4542D0B9.7060206@lerdorf.com> Date: Fri, 27 Oct 2006 20:38:33 -0700 User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: toomuchphp-vimdev@yahoo.com CC: internals@lists.php.net References: <20061028032322.27187.qmail@web54510.mail.yahoo.com> In-Reply-To: <20061028032322.27187.qmail@web54510.mail.yahoo.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] How to find all PHP funtions/classes/constants From: rasmus@lerdorf.com (Rasmus Lerdorf) 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. > > Second, I tried to scan the PHP manual, but this is time consuming and not 100% > accurate (page layout is very inconsistent). > > Does anyone know if it would be effective to 'grep' the PHP source code to find > all these built-in words? phpdoc/scripts in cvs -Rasmus