summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-05-19 18:40:27 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-05-19 18:40:27 +0000
commita3899eda3e69781a6bcf9d1a37a6b021c9596a0e (patch)
treec7fdcec07bb8e29196f5197f8e507848a99ce798
parentc554031b2484a04d9d91ea3f2cabcc4f2670e7a8 (diff)
downloadphp-git-a3899eda3e69781a6bcf9d1a37a6b021c9596a0e.tar.gz
Fixed typo in constant name
-rwxr-xr-xext/spl/php_spl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index 378ced4019..10ffb95bc4 100755
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -45,7 +45,7 @@ ZEND_GET_MODULE(spl)
ZEND_DECLARE_MODULE_GLOBALS(spl)
-#define SPL_DEFAULT_FILE_EXTRNSIONS ".inc,.php"
+#define SPL_DEFAULT_FILE_EXTENSIONS ".inc,.php"
/* {{{ spl_functions_none
*/
@@ -274,7 +274,7 @@ PHP_FUNCTION(spl_autoload)
}
if (file_exts == NULL) { /* autoload_extensions is not intialzed, set to defaults */
- copy = pos1 = estrndup(SPL_DEFAULT_FILE_EXTRNSIONS, sizeof(SPL_DEFAULT_FILE_EXTRNSIONS)-1);
+ copy = pos1 = estrndup(SPL_DEFAULT_FILE_EXTENSIONS, sizeof(SPL_DEFAULT_FILE_EXTENSIONS)-1);
} else {
copy = pos1 = estrndup(file_exts, file_exts_len);
}
@@ -335,7 +335,7 @@ PHP_FUNCTION(spl_autoload_extensions)
}
if (SPL_G(autoload_extensions) == NULL) {
- RETURN_STRINGL(SPL_DEFAULT_FILE_EXTRNSIONS, sizeof(SPL_DEFAULT_FILE_EXTRNSIONS) - 1, 1);
+ RETURN_STRINGL(SPL_DEFAULT_FILE_EXTENSIONS, sizeof(SPL_DEFAULT_FILE_EXTENSIONS) - 1, 1);
} else {
RETURN_STRINGL(SPL_G(autoload_extensions), SPL_G(autoload_extensions_len), 1);
}