summaryrefslogtreecommitdiff
path: root/NEWS
blob: d31dab67743f3a3d4381353130ff89092c6677ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
PHP                                                                        NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 20??, PHP 6.0
- Unicode support. (Andrei, Dmitry, et al)

- Changed dl() to be disabled by default. Enabled only when explicitly 
  registered by the SAPI layer. Enabled only with CLI, CGI and EMBED. (Dmitry)
- Changed return "new" by reference to throw an E_STRICT error. (Dmitry)
- Changed "instanceof" and "catch" operators, is_a() and is_subclass_of()
  functions to not call __autoload(). (Dmitry)
- Changed opendir/dir/scandir to use default context
  when no context argument is passed. (Sara)
- Changed open_basedir to allow tightening in runtime contexts. (Sara)

- Removed old legacy:
  . "register_globals" support. (Pierre)
  . "register_long_arrays" ini option. (Dmitry)
  . "safe_mode" support. (Ilia, Andi)
  . "allow_call_time_pass_reference", added E_STRICT error message. (Dmitry)
  . session_register(), session_unregister() and session_is_registered()
    (needed only with "register_globals=On").
  . "magic_quotes_gpc", "magic_quotes_runtime" and "magic_quotes_sybase" ini
    options. (Pierre)
  . Changed get_magic_quotes_gpc(), get_magic_quotes_runtime to always return
    false and set_magic_quotes_runtime() to raise an E_CORE_ERROR.
- Removed support for "continue" and "break" operators with non-constant
  operands. (Dmitry)
- Removed Freetype 1.x and GD 1.x from GD extension. (Pierre)
- Removed global reflection constants. (Johannes)

- Moved extensions to PECL:
  . ext/ncurses (Hartmut)

- Improved and cleaned CGI code. FastCGI is now always enabled and can not be
  disabled. See sapi/cgi/CHANGES for more details. (Dmitry)
- Improved cURL: (Ilia)
  . Added CURLINFO_HEADER_OUT constant to facilitate request retrieval.
- Improved ext/zlib; re-implemented non-file related functionality. (Mike)
- Improved output layer; see README.NEW-OUTPUT-API for internals. (Mike)
- Improved ext/mhash: (Mike)
  . Added keygen constants.
  . Added new functions: mhash_keygen_count, mhash_get_keygen_name,
    mhash_keygen_uses_hash, mhash_keygen_uses_salt, mhash_get_keygen_salt_size,
    mhash_keygen.


- Added automatic module globals management. (Dmitry)
- Added "jump label" operator (limited "goto"). (Dmitry, Sara)
- Added E_STRICT to E_ALL. (Dmitry)
- Added --rclass and --rextension CLI parameters to reflect internal classes
  and loaded extensions. (Johannes)
- Added an optional parameter to strstr() and stristr() for retrieval of either
  the part of haystack before or after first occurence of needle. (Johannes)
- Added possibility to check in which extension an internal function was
  defined using reflection API. (Johannes)
- Added streams features:
  . Context parameter for copy() function. (Sara)
  . "allow_url_include" ini option to be able to turn off remote url
    code execution separately from the "allow_url_fopen" setting. (Rasmus)
  . Second optional parameter to stream_context_create() to
    set params during context creation. (Sara)
  . sys_get_temp_dir() function that returns the default directory
    for temporary files (as requested in bug #35380). (Hartmut)
  . "context" and "binary_pipes" params in "other_options" arg. (Sara)
  . stream_resolve_include_path(). (Sara)
- Added shm_has_var() function. (Mike)

- Fixed bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, 
  not enity). (Hannes Magnusson)
- Fixed bug #36630 (umask not reset at the end of the request). (Ilia)
- Fixed bug #34286 (__toString() behavior is inconsistent). (Marcus)