View Single Post
Old 03.11.2006, 08:10   #11
Kenjiro
Архивный участник
 
Join Date: Apr 2006
Posts: 120
Default

Quote:
Originally Posted by hel View Post
Thanks!
Will add this function in the next build!
PS: Got it from L2z?
Nope, try&errors method
Quote:
Originally Posted by hel View Post
Could anyone explain, how different "V" and "i" in pack() function? :wave:
From php manual:
i signed integer (machine dependent size and byte order)
V unsigned long (always 32 bit, little endian byte order)

Option 'i' could give 64bit output, if php has been compiled in 64bit mode (i have 32bit php/apache/mysql binaries, thus it gives the same as 'V'). Option 'V' (in my opinion) is safer than 'i' (for future releases).
Kenjiro is offline