diff options
author | Andrei Zmievski <andrei@php.net> | 2000-06-06 20:42:33 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-06-06 20:42:33 +0000 |
commit | b928bdceb8d3cc3bbb548c5ad4091d10963a2850 (patch) | |
tree | 80adf6e549877af90d564e93e632a4cac4f8f059 /ext/standard/php_string.h | |
parent | 6a8fdc6c5ce6d91447f72f5db243cb78fe01ad40 (diff) | |
download | php-git-b928bdceb8d3cc3bbb548c5ad4091d10963a2850.tar.gz |
@- Added str_pad() for padding a string with an arbitrary string on left or
@ right. (Andrei)
Added str_pad() for padding a string with an arbitrary string on left or right.
# With all those macros, the code is starting to eerily resemble Perl's guts.
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 ea03855cdc..983d098ca3 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -86,6 +86,7 @@ PHP_FUNCTION(substr_replace); PHP_FUNCTION(strnatcmp); PHP_FUNCTION(strnatcasecmp); PHP_FUNCTION(substr_count); +PHP_FUNCTION(str_pad); PHP_FUNCTION(sscanf); #define strnatcmp(a, b) \ |