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 锟结将锟斤拷展锟斤拷锟斤拷锟狡达拷锟斤拷 ext_skel锟斤拷"name" 锟斤拷一锟斤拷全为小写锟斤拷母锟侥憋拷识锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷母锟斤拷锟铰伙拷锟竭o拷锟斤拷 PHP 锟斤拷锟叫帮拷锟斤拷 ext/ 锟侥硷拷锟斤拷锟斤拷锟斤拷唯一锟侥★拷
--proto 选锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷员指锟斤拷一锟斤拷头锟侥硷拷锟斤拷锟缴此达拷锟斤拷一系锟斤拷 PHP 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟较匡拷锟斤拷锟斤拷要锟斤拷锟斤拷锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟秸癸拷锟斤拷锟斤拷源锟斤拷锟斤拷头锟街达拷锟斤拷锟侥硷拷锟斤拷说锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟矫★拷锟斤拷锟斤拷锟� zlib.h 头锟侥硷拷锟斤拷锟斤拷锟斤拷锟皆o拷锟酵会导锟斤拷锟斤拷 ext_skel 锟斤拷锟斤拷锟斤拷募锟斤拷写锟斤拷诖锟斤拷锟斤拷目盏暮锟斤拷锟斤拷锟斤拷锟斤拷原锟斤拷锟侥硷拷锟斤拷--xml 锟斤拷 --full-xml 选锟筋当前锟斤拷全锟斤拷锟斤拷锟斤拷锟矫★拷--skel 选锟斤拷锟斤拷锟斤拷锟街革拷锟斤拷锟揭伙拷锟斤拷薷墓锟斤拷目锟斤拷锟侥硷拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟角憋拷锟节凤拷围之锟斤拷幕锟斤拷锟斤拷恕锟�