On Mon Dec 25 09:46:13 2006, Antony Dovgal wrote:

this patch for PHP5 adds four new string functions into the extension
'standard':
- hexdump()
- packhex()
- smart_hexdump()
- smart_packhex()

Please elaborate on how these functions can be useful, why in your
opinion they should be added
to the core (and not PECL) and why this cannot be implemented in PHP itself.

I think, hexdump manipulation functions are very useful string functions.
I have been using hexdump(), packhex() and smart hex functions,
written on PHP, and including it in many projects more than 2 years,
and at last I've implemented it into php core.
It helps in debugging:
- communication protocols
- any algorithms with binary data
- any kind of logging
etc

why to the core? because pack() function is already in the core. It's
good function, but it's a little bit complex for every minute using.

hexdump manipulation is like md5, crc32 etc. It is every minute
function, I think.

--
Regards,
Alexander Demin

Reply via email to