diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-10-21 07:42:35 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-10-21 07:42:35 +0000 |
commit | 798ec79319e2d50959588fd19089929044d094dc (patch) | |
tree | 687a696281fae49518041800b59c9b10225e6326 /ext/standard/php_array.h | |
parent | 884cb737f03c379f9333e5a252eff360ad7aee8a (diff) | |
download | php-git-798ec79319e2d50959588fd19089929044d094dc.tar.gz |
Motivated by bug #13607 I wrote up a simple array_init() function that
lets you quickly create an array and initialize each element to a certain
value.
@ Add array_init() function (Rasmus)
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r-- | ext/standard/php_array.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index fde51f4dbe..7598f2aaa5 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -52,6 +52,7 @@ PHP_FUNCTION(in_array); PHP_FUNCTION(array_search); PHP_FUNCTION(extract); PHP_FUNCTION(compact); +PHP_FUNCTION(array_init); PHP_FUNCTION(range); PHP_FUNCTION(shuffle); PHP_FUNCTION(array_multisort); |