A list of PHP 6 changes from the old documentation

From: Date: Sat, 10 Apr 2010 07:07:52 +0000
Subject: A list of PHP 6 changes from the old documentation
Groups: php.internals 
Request: Send a blank email to internals+get-47855@lists.php.net to get a copy of this message
Here's a list of stuff we documented for [the old] PHP 6. This does _not_ necessarily reflect
what was implemented, or what was going to be implemented, but it only refers to what did end up in
the documentation (but is now commented out or removed). 

Please determine which features/ideas are dead (or on extended holiday) versus which will end up in
the current trunk.

Again, this only refers to stuff that was found within the PHP Manual for PHP 6. Of course, not
every perceived PHP 6 change was documented


Functions:
------------------------------
*** New:
- Extension: i18n (part of ext/unicode I believe)
- Extension: unicode
- gzdecode()
- idn_to_unicode() (via ext/intl)
- is_binary()
- is_buffer()
- is_unicode()
- stream_encoding()

*** Changed:
- GD extension: removed support for GD/FreeType 1.x
- declare(): encoding directive informs scanner
- array sorting: setlocale() vs i18n_loc_set_default() for SORT_LOCALE_STRING
- file_get_contents(): 'use_include_path' parameter changed to 'flags', with
many added options
- proc_open(): added 'context' and 'binary_pipes' as other_options
- ob_start(): chunk_size of 1 no longer means '4096'
- stream_resolve_include_path(): Added context parameter
- chr(): now uses codepoint as input

*** Removed:
- Extension: ereg
- define_syslog_variables()
- mysql_db_query()
- mysql_escape_string()
- session_register()
- session_unregister()
- session_is_registered()
- set_magic_quotes_runtime()

INI Directives:
------------------------------
*** New:
- mysql.allow_local_infile
- mysql.cache_size
- mysqli.allow_local_infile
- mysqli.cache_size
- mysqlnd.collect_statistics
- sqlite.iso8859.locale
- unicode.fallback_encoding
- unicode.filesystem_encoding
- unicode.http_input_encoding
- unicode.output_encoding
- unicode.runtime_encoding
- unicode.script_encoding
- unicode.stream_encoding

*** Changed:
- allow_url_fopen (PHP_INI_ALL to PHP_INI_SYSTEM)
- error_reporting (E_STRICT part of E_ALL)

*** Removed:
- allow_call_time_pass_reference
- define_syslog_variables
- detect_unicode
- enable_dl
- highlight.bg
- magic_quotes_gpc
- magic_quotes_runtime
- magic_quotes_sybase
- pdo_odbc.db2_instance_name
- register_globals
- register_long_arrays
- safe_mode
- safe_mode_allowed_env_vars
- safe_mode_exec_dir
- safe_mode_gid
- safe_mode_include_dir
- safe_mode_protected_env_vars
- session.bug_compat_42
- session.bug_compat_warn

Other:
------------------------------
- (binary) type casting/juggling
- FILE_BINARY and FILE_TEXT constants for file functions have uses

Regards,
Philip


Thread (5 messages)

« previous php.internals (#47855) next »