largeQ
那应该是比较老的版本,新可以看到ext目录下有个php文件ext_skel.php
$ php ./ext/ext_skel.php --help
php ext_skel.php --ext [--experimental] [--author ]
[--dir ] [--std] [--onlyunix]
[--onlywindows] [--help]
--ext The name of the extension defined as
--experimental Passed if this extension is experimental, this creates
the EXPERIMENTAL file in the root of the extension
--author Your name, this is used if --std is passed and
for the CREDITS file
--dir Path to the directory for where extension should be
created. Defaults to the directory of where this script
lives
--std If passed, the standard header and vim rules footer used
in extensions that is included in the core, will be used
--onlyunix Only generate configure scripts for Unix
--onlywindows Only generate configure scripts for Windows
--help This help
$ php ./ext/ext_skel.php --ext myfunc