diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2010-04-12 07:34:30 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2010-04-12 07:34:30 +0000 |
commit | 4e7b11cccedddcdaa57c694d13d9276c8997d413 (patch) | |
tree | b5f726f970b39cee801695bf12ee674d35624bcc /main | |
parent | ecd006350ab1a068acb5acd888ee73356022e7dd (diff) | |
download | php-git-4e7b11cccedddcdaa57c694d13d9276c8997d413.tar.gz |
Removed y2k_compliance ini option, making it "always" enabled internally
- The only reference to y2k_compliance was in php_std_date(). Browsers thats not compatable have a marketshare of 0.01% if they even are in use today
Diffstat (limited to 'main')
-rw-r--r-- | main/main.c | 1 | ||||
-rw-r--r-- | main/php_globals.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/main/main.c b/main/main.c index 92630c8a80..8015476b93 100644 --- a/main/main.c +++ b/main/main.c @@ -471,7 +471,6 @@ PHP_INI_BEGIN() STD_PHP_INI_BOOLEAN("short_open_tag", DEFAULT_SHORT_OPEN_TAG, PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateBool, short_tags, zend_compiler_globals, compiler_globals) STD_PHP_INI_BOOLEAN("sql.safe_mode", "0", PHP_INI_SYSTEM, OnUpdateBool, sql_safe_mode, php_core_globals, core_globals) STD_PHP_INI_BOOLEAN("track_errors", "0", PHP_INI_ALL, OnUpdateBool, track_errors, php_core_globals, core_globals) - STD_PHP_INI_BOOLEAN("y2k_compliance", "1", PHP_INI_ALL, OnUpdateBool, y2k_compliance, php_core_globals, core_globals) STD_PHP_INI_ENTRY("unserialize_callback_func", NULL, PHP_INI_ALL, OnUpdateString, unserialize_callback_func, php_core_globals, core_globals) STD_PHP_INI_ENTRY("serialize_precision", "100", PHP_INI_ALL, OnUpdateLongGEZero, serialize_precision, php_core_globals, core_globals) diff --git a/main/php_globals.h b/main/php_globals.h index b698acb6d2..f12073abc3 100644 --- a/main/php_globals.h +++ b/main/php_globals.h @@ -127,8 +127,6 @@ struct _php_core_globals { zend_bool register_argc_argv; zend_bool auto_globals_jit; - zend_bool y2k_compliance; - char *docref_root; char *docref_ext; |