ext_skel 锟脚憋拷

PHP 锟斤拷展锟缴硷拷锟斤拷锟侥硷拷锟斤拷桑锟斤拷锟叫╋拷募锟斤拷锟斤拷锟斤拷锟斤拷锟秸癸拷锟剿碉拷锟斤拷锟酵拷玫摹锟斤拷锟酵拷锟秸怪拷洌拷锟叫╋拷募锟斤拷暮芏锟较革拷锟斤拷锟斤拷锟斤拷频模锟街伙拷锟揭拷锟斤拷锟饺ワ拷锟斤拷锟矫匡拷锟斤拷募锟斤拷锟斤拷锟斤拷荨锟斤拷锟斤拷说锟斤拷牵锟斤拷薪疟锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷械某锟绞硷拷锟斤拷锟斤拷锟斤拷锟斤拷锟轿� ext_skel锟斤拷锟斤拷 PHP 4.0 锟斤拷锟斤拷锟斤拷一锟斤拷址锟斤拷锟�

锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 ext_skel 锟斤拷 PHP 5.2.2 锟叫伙拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷

php-5.2.2/ext$ ./ext_skel 
./ext_skel --extname=module [--proto=file] [--stubs=file] [--xml[=file]]
           [--skel=dir] [--full-xml] [--no-help]

  --extname=module   module is the name of your extension
  --proto=file       file contains prototypes of functions to create
  --stubs=file       generate only function stubs in file
  --xml              generate xml documentation to be added to phpdoc-cvs
  --skel=dir         path to the skeleton directory
  --full-xml         generate xml documentation for a self-contained extension
                     (not yet implemented)
  --no-help          don't try to be nice and create comments in the code
                     and helper functions to test if the module compiled
通锟斤拷锟斤拷说锟斤拷锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷展时锟斤拷锟斤拷锟斤拷锟阶拷牟锟斤拷锟斤拷锟� --extname 锟斤拷 --no-help锟斤拷锟斤拷锟斤拷锟窖撅拷锟斤拷悉锟斤拷展锟侥结构锟斤拷锟斤拷要锟斤拷去使锟斤拷 --no-help; 指锟斤拷锟剿诧拷锟斤拷锟斤拷锟斤拷锟� ext_skel 锟斤拷锟斤拷锟斤拷锟斤拷锟缴碉拷锟侥硷拷锟斤拷省锟皆很讹拷锟斤拷锟矫碉拷注锟酵★拷

剩锟铰碉拷 --extname 锟结将锟斤拷展锟斤拷锟斤拷锟狡达拷锟斤拷 ext_skel锟斤拷"name" 锟斤拷一锟斤拷全为小写锟斤拷母锟侥憋拷识锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷母锟斤拷锟铰伙拷锟竭o拷锟斤拷 PHP 锟斤拷锟叫帮拷锟斤拷 ext/ 锟侥硷拷锟斤拷锟斤拷锟斤拷唯一锟侥★拷

--proto 选锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷员指锟斤拷一锟斤拷头锟侥硷拷锟斤拷锟缴此达拷锟斤拷一系锟斤拷 PHP 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟较匡拷锟斤拷锟斤拷要锟斤拷锟斤拷锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟秸癸拷锟斤拷锟斤拷源锟斤拷锟斤拷头锟街达拷锟斤拷锟侥硷拷锟斤拷说锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟矫★拷锟斤拷锟斤拷锟� zlib.h 头锟侥硷拷锟斤拷锟斤拷锟斤拷锟皆o拷锟酵会导锟斤拷锟斤拷 ext_skel 锟斤拷锟斤拷锟斤拷募锟斤拷写锟斤拷诖锟斤拷锟斤拷目盏暮锟斤拷锟斤拷锟斤拷锟斤拷原锟斤拷锟侥硷拷锟斤拷--xml 锟斤拷 --full-xml 选锟筋当前锟斤拷全锟斤拷锟斤拷锟斤拷锟矫★拷--skel 选锟斤拷锟斤拷锟斤拷锟街革拷锟斤拷锟揭伙拷锟斤拷薷墓锟斤拷目锟斤拷锟侥硷拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟角憋拷锟节凤拷围之锟斤拷幕锟斤拷锟斤拷恕锟�