From fd8e60ae7e926da64ebd2e3b050c657356e63b68 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Sun, 18 May 2008 10:54:32 +0000 Subject: [PATCH] Change to for ext_skel (more appropriate) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@259906 c90b9560-bf6c-de11-be94-00142212c4b1 --- internals2/buildsys/skeleton.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internals2/buildsys/skeleton.xml b/internals2/buildsys/skeleton.xml index d2f9aff555..bf40c7dbdb 100644 --- a/internals2/buildsys/skeleton.xml +++ b/internals2/buildsys/skeleton.xml @@ -1,5 +1,5 @@ - + The ext_skel script @@ -7,11 +7,11 @@ the details of many of those files are similar from extension to extension, it can be laborous to duplicate the content for each one. Fortunately, there is a script which can do all of the initial setup for you. It's called - ext_skel, and it's been distributed with PHP since 4.0. + ext_skel, and it's been distributed with PHP since 4.0. - Running ext_skel with no parameters produces this + Running ext_skel with no parameters produces this output in PHP 5.2.2: --no-help. Unless you are already experienced with the structure of an extension, you will not want to use --no-help; specifying it causes - ext_skel to leave out many helpful comments in the + ext_skel to leave out many helpful comments in the files it generates. This leaves you with --extname, which tells - ext_skel what the name of your extension is. This + ext_skel what the name of your extension is. This "name" is an all-lowercase identifier containing only letters and underscores which is unique among everything in the ext/ folder of your PHP distribution. @@ -52,7 +52,7 @@ php-5.2.2/ext$ ./ext_skel ostensibly for the purpose of developing an extension based on a library, but it often functions poorly with most modern header files. A test run on the zlib.h header resulted in a very large number of - empty and nonsense prototypes in the ext_skel output + empty and nonsense prototypes in the ext_skel output files. The --xml and --full-xml options are entirely nonfunctional thus far. The --skel option can be used to specify a modified set of skeleton files to work from,