PHPÀ©Õ¹CʱµÄÎÊÌâ
ÎÒÓÃPHPÀ©Õ¹Cʱ£¬ÓõÄÊÇÔ´ÂëextĿ¼ÏµÄ./ext_skel
×îºó±àÒë×ÜÊDz»ÄÜÉú³ÉÀ©Õ¹Ä£¿éµÄ.so¶¯Ì¬¿â£¬ÎÒÓõİ汾ÊÇ5.3.0£¬
ÕâÊÇÔõô»ØÊ£¬¸ßÊÖ½â´ðÏÂ
²»ÄÜÉú³ÉʱÓÐɶÌáʾÐÅÏ¢£¿
ÔËÐÐÁË/ext_skel --extname=Ä£¿éÃû×Ö
ÏÔʾ
To use your new extension, you will have to execute the following steps:
1. $ cd ..
2. $ vi ext/skyfox/config.m4
3. $ ./buildconf
4. $ ./configure --[with|enable]-skyfox
5. $ make
6. $ ./php -f ext/skyfox/skyfox.php
7. $ vi ext/skyfox/skyfox.c
8. $ make
ÔËÐÐ ./php -f ext/skyfox/skyfox.phpÒâ˼²»ÄܼÓÔØ£¬È»ºóÎÒÒ²ÕÒ²»µ½skyfox.so
Ïà¹ØÎÊ´ð£º
±àÒëÆÕͨµÄcûÎÊÌâ°¡£¬µ«±àÒëjavahÉú³ÉµÄ¾Í±¨´í£º
gcc -O0 -g3 -Wall -c -fmessage-length=0 -oHelloWorld.o ..\HelloWorld.c
gcc -otest.exe HelloWorld.o
d:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../. ......
int a=2;
int i;
i=(a++)+(++a)+(a++)+(++a)+(a++);
printf("%d",i);
½á¹ûÊÇ20£¬Çë½â¶Á
ÕâÒѾ²»ÊÇÔ¾ÌùÁË£¬Ëͳ¼Æ¹ý½ñÌ ......
ÎÒ¸öÈ˸оõÓеĵط½Ã»±ØÒª¿´£¬·±ËöµÃºÝ£¬ÓÃ×Ô¼º×ܽáµÄ·½·¨¸üºÃ£¬´ó¼Ò˵˵×Ô¼ºµÄÒâ¼û
ÎҸоõ±ã½Ý¼ÆËãÓë²»¶Ô³Æ±ß½çÍêÈ«¸ù¾Ý×Ô¼ºµÄ¾ÑéÀ´£¬Óò»×Å¿´Å¶£¬´ó¼Ò˵˵
Äã¿´²»¿´ÄÇÊÇÄãµÄÊÂ
Æäʵ¶¼ÊÇ»ù´¡µÄ¶«Î÷À²
......
ÈçºÎÓÃcʵÏÖ×Ô¶¯µÄtelnet¹¦ÄÜ,ÓÐËÖªµÀÔõôÓÃcÓïÑÔÀ´ÊµÏÖ¡£ÎÊÌâÖ÷ÒªÊÇtelnetµÄÓû§Ãû£¬ÃÜÂëÒª½»»¥Ê½µÄÊäÈ룬ÔõôÄܹ»ÓóÌÐòʵÏÖ°¡£¬¸ßÊÖÖ¸½Ì°¡
ÎÒÓÐÔ´Âë ÄãÒªµÄ»° ÁôÏÂÓÊÏä
flynecnt@qq.com ллÁË
liuzhizu1 ......