/* ("root", "passwd", "uid", "gid", "other:stuff:like:/bin/sh")
= split(":", $passwd_file, 5); */
/* {{{ proto array split(string pattern, string string [, int limit])
- split string into array by regular expression */
+ Split string into array by regular expression */
PHP_FUNCTION(split)
{
pval **spliton, **str, **arg_count = NULL;
/* pack() idea stolen from Perl (implemented formats behave the same as there)
* Implemented formats are A,a,h,H,c,C,s,S,i,I,l,L,n,N,f,d,x,X,@.
*/
-/* {{{ proto string pack(string format, mixed arg1, mixed arg2, ...)
+/* {{{ proto string pack(string format, mixed arg1 [, mixed arg2 [, ...]])
Takes 1 or more arguments and packs them into a binary string according to the format argument */
PHP_FUNCTION(pack)
{
/* ("root", "passwd", "uid", "gid", "other:stuff:like:/bin/sh")
= split(":", $passwd_file, 5); */
/* {{{ proto array split(string pattern, string string [, int limit])
- split string into array by regular expression */
+ Split string into array by regular expression */
PHP_FUNCTION(split)
{
pval **spliton, **str, **arg_count = NULL;
return new;
}
-/* proto bin2hex(string data)
- converts the binary representation of data to hex */
+/* {{{ proto string bin2hex(string data)
+ Converts the binary representation of data to hex */
PHP_FUNCTION(bin2hex)
{
zval **data;
RETURN_STRINGL(new, newlen, 0);
}
-
+/* }}} */
/* {{{ proto int strspn(string str, string mask)
Find length of initial segment consisting entirely of characters found in mask */
}
/* {{{ proto string addcslashes(string str, string charlist)
- Escape all chars mentioned in charlist with backslash. It creates
- octal representations if asked to backslash characters with 8th bit set
- or with ASCII<32 (except '\n', '\r', '\t' etc...) */
+ Escape all chars mentioned in charlist with backslash. It creates octal representations if asked to backslash characters with 8th bit set or with ASCII<32 (except '\n', '\r', '\t' etc...). */
PHP_FUNCTION(addcslashes)
{
zval **str, **what;
/* }}} */
/* {{{ proto string stripcslashes(string str)
- Strip backslashes from a string. Uses C-style conventions*/
+ Strip backslashes from a string. Uses C-style conventions */
PHP_FUNCTION(stripcslashes)
{
zval **str;
}
/* }}} */
-/* {{{ proto mixed count_chars(string input[, int mode])
+/* {{{ proto mixed count_chars(string input [, int mode])
Returns info about what characters are used in input */
PHP_FUNCTION(count_chars)
{