phpÖÐpackÓëunpack
pack/unpackµÄÃþ°å×Ö·û×Ö·ûº¬Òå
format ²ÎÊýµÄ¿ÉÄÜÖµ£º
a - NUL-padded string
A - SPACE-padded string
h - Hex string, low nibble first
H - Hex string, high nibble first
c - signed char
C - unsigned char
s - signed short (always 16 bit, machine byte order)
S - unsigned short (always 16 bit, machine byte order)
n - unsigned short (always 16 bit, big endian byte order)
v - unsigned short (always 16 bit, little endian byte order)
i - signed integer (machine dependent size and byte order)
I - unsigned integer (machine dependent size and byte order)
l - signed long (always 32 bit, machine byte order)
L - unsigned long (always 32 bit, machine byte order)
N - unsigned long (always 32 bit, big endian byte order)
V - unsigned long (always 32 bit, little endian byte order)
f - float (machine dependent size and representation)
d - double (machine dependent size and representation)
x - NUL byte
X - Back up one byte
@ - NUL-fill to absolute position
aÒ»¸öÌî³ä¿ÕµÄ×Ö½Ú´®
AÒ»¸öÌî³ä¿Õ¸ñµÄ×Ö½Ú´®
bÒ»¸öλ´®£¬ÔÚÿ¸ö×Ö½ÚÀïλµÄ˳Ðò¶¼ÊÇÉýÐò
BÒ»¸öλ´®£¬ÔÚÿ¸ö×Ö½ÚÀïλµÄ˳Ðò¶¼ÊǽµÐò
cÒ»¸öÓзûºÅchar£¨8λÕûÊý£©Öµ
CÒ»¸öÎÞ·ûºÅchar£¨8λÕûÊý£©Öµ£»¹ØÓÚUnicode²ÎÔÄU
d±¾»ú¸ñʽµÄË«¾«¶È¸¡µãÊý
f±¾»ú¸ñʽµÄµ¥¾«¶È¸¡µãÊý
hÒ»¸öÊ®Áù½øÖÆ´®£¬µÍËÄλÔÚÇ°
HÒ»¸öÊ®Áù½øÖÆ´®£¬¸ßËÄλÔÚÇ°
iÒ»¸öÓзûºÅÕûÊýÖµ£¬±¾»ú¸ñʽ
IÒ»¸öÎÞ·ûºÅÕûÊýÖµ£¬±¾»ú¸ñʽ
lÒ»¸öÓзûºÅ³¤ÕûÐΣ¬×ÜÊÇ32λ
LÒ»¸öÎÞ·ûºÅ³¤ÕûÐΣ¬×ÜÊÇ32λ
nÒ»¸ö16λ¶ÌÕûÐΣ¬“ÍøÂç”×Ö½ÚÐò£¨´óÍ·ÔÚÇ°£©
NÒ»¸ö32λ¶ÌÕûÐΣ¬“ÍøÂç”×Ö½ÚÐò£¨´óÍ·ÔÚÇ°£©
pÒ»¸öÖ¸Ïò¿Õ½áβµÄ×Ö´®µÄÖ¸Õë
PÒ»¸öÖ¸Ïò¶¨³¤×Ö´®µÄÖ¸Õë
qÒ»¸öÓзûºÅËı¶£¨64λÕûÊý£©Öµ
QÒ»¸öÎÞ·ûºÅËı¶£¨64λÕûÊý£©Öµ
sÒ»¸öÓзûºÅ¶ÌÕûÊýÖµ£¬×ÜÊÇ16λ
SÒ»¸öÎÞ·ûºÅ¶ÌÕûÊýÖµ£¬×ÜÊÇ16룬×Ö½ÚÐò¸ú»úÆ÷оƬÓйØ
uÒ»¸öÎÞ±àÂëµÄ×Ö´®
UÒ»¸öUnicode×Ö·ûÊý×Ö
vÒ»¸ö“VAX”×Ö½ÚÐò£¨Ð¡Í·ÔÚÇ°£©µÄ16λ¶ÌÕûÊý
VÒ»¸ö“VAX”×Ö½ÚÐò£¨Ð¡Í·ÔÚÇ°£©µÄ32λ¶ÌÕûÊý
wÒ»¸öBERѹËõµÄÕûÊý
xÒ»¸ö¿Õ×Ö½Ú£¨ÏòÇ°ºöÂÔÒ»¸ö×Ö½Ú£©
X±¸·ÝÒ»¸ö×Ö½Ú
ZÒ»¸ö¿Õ½áÊøµÄ£¨ºÍ¿ÕÌî³äµÄ£©×Ö½Ú´®
¹æÔò£º
1.ÿ¸ö×Öĸºó
Ïà¹ØÎĵµ£º
µ±´æÈ¡Ò»¸öÀàµÄ²»´æÔÚµÄÊôÐÔʱ£¬½âÎöÆ÷»áÅжÏÊÇ·ñÓÐÒÔÏÂÁ½¸öÊôÐÔ·ÃÎÊÆ÷·½·¨£º
__getºÍ__set¡£
Èç¹ûÓУ¬Ôò»á×Ô¶¯µ÷ÓÃÕâЩ·½·¨¡£Í¨¹ýÊôÐÔ·ÃÎÊÆ÷·½·¨¿ÉÒÔ¿ØÖƶÔÀàÊôÐԵķÃÎÊ£¬ÒÔʵÏÖ¶ÔÒª±£´æµÄÊý¾Ý½øÐмì²é£¬´Ó¶øÈ·±£ÊôÐÔÖµÓÐÒâÒåµÄÊý¾Ý¡£__get·½·¨Ö»ÓÐÒ»¸ö²ÎÊý£¬ÓÃÓÚ´«µÝÊôÐÔµÄÃû³Æ¡£__set·½·¨ÓÐÁ½¸ö²ÎÊý£¬·Ö±ðÓÃÓÚ´«µÝÊôÐÔ ......
££££££££££££££
°²×°pear
££££££££££££££
pearÊÇPHPµÄÀ©Õ¹ºÍÓ¦ÓóÌÐò¿â£¬°üº¬Á˺ܶàÓÐÓõÄÀ࣬°²×°ºÃphp5.0ºó£¬pearʵ¼ÊÉϲ¢Ã»Óб»°²×°£¬°²×°µÄ·½·¨ÈçÏ£º
1.ÔÚphpĿ¼ÖÐË«»÷go-pear.bat¡£
2.°´ÕÕÌáʾÊäÈëһЩÉèÖÃÐÅÏ¢£¬ ......
Ò»¡¢ ±äÁ¿ÃüÃû
a) ËùÓÐ×Öĸ¶¼Ê¹ÓÃСд
b) Ê××Öĸ¸ù¾Ý±äÁ¿ÖµÀàÐÍÖ¸¶¨
i. ÕûÊýi
ii. ¸¡µãÊýf
iii. ×Ö·û´®s
iv. ²¼¶ûÖµb
v. Êý×éa
vi. ¶ÔÏóo
vii. ×ÊÔ´r
viii. »ìºÏÀàÐÍm
c) ʹÓÃ’_’×÷Ϊÿһ¸ö´ÊµÄ·Ö½ç
ÀýÈ磺
$i_age_max = 10;
$f_price = 22.5;
$s_name =‘harry’;
$b_flag = true;
......
¡¡¡¡/***************************
¡¡¡¡* author : ´óÁäÇàÄê
¡¡¡¡* email : wenadmin@sina.com
¡¡¡¡* from: http://blog.csdn.net/hahawen
¡¡¡¡* תÔØÇë±£ÁôÕⲿ·ÖÐÅÏ¢£¬Ð»Ð»
¡¡¡¡***************************/
phpÒ³Ãæ·ÃÎÊʱ£¬Í³Ò»½øÐÐȨÏÞÑéÖ¤µÄÉè¼Æ
ÍíÉÏÓÐÈËÎÊÎÒ¹ØÓÚÍøÕ¾Ò³ÃæÏÔʾµÄʱºò£¬È¨ÏÞÅжϵÄÎÊÌâ¡£ÓÚÊǾÍÓ ......
eclipse ¿ìËÙ½¨Á¢PHPµ÷ÊÔ»·¾³
ÔÚÍøÉÏ¿´ÁËÐí¶à¹ØÓÚeclipse ½¨Á¢PHPµ÷ÊÔ»·¾³µÄÎÄÕÂ,×Ô¼ºÈ¥³¢ÊÔÁËÒ»·,µ«¶¼Ã»Óгɹ¦,ºóÀ´×Ô¼ºµ½ZendµÄ¹Ù·½È¥¿´,ÔÀ´ÊÇ°æ±¾µÄÎÊÌâ.ÏÖÔÚÌṩÍêÕûµÄÅäÖò½Öè.Ï£Íû³õѧÕßÄÜ¿ìËÙ½¨Á¢ºÃ»·¾³,°Ñ¾«Á¦¼¯Öе½´úÂë¶ø²»ÊÇÅäÖÃÉÏ.Èç¹ûÄú¿´Í껹ûÓÐÅäÖóɹ¦,Äú»¹¿ÉÒÔµã»÷ ÊÓƵ1 ÊÓƵ2 ´Ë´ ......