Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

These are all in 5_4

  • Loading branch information...
commit c500bd35f3abd237071a4dbba05b9666a32847e4 1 parent b16bb95
Hannes Magnusson authored September 12, 2011

Showing 1 changed file with 2 additions and 249 deletions. Show diff stats Hide diff stats

  1. 251  NEWS
251  NEWS
... ...
@@ -1,255 +1,8 @@
1 1
 PHP                                                                        NEWS
2 2
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3  
-?? ??? 201?, PHP 5.3.99
4  
-- Upgraded bundled Sqlite3 to version 3.7.4. (Ilia)
5  
-- Upgraded bundled PCRE to version 8.10. (Ilia)
6  
-
7  
-- Removed legacy features:
8  
-  . break/continue $var syntax. (Dmitry)
9  
-  . Safe mode and all related ini options. (Kalle)
10  
-  . register_globals and register_long_arrays ini options. (Kalle)
11  
-  . import_request_variables(). (Kalle)
12  
-  . allow_call_time_pass_reference. (Pierrick)
13  
-  . define_syslog_variables ini option and its associated function. (Kalle)
14  
-  . highlight.bg ini option. (Kalle)
15  
-  . Session bug compatibility mode (session.bug_compat42 and
16  
-    session.bug_compat_warn ini options). (Kalle)
17  
-  . session_is_registered(), session_register() and session_unregister() 
18  
-    functions. (Kalle)
19  
-  . y2k_compliance ini option. (Kalle)
20  
-
21  
-- Moved extensions to PECL: (Johannes)
22  
-  . ext/sqlite.  (Note: the ext/sqlite3 and ext/pdo_sqlite extensions are
23  
-    not affected)
24  
-
25  
-- Changed $_SERVER['REQUEST_TIME'] to include microsecond precision. (Ilia)
26  
-- Changed default value of "default_charset" php.ini option from ISO-8859-1 to
27  
-  UTF-8. (Rasmus)
28  
-- Changed array_combine() to return empty array instead of FALSE when both 
29  
-  parameter arrays are empty. FR #34857. (joel.perras@gmail.com)
30  
-- Changed third parameter of preg_match_all() to optional. FR #53238. (Adam)
31  
-- Changed silent casting of null/''/false into an Object when adding
32  
-  a property into a warning. (Scott)
  3
+?? ??? 201?, PHP 5.5.0
33 4
 
34 5
 - General improvements:
35  
-  . Added multibyte support by default. Previously php had to be compiled
36  
-    with --enable-zend-multibyte. Now it can be enabled or disabled through
37  
-    zend.multibyte directive in php.ini (Dmitry)
38  
-  . Removed compile time dependency from ext/mbstring (Dmitry)
39  
-  . Added scalar typehints to the parser and the reflection API. (Ilia, Derick)
40  
-  . Added support for Traits. (Stefan)
41  
-  . Added closure $this support back. (Stas)
42  
-  . Added array dereferencing support. (Felipe)
43  
-  . Added support for object references in recursive serialize() calls.
44  
-    FR #36424. (Mike)
45  
-  . Added http_response_code() function. FR #52555. (Paul Dragoonis, Kalle)
46  
-  . Added header_register_callback() which is invoked immediately
47  
-    prior to the sending of headers and after default headers have
48  
-    been added. (Scott)
49  
-  . Added DTrace support. (David Soria Parra)
50  
-  . Improved output layer, see README.NEW-OUTPUT-API for internals. (Mike)
51  
-  . Improved unserialize() performance.
52  
-    (galaxy dot mipt at gmail dot com, Kalle)
53  
-  . Improved unix build system to allow building multiple PHP binary SAPIs and
54  
-    one SAPI module the same time. FR #53271, FR #52410. (Jani)
55  
-  . Added optional argument to debug_backtrace() and debug_print_backtrace()
56  
-    to limit the amount of stack frames returned. (Sebastian, Patrick)
57  
-
58  
-- Improved Zend Engine memory usage: (Dmitry)
59  
-  . Replaced zend_function.pass_rest_by_reference by 
60  
-    ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags.
61  
-  . Replaced zend_function.return_reference by ZEND_ACC_RETURN_REFERENCE
62  
-    in zend_function.fn_flags.
63  
-  . Removed zend_arg_info.required_num_args as it was only needed for internal
64  
-    functions. Now the first arg_info for internal functions (which has special
65  
-    meaning) is represented by zend_internal_function_info structure.
66  
-  . Moved zend_op_array.size, size_var, size_literal, current_brk_cont,
67  
-    backpatch_count into CG(context) as they are used only during compilation.
68  
-  . Moved zend_op_array.start_op into EG(start_op) as it's used only for 
69  
-    'interactive' execution of single top-level op-array.
70  
-  . Replaced zend_op_array.done_pass_two by ZEND_ACC_DONE_PASS_TWO in
71  
-    zend_op_array.fn_flags.
72  
-  . op_array.vars array is trimmed (reallocated) during pass_two.
73  
-  . Replaced zend_class_entry.constants_updated by ZEND_ACC_CONSTANTS_UPDATED
74  
-    in zend_class_entry.ce_flags.
75  
-  . Reduced the size of zend_class_entry by sharing the same memory space
76  
-    by different information for internal and user classes.
77  
-    See zend_class_entry.info union. 
78  
-  . Reduced size of temp_variable.
79  
-
80  
-- Changed the structure of op_array.opcodes. The constant values are moved from
81  
-  opcode operands into a separate literal table. (Dmitry)
82  
-
83  
-- Improved Zend Engine, performance tweaks and optimizations: (Dmitry)
84  
-  . Inlined most probable code-paths for arithmetic operations directly into
85  
-    executor
86  
-  . Eliminated unnecessary iterations during request startup/shutdown.
87  
-  . Changed $GLOBALS into a JIT autoglobal, so it's initialized only if used.
88  
-    (this may affect opcode caches!)
89  
-  . Improved performance of @ (silence) operator.
90  
-  . Simplified string offset reading. $str[1][0] is now a legal construct.
91  
-  . Added caches to eliminate repeatable run-time bindings of functions,
92  
-    classes, constants, methods and properties.
93  
-  . Added concept of interned strings. All strings constants known at compile
94  
-    time are allocated in a single copy and never changed.
95  
-  . Added an optimization which saves memory and emalloc/efree calls for empty
96  
-    HashTables. (Stas, Dmitry)
97  
-  . ZEND_RECV now always has IS_CV as its result.
98  
-  . ZEND_CATCH now has to be used only with constant class names.
99  
-  . ZEND_FETCH_DIM_? may fetch array and dimension operands in different order.
100  
-  . Simplified ZEND_FETCH_*_R operations. They can't be used with the
101  
-    EXT_TYPE_UNUSED flag any more. This is a very rare and useless case.
102  
-    ZEND_FREE might be required after them instead.
103  
-  . Split ZEND_RETURN into two new instructions ZEND_RETURN and
104  
-    ZEND_RETURN_BY_REF.
105  
-  . Optimized access to global constants using values with pre-calculated
106  
-    hash_values from the literals table.
107  
-  . Optimized access to static properties using executor specialization.
108  
-    A constant class name may be used as a direct operand of ZEND_FETCH_*
109  
-    instruction without previous ZEND_FETCH_CLASS.
110  
-  . zend_stack and zend_ptr_stack allocation is delayed until actual usage.
111  
-
112  
-- Improved CLI SAPI: (Johannes)
113  
-  . Added command line option --rz <name> which shows information of the
114  
-    named Zend extension.
115  
-  . Interactive readline shell improvements:
116  
-    . Added "cli.pager" php.ini setting to set a pager for output.
117  
-    . Added "cli.prompt" php.ini setting to configure the shell prompt.
118  
-    . Added shortcut #inisetting=value to change ini settings at run-time.
119  
-    . Changed shell not to terminate on fatal errors.
120  
-    . Interactive shell works with shared readline extension. FR #53878.
121  
-
122  
-- Improved FastCGI SAPI: (Dmitry)
123  
-  . Added apache compatible functions: apache_child_terminate(),
124  
-    getallheaders(), apache_request_headers() and apache_response_headers()
125  
-  . Improved performance of FastCGI request parsing.
126  
-
127  
-- Improved core functions:
128  
-  . number_format() no longer truncates multibyte decimal points and thousand
129  
-    separators to the first byte. FR #53457. (Adam)
130  
-
131  
-- Improved CURL extension:
132  
-  . Added support for CURLOPT_MAX_RECV_SPEED_LARGE and
133  
-    CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815. (Pierrick)
134  
-
135  
-- Improved Date extension:
136  
-  . Added the + modifier to parseFromFormat to allow trailing text in the
137  
-    string to parse without throwing an error. (Stas, Derick)
138  
-
139  
-- Improved DBA extension:
140  
-  . Added Tokyo Cabinet abstract DB support. (Michael Maclean)
141  
-  . Added Berkeley DB 5 support. (Johannes, Chris Jones)
142  
-
143  
-- Improved DOM extension:
144  
-  . Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
145  
-
146  
-- Improved filesystem functions:
147  
-  . scandir() now accepts SCANDIR_SORT_NONE as a possible sorting_order value.
148  
-    FR #53407. (Adam)
149  
-
150  
-- Improved HASH extension:
151  
-  . Added Jenkins's one-at-a-time hash support. (Martin Jansen)
152  
-  . Added FNV-1 hash support. (Michael Maclean)
153  
-  . Made Adler32 algorithm faster. FR #53213. (zavasek at yandex dot ru)
154  
-
155  
-- Improved intl extension:
156  
-  . Added Spoofchecker, allows checking for visibly confusable characters and
157  
-    other security issues. (Scott)
158  
-
159  
-- Improved JSON extension:
160  
-  . Added JsonSerializable interface. (Sara)
161  
-  . Added JSON_BIGINT_AS_STRING, extended json_decode() sig with $options.
162  
-    (Sara)
163  
-  . Added support for JSON_NUMERIC_CHECK option in json_encode() that converts 
164  
-    numeric strings to integers. (Ilia)
165  
-  . Added new json_encode() option JSON_PRETTY_PRINT. FR #44331. (Adam)
166  
-  . Added new json_encode() option JSON_UNESCAPED_SLASHES. FR #49366. (Adam)
167  
-
168  
-- Improved LDAP extension:
169  
-  . Added paged results support. FR #42060. (ando@OpenLDAP.org,
170  
-    iarenuno@eteo.mondragon.edu, jeanseb@au-fil-du.net, remy.saissy@gmail.com)
171  
-
172  
-- Improved mbstring extension:
173  
-  . Added Shift_JIS/UTF-8 Emoji (pictograms) support. (Rui)
174  
-  . Added JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004) support. (Rui)
175  
-  . Ill-formed UTF-8 check for security enhancements. (Rui)
176  
-  . Added MacJapanese (Shift_JIS) and gb18030 encoding support. (Rui)
177  
-  . Added encode/decode in hex format to mb_[en|de]code_numericentity(). (Rui)
178  
-  . Added user JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004) support. (Rui)
179  
-  . Added the user user defined area for CP936 and CP950 (Rui).
180  
-
181  
-- Improved MySQL extensions:
182  
-  . MySQL: Deprecated mysql_list_dbs(). FR #50667. (Andrey)
183  
-  . mysqlnd: Added named pipes support. FR #48082. (Andrey)
184  
-  . MySQLi: Added iterator support in MySQLi. mysqli_result implements 
185  
-    Traversable. (Andrey, Johannes)
186  
-  . PDO_mysql: Removed support for linking with MySQL client libraries older
187  
-    than 4.1. (Johannes)
188  
-
189  
-- Improved OpenSSL extension:
190  
-  . Added AES support. FR #48632. (yonas dot y at gmail dot com, Pierre)
191  
-  . Added a "no_ticket" SSL context option to disable the SessionTicket TLS
192  
-    extension. FR #53447. (Adam)
193  
-
194  
-- Improved PDO DB-LIB: (Stanley)
195  
-  . Added nextRowset support.
196  
-  . Fixed bug #50755 (PDO DBLIB Fails with OOM).
197  
-
198  
-- Improved PostgreSQL extension:
199  
-  . Added support for "extra" parameter for PGNotify().
200  
-    (r dot i dot k at free dot fr, Ilia)
201  
-
202  
-- Improved Reflection extension: (Johannes)
203  
-  . Added ReflectionExtension::isTemporary() and
204  
-    ReflectionExtension::isPersistent() methods.
205  
-  . Added ReflectionZendExtension class.
206  
-  . Added ReflectionClass::isCloneable(). (Felipe)
207  
-
208  
-- Improved Session extension:
209  
-  . Added support for storing upload progress feedback in session data. (Arnaud)
210  
-  . Changed session.entropy_file to default to /dev/urandom or /dev/arandom if
211  
-    either is present at compile time. (Rasmus)
212  
-
213  
-- Improved SPL extension:
214  
-  . Added RegexIterator::getRegex() method. (Joshua Thijssen)
215  
-  . Added SplObjectStorage::getHash() hook. (Etienne)
216  
-  . Added CallbackFilterIterator and RecursiveCallbackFilterIterator (Arnaud)
217  
-  . Added missing class_uses(..) as pointed out by #55266 (Stefan)
218  
-
219  
-- Improved XSL extension:
220  
-  . Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs() to 
221  
-    define forbidden operations within XSLT stylesheets, default is not to 
222  
-    enable write operations from XSLT. Bug #54446 (Chregu, Nicolas Gregoire)
223  
-
224  
-- Improved ZLIB extension:
225  
-  . Re-implemented non-file related functionality. (Mike)
226  
-
227  
-- Improved SNMP extension (Boris Lytochkin):
228  
-  . Added OO API. FR #53594 (php-snmp rewrite). 
229  
-  . Sanitized return values of existing functions. Now it returns FALSE on
230  
-    failure.
231  
-  . Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
232  
-    upon request.
233  
-  . Introducing unit tests for extension with ~full coverage.
234  
-  . IPv6 support. (FR #42918)
235  
-  . Way of representing OID value can now be changed when SNMP_VALUE_OBJECT
236  
-    is used for value output mode. Use or'ed SNMP_VALUE_LIBRARY(default if
237  
-    not specified) or SNMP_VALUE_PLAIN. (FR #54502)
238  
-  . Fixed bugs
239  
-    . #44193 (snmp v3 noAuthNoPriv doesn't work)
240  
-    . #45893 (Snmp buffer limited to 2048 char)
241  
-    . #46065 (snmp_set_quick_print() persists between requests)
242  
-    . #51336 (snmprealwalk (snmp v1) does not handle end of OID tree correctly)
243  
-    . #53862 (snmp_set_oid_output_format does not allow returning to default)
244  
-
245  
-## UNSORTED ##
246  
-
247  
-- Fixed PDO objects binary incompatibility. (Dmitry)
248  
-- Fixed bug #52211 (iconv() returns part of string on error). (Felipe)
249  
-- Fixed bug #55450 (Built in web server not accepting file uploads). (Laruence)
250  
-- Fixed bug #55471 (ZTS build broken with dtrace). (Laruence)
251  
-- Fixed bug #55463 (cli-server missing _SERVER[REMOTE_ADDR]). (Laruence)
252  
-- Fixed bug #55473 (mysql_pconnect leaks file descriptors on reconnect). (Andrey, Laruence)
253  
-- Fixed bug #55423 (cli-server could not output correctly in some case). (Laruence, chobieee at gmail dot com)
  6
+  . World domination
254 7
 
255 8
 <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>

0 notes on commit c500bd3

Please sign in to comment.
Something went wrong with that request. Please try again.