diff options
author | Andrey Hristov <andrey@php.net> | 2002-09-25 18:06:05 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2002-09-25 18:06:05 +0000 |
commit | fc46a46b06355234dadc98268bf9eea6b903c54e (patch) | |
tree | 5f619fb30b07bcb069f909e7f7651f8c26c203c0 /ext/standard/php_string.h | |
parent | c9b9e63ea394e32ec0ac316a87894eb67c1da184 (diff) | |
download | php-git-fc46a46b06355234dadc98268bf9eea6b903c54e.tar.gz |
str_shuffle() function added. Like shuffle() for arrays - however the
algorithm for creating the permutation is quite simple. More like
the implementation of shuffle() for 4.2.1 .
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r-- | ext/standard/php_string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index 6fbc57bd42..4b10700762 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -82,6 +82,7 @@ PHP_FUNCTION(strnatcasecmp); PHP_FUNCTION(substr_count); PHP_FUNCTION(str_pad); PHP_FUNCTION(sscanf); +PHP_FUNCTION(str_shuffle); #ifdef HAVE_STRCOLL PHP_FUNCTION(strcoll); #endif |