i have been trying to understand the pack function. I’m having trouble on this sort of code
pack( 'NNnNna*', $string);
what does NNnNna* mean? and also i saw others as axa* and a4xa*.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
After googling “PHP pack”, you’d find this on php.net.
There’s also a lot of discussion on the bottom. (by the way, every PHP function, variable, object, etc., has documentation, change-logs, discussion, and related functions on php.net, so always check there first).