Dear sirs,
this patch for PHP5 adds four new string functions into the extension
'standard':
- hexdump()
- packhex()
- smart_hexdump()
- smart_packhex()
The description of these functions and smart hexdump format in general is
attached in the file 'hexdump_descr.txt'.
I've tested this on PHP 5.2.0 and on the last CVS tree of PHP 5.2.0
Attachments:
-
hexdump_functions.patch - patch for the last CVS tree of the PHP 5.2.0.
It patches files 'ext/standard/basic_functions.c', 'ext/standard/config.m4',
'ext/standard/config.w32', 'win32/php5dllts.dsp' -
hexdump.c and php_hexdump.h - files, that should be placed into
'ext/standard/', which implements the hexdump functions. -
hexdump.phpt - test file for hexdump function, that should be placed into
'ext/standard/tests/strings/' -
hexdump_descr.txt - detailed description of the hexdump functions
interface and smart hexdump format
If it needs to create any documentation stuff for help file (and translate
it, for example to russian), I will do it.
Thanks.
--
Regards,
Alexander Demin
demin@ots.ru
Dear sirs,
this patch for PHP5 adds four new string functions into the extension
'standard':
- hexdump()
- packhex()
- smart_hexdump()
- smart_packhex()
The description of these functions and smart hexdump format in general is
attached in the file 'hexdump_descr.txt'.
I've tested this on PHP 5.2.0 and on the last CVS tree of PHP 5.2.0
Attachments:
-
hexdump_functions.patch - patch for the last CVS tree of the PHP 5.2.0.
It patches files 'ext/standard/basic_functions.c', 'ext/standard/config.m4',
'ext/standard/config.w32', 'win32/php5dllts.dsp' -
hexdump.c and php_hexdump.h - files, that should be placed into
'ext/standard/', which implements the hexdump functions. -
hexdump.phpt - test file for hexdump function, that should be placed into
'ext/standard/tests/strings/' -
hexdump_descr.txt - detailed description of the hexdump functions
interface and smart hexdump format
If it needs to create any documentation stuff for help file (and translate
it, for example to russian), I will do it.
Thanks.
--
Regards,
Alexander Demin
demin@ots.ru
Dear sirs,
this patch for PHP5 adds four new string functions into the extension
'standard':
- hexdump()
- packhex()
- smart_hexdump()
- smart_packhex()
The description of these functions and smart hexdump format in general is
attached in the file 'hexdump_descr.txt'.
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.
--
Wbr,
Antony Dovgal