summaryrefslogtreecommitdiff
path: root/NEWS
blob: f19fed38ffd81c0860c73799147ebcbf3c49e3b7 (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
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)

- 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.

- Added automatic module globals management. (Dmitry)
- Added "jump label" operator (limited "goto"). (Dmitry, Sara)
- Added E_STRICT to E_ALL. (Dmitry)
- Added "allow_url_include" ini option to be able to turn off remote url
  code execution separately from the "allow_url_fopen" setting. (Rasmus)
- 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 second optional parameter to stream_context_create() to set params
  during context creation. (Sara)
- Added sys_get_temp_dir() function that returns the default directory for
  temporary files (as requested in bug #35380). (Hartmut)

- Fixed bug #36630 (umask not reset at the end of the request). (Ilia)
- Fixed bug #34286 (__toString() behavior is inconsistent). (Marcus)