Commit Graph

449 Commits

Author SHA1 Message Date
Veres Lajos
e7a00a2566 add a few comment 2013-07-21 21:14:38 -07:00
Christopher Jones
bf8ed4708e Add a few links 2013-07-01 16:48:18 -07:00
Stanislav Malyshev
103cf4c060 add fix for #60560 into upgrading 2013-06-28 14:01:25 -07:00
Christopher Jones
0093980fe0 Some tidy-ups: Don't mention Logo GUIDs in three places; mention
password_hash functionality; add some doc URLs for new features;
grammar & typos; formatting changes.
2013-06-24 17:12:35 -07:00
Pierre Joye
0a6ec7a2c9 add notes about opcache windows issue and migration from APC 2013-06-19 17:57:08 +02:00
Nikita Popov
ca660c2f77 Update NEWS, UPGRADING and UPGRADING.INTERNALS 2013-06-17 18:27:22 +02:00
Remi Collet
ed9a9b6144 UPGRADING 2013-05-21 12:32:11 +02:00
Xinchen Hui
ce88a81111 Contant has been renamed 2013-04-05 14:27:56 +08:00
Xinchen Hui
f5f3ab1b3f format 2013-04-03 10:21:06 +08:00
Xinchen Hui
bb70176328 Update NEWS & UPGRADING 2013-04-03 10:17:27 +08:00
Pierre Joye
0171bcb9fa typo and WS 2013-03-25 13:42:29 +01:00
Pierre Joye
1c662dc303 add new functions and constants for GD 2013-03-25 12:15:46 +01:00
Nikita Popov
0cb868c042 Move some internal changes from UPGRADING to UPGRADING.INTERNALS 2013-03-23 18:06:25 +01:00
Etienne Kneuss
6af1b08482 Add SplDoublyLinkedList::add to UPGRADING 2013-03-22 11:35:45 +01:00
Rasmus Lerdorf
fd2b8df265 Tweaks an add OPcache info to UPGRADING 2013-03-21 23:14:16 -07:00
Stanislav Malyshev
6f17c6242f add array_column() 2013-03-20 14:14:17 -07:00
Nikita Popov
fcc6611de9 Add support for non-scalar Iterator keys in foreach
RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys
2013-03-12 17:27:31 +01:00
Keyur Govande
c7ad92fac7 Adding in NEWS/UPGRADING about process title change support. 2013-03-11 00:20:57 +00:00
Pierre Joye
33a8e387f5 - damned conflicts 2013-03-04 12:11:20 +01:00
Pierre Joye
3e0e64f208 Merge branch 'PHP-5.5'
* PHP-5.5:
  - add test for imagecropauto
  - (s)rgb distance works way better for now, re enable threshold
  - disable threshold for now, will enable it again using CIEDE2000
  - add todo for threshold
  - clean and enable threshold
  - add image crop support

Conflicts:
	UPGRADING
2013-03-04 12:03:01 +01:00
Pierre Joye
2024ff3b61 - add test for imagecropauto 2013-03-04 07:26:07 +01:00
Pierre Joye
7698bc5735 - disable threshold for now, will enable it again using CIEDE2000 2013-03-01 08:10:49 +01:00
Pierre Joye
e26ea9df42 - add image flip API support 2013-02-27 10:38:55 +01:00
Gustavo Lopes
a000920dfb NEWS/UPGRADING for changes in sockets, intl 2013-02-03 01:59:35 +01:00
Stanislav Malyshev
389d41cc2e Add news for bug #60524 2013-01-28 22:55:55 -08:00
Stanislav Malyshev
383e317269 oops, unintended addition 2013-01-28 22:28:55 -08:00
Stanislav Malyshev
24447dca5d post-5.5 changes for bug #46439 as described in the RFC 2013-01-28 22:26:59 -08:00
Stanislav Malyshev
1ca429e1d6 Merge branch 'PHP-5.5'
* PHP-5.5:
  Implement fix for bug #46439 - add CURLFile class for safer uploads

Conflicts:
	UPGRADING
2013-01-28 22:24:56 -08:00
Stanislav Malyshev
a9d013bb02 Implement fix for bug #46439 - add CURLFile class for safer uploads 2013-01-28 22:22:59 -08:00
Stanislav Malyshev
420bcc1a8e add new features 2013-01-28 12:13:13 -08:00
Stanislav Malyshev
184db665eb fix bug #60833 - self, parent, static behave inconsistently case-sensitive 2013-01-27 18:02:51 -08:00
Adam Harvey
fe27146b1b Tinker with UPGRADING's wording for the format string changes for clarity. 2013-01-14 13:54:43 +08:00
Adam Harvey
b7091aaf01 Deprecate ext/mysql.
Per https://wiki.php.net/rfc/mysql_deprecation, connecting to a MySQL database
via ext/mysql now generates an E_DEPRECATED error. This commit includes the
minimal EXPECTF updates required for the test suite to pass: it may be
preferable to refactor some of the tests to suppress deprecation errors in
situations where no other error is expected from mysql_[p]connect(), but I'm
not enough of a MySQL expert to want to get my hands that dirty in a long
standing test suite.
2012-12-10 22:12:09 +08:00
Dmitry Stogov
fa30e4754b Slight performance improvement 2012-12-05 13:23:37 +04:00
Dmitry Stogov
7651d64556 Optimized access to temporary and compiled VM variables 2012-12-04 10:14:39 +04:00
Dmitry Stogov
70f83f35d0 . The VM stacks for passing function arguments and syntaticaly nested calls were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more.
. Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.
2012-11-30 13:39:23 +04:00
Adam Harvey
f909e05835 Add the new password functions to UPGRADING.
As a public service announcement on behalf of the documentation team, please
remember to update UPGRADING as well as NEWS when adding features to master or
an alpha branch. :)
2012-11-21 09:26:32 +08:00
Christopher Jones
885a4562ab Add actual branch version number to UPGRADING 2012-11-18 14:43:26 -08:00
Christopher Jones
ca418b233c Remove PHP 5.5 changes from master UPGRADING 2012-11-18 14:28:26 -08:00
Adam Harvey
d207e6551b Put the new php.ini directives together.
(And make colon usage more consistent.)
2012-11-18 07:24:08 +00:00
Adam Harvey
ab4c270ccf Move the deprecated functions up to the Deprecated Functionality section so
they're more visible.
2012-11-18 07:21:04 +00:00
Anatoliy Belsky
e73beb82df Updated NEWS 2012-11-14 10:15:42 +01:00
Anatoliy Belsky
5a1d2fe415 UPdated NEWS 2012-11-14 10:06:46 +01:00
Andrey Hristov
713a3fc58c update 2012-10-04 13:40:23 +02:00
Nikita Popov
5de79f9f07 Add NEWS/UPGRADING for previous change 2012-09-22 21:54:59 +02:00
Gustavo André dos Santos Lopes
5246d6f02e Generators & UPGRADING 2012-09-12 09:05:28 +01:00
Xinchen Hui
35951d4be0 Support list in foreach
RFC: https://wiki.php.net/rfc/foreachlist
2012-08-25 22:23:57 +08:00
Nikita Popov
fc26aa7f3e Adjust UPGRADING/NEWS for additional mcrypt deprecations 2012-08-16 17:10:05 +02:00
Xinchen Hui
80d5ae3cea Implemented 'finally' keywords for php
RFC: https://wiki.php.net/rfc/finally
FR: https://bugs.php.net/bug.php?id=32100
and I have got some improvment ideas(performance), will implemented
later. thanks
2012-08-13 21:48:39 +08:00
Stanislav Malyshev
128a4bbb0d News for bug#40459 2012-08-07 23:03:33 -07:00
Stanislav Malyshev
c9eb64127e Merge branch 'pull-request/132'
* pull-request/132:
  OK, bye bye JavaScript, let's just include credits before license
  Nicer (JSLint-compliant!) credits reveal JavaScript
  Removed now-unnecessary expose_php checks for logo
  Fixed small misalignment in prev commit
  Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
2012-08-05 21:15:53 -07:00
Stanislav Malyshev
4a2d41a5bb add note for mcrypt_ecb 2012-08-05 20:41:14 -07:00
Gustavo André dos Santos Lopes
4203e0a5df Reflect changes made in merge 99e48d3 2012-07-22 04:26:49 +02:00
Stanislav Malyshev
626effcf17 typo 2012-07-15 15:35:16 -07:00
Stanislav Malyshev
bd340b7296 add NEWS/UPGRADING 2012-07-14 15:03:51 -07:00
Andrew Faulds
d12f8d6790 Removed Logo GUIDs and replaced with Data URIs and div hidden with JS
- removed php_logo_guid()
- removed php_egg_logo_guid()
- removed php_real_logo_guid()
- removed zend_logo_guid()
- removed logo GUID handling
- removed logo GUIDs from source
- added logo data URIs instead for phpinfo()
- added credits to phpinfo() page, but hidden by default
2012-07-14 21:44:21 +01:00
Anthony Ferrara
bf01548967 Add new function hash_pbkdf2() to UGRAPDING doc 2012-07-10 13:13:30 -04:00
Stanislav Malyshev
a213c10ef2 Merge branch 'pull-request/112' into PHP-5.4
* pull-request/112:
  Added in NEWS and UPGRADING for feature 55218
  Adding in test for feature 55218
  Implements feature 55218
2012-07-07 12:51:26 -07:00
Lonny Kapelushnik
f0df7dbc8f Added in NEWS and UPGRADING for feature 55218 2012-07-07 09:10:08 -04:00
Gustavo André dos Santos Lopes
794d2268f2 Update UPGRADING given 7596445 2012-06-25 12:12:22 +02:00
Anatoliy Belsky
5c001d42d4 one more correction for COM upgrading notes 2012-06-19 14:58:06 +02:00
Anatoliy Belsky
1c4e48650c com ext upgrading infos 2012-06-18 22:04:40 +02:00
David Soria Parra
0eaa6e9512 UPGRADING entry for boolval() 2012-06-07 19:28:06 +02:00
Gustavo André dos Santos Lopes
c22a29b576 Updated UPGRADING for the changes in eb346ef 2012-06-04 18:25:55 +01:00
Stanislav Malyshev
b187c35f23 Merge branch 'pull-request/54'
* pull-request/54:
  Allow arbitrary expressions for empty()

    This change is as per RFC https://wiki.php.net/rfc/empty_isset_exprs.

    The change allows passing the result of function calls and other
    expressions to the empty() language construct. This is accomplished by
    simply rewriting empty(expr) to !expr.

    The change does not affect the suppression of errors when using empty()
    on variables. empty($undefinedVar) will continue not to throw errors.
    When an expression is used inside empty() on the other hand, errors will
    not be suppressed. Thus empty($undefinedVar + $somethingElse) *will*
    throw a notice.

    The change also does not make empty() into a real function, so using
    'empty' as a callback is still not possible.

    In addition to the empty() changes the commit adds nicer error messages
    when isset() is used on function call results or other expressions.
2012-05-24 14:18:12 -05:00
Gustavo André dos Santos Lopes
92039fed22 Changed ResourceBundle constructor behavior
null is now accepted for two first (mandatory arguments).

Passing null as the package name causes NULL to be passed to ICU  and
the default ICU data to be loaded.

Passing null as the locale name causes the default locale to be used.
2012-05-24 13:50:59 +02:00
Stanislav Malyshev
a472649016 add news for new pg_ functions 2012-05-21 16:15:12 -07:00
Gustavo André dos Santos Lopes
6ea4d0d839 Note recent changes to ext/intl in UPGRADING 2012-05-20 19:57:06 +01:00
Christopher Jones
29a85d49ae Dummy (whitespace) change so Dan Brown can verify snap generation from git
PHP snapshots were still pulling from SVN and were out of date. This
is a dummy PHP 5.4-only commit so Dan can verify what he's updated for
git in the backend.
2012-05-16 10:13:34 -07:00
Stanislav Malyshev
df2a38e7f8 fd fix 2012-05-15 22:35:43 -07:00
Stanislav Malyshev
a72b21438d update NEWS/UPGRADING 2012-05-13 14:48:22 -07:00
Gustavo André dos Santos Lopes
ac33e40d2a Keep date precision in MessageFormatter.
MessageFormatter::parse and MessageFormat::format (and their static
equivalents) now don't throw away better than second precision in the
arguments.

It's already bad enough that in MessageFormatter and IntlDateFormatter we
use seconds since epoch instead of milliseconds since epoch, deviating
from the ICU date representations. But we don't need to throw away extra
precision when parsing dates; we can keep the seconds since epoch
convention and return non integer doubles with only a small BC impact.
Note that we already could return doubles from MessageFormatter::parse if
the date was sufficiently in the past or in the future.
2012-05-13 23:03:07 +02:00
Gustavo André dos Santos Lopes
f09961cbe5 Updated UPGRADING with changes to ext/intl. 2012-05-13 21:56:11 +01:00
Nikita Popov
ec061a93c5 Allow arbitrary expressions for empty()
This change is as per RFC https://wiki.php.net/rfc/empty_isset_exprs.

The change allows passing the result of function calls and other
expressions to the empty() language construct. This is accomplished by
simply rewriting empty(expr) to !expr.

The change does not affect the suppression of errors when using empty()
on variables. empty($undefinedVar) will continue not to throw errors.
When an expression is used inside empty() on the other hand, errors will
not be suppressed. Thus empty($undefinedVar + $somethingElse) *will*
throw a notice.

The change also does not make empty() into a real function, so using
'empty' as a callback is still not possible.

In addition to the empty() changes the commit adds nicer error messages
when isset() is used on function call results or other expressions.
2012-05-13 14:56:51 +02:00
theanomaly.is@gmail.com
4968fa644b Fixed bug #61038; "Z" and better behavior for unpack()
Added new "Z" argument to pack/unpack, now allowing "a" to return
data without stripping, and "A" strips all trailing white space,
while "Z" will strip everything after the first null.
2012-04-17 21:09:04 +01:00
Xinchen Hui
565892d4c0 Implement const array/string dereference
RFC:https://wiki.php.net/rfc/constdereference
2012-04-17 10:06:17 +08:00
Gustavo André dos Santos Lopes
0e8d928c07 Update UPGRADING with changes. 2012-04-01 23:35:29 +01:00
Gustavo André dos Santos Lopes
6c891f33d7 Put new function in correct section. 2012-04-01 23:27:50 +01:00
Michael Wallner
867d980574 add note about corrected tiger hash output 2012-03-19 20:15:54 +01:00
Rasmus Lerdorf
e99a8c770f This change was badly worded and filed in the wrong section.
This isn't an ini change at all.
2012-03-12 06:11:58 +00:00
Christopher Jones
6237456cae Sync char set wording with migration doc 2012-03-06 23:34:57 +00:00
Christopher Jones
eb8d56e1b4 Typo and missing zend ini param 2012-03-06 20:20:50 +00:00
Christopher Jones
4db28a7ed6 Typo: "outout" 2012-03-06 19:12:39 +00:00
Christopher Jones
77e1a1ab6e Align section headings with the latest (5.4) migration on-line doc.
This will aid future reuse of UPGRADING text.
2012-03-05 20:14:04 +00:00
Pierre Joye
37b462ba95 - notes about xp&2003 drop 2012-03-04 17:02:55 +00:00
Nikita Popov
4d0911c1c9 NEWS and UPGRADING for r323862 2012-03-04 16:32:01 +00:00
Philip Olson
66be688c86 Removed get_magic_quotes* functions from the deprecated list, because we love them so 2012-03-02 07:54:56 +00:00
Philip Olson
c1a8169e14 Fixed ldap typos 2012-03-02 03:51:26 +00:00
Philip Olson
dd836f296e magic quotes directives belong in the E_CORE_ERROR group, and not the E_DEPRECATED group 2012-03-02 02:02:36 +00:00
Christopher Jones
21f7daaca8 Mention file upload progress support: http://php.net/manual/en/session.upload-progress.php 2012-03-02 01:41:05 +00:00
Philip Olson
bd3a077dea Removed class constants (these were added in 5.3.7), and added the new Zlib functions 2012-03-02 01:09:12 +00:00
Christopher Jones
62e1dc1dbe Sync sqlite -> PECL terminology with release announcement's 2012-03-01 21:08:56 +00:00
Christopher Jones
0f5c34874d Reorganized to remove duplication. Cross checked a few php.ini settings.
Area owners need to do a thorough review of this file.
2012-03-01 20:42:12 +00:00
Christopher Jones
561a0dfb27 Some basic tidy up and whitespace fixes.
The file still needs section disambiguation to remove duplicate
entries.
2012-03-01 18:27:47 +00:00
Gustavo André dos Santos Lopes
e391abb1d9 - Cleanup UPGRADING and UPGRADING.INTERNALS from 5.4 changes.
- Added information about removal of streams pooling API.
2012-02-22 10:08:37 +00:00
Adam Harvey
37272e46de Add a __wakeup() method to SplFixedArray, thereby fixing serialising an
SplFixedArray object and bug #60560 (SplFixedArray un-/serialize, getSize(),
count() return 0, keys are strings).
2012-02-21 10:34:42 +00:00
Michael Wallner
302adc4edd add notes about ob_start(), gzencode() and removed hash algos 2012-01-18 10:07:46 +00:00
Stanislav Malyshev
622412d8e6 implement the solution for isset/string offsets, fix bug #60362 2011-12-19 02:05:03 +00:00
Dmitry Stogov
e467a791d3 Added max_input_vars directive to prevent attacks based on hash collisions 2011-12-15 10:31:02 +00:00
Dmitry Stogov
a099e0d2f6 Added max_input_vars directive to prevent attacks based on hash collisions 2011-12-15 10:31:02 +00:00
Gustavo André dos Santos Lopes
d06c4e90a7 - Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c 2011-11-24 22:45:50 +00:00
Stanislav Malyshev
eca88d3064 Sorted engine changes by severity and added chained
string offset description.
2011-11-23 21:21:10 +00:00
Pierrick Charron
38dd904a46 Revert last commit
Keep get_magic_quotes_gpc and get_magic_quotes_runtime as deprecated
even if it's not the case in the code
2011-11-22 13:20:50 +00:00
Pierrick Charron
1b07b8b3d3 Those functions are not deprecated (r319249 #55371) 2011-11-22 13:11:20 +00:00
Stanislav Malyshev
378c1ab12b add callable as reserved word 2011-11-17 21:13:45 +00:00
Adam Harvey
9103413981 Note the change in ob_start() chunk size behaviour mentioned in doc bug #60243
(Add way to specify output buffering chunk size of 1).
2011-11-11 13:13:16 +00:00
Stanislav Malyshev
03f205990e add is_a change 2011-11-09 21:43:07 +00:00
Stanislav Malyshev
6a42b41c3d fix typo 2011-11-08 04:34:18 +00:00
Felipe Pena
ff48763f4b - Added class member access on instantiation (e.g. (new foo)->bar()) support 2011-11-06 13:25:45 +00:00
Gustavo André dos Santos Lopes
32f7337bd4 - Reverted changes that required constructor overrides to invoke the parent
constructor in several SPL classes and applied 5.3 fixes instead.
  Related bugs: #54384, #55175 and #55300
2011-10-29 23:17:18 +00:00
Gustavo André dos Santos Lopes
41abc6d017 - Reverted changes that required constructor overrides to invoke the parent
constructor in several SPL classes and applied 5.3 fixes instead.
  Related bugs: #54384, #55175 and #55300
2011-10-29 23:17:18 +00:00
Rasmus Lerdorf
7002ec3723 typo 2011-10-28 16:37:41 +00:00
Rasmus Lerdorf
a5eadee8b6 Spaces not TABS here 2011-10-28 16:21:04 +00:00
Stanislav Malyshev
5770c9a872 update UPGRADING 2011-10-23 06:38:42 +00:00
Stanislav Malyshev
972f576994 Update UPGRADING
# more to come soon
2011-10-20 06:24:56 +00:00
Derick Rethans
b52082b309 - Document changes in upgrading. 2011-09-13 14:57:58 +00:00
Derick Rethans
4c8ee24563 And some formatting 2011-09-13 14:50:18 +00:00
Derick Rethans
66e3218fec - tabs to spaces 2011-09-13 14:49:44 +00:00
Pierre Joye
c1db9d4a87 - do not display the crt warnings anymore by default. It is enough to simply fail from a user land pov as it is the case on posix platforms 2011-09-13 10:38:12 +00:00
Christopher Jones
e6f0456677 Fix typo and grammar 2011-09-13 01:00:45 +00:00
Gustavo André dos Santos Lopes
1d5028be3d - Fixed bug #55646: textual data is returned in UTF-8, but is input in
another encoding. 5.4 only as this implies a BC break.
2011-09-12 17:23:10 +00:00
Gustavo André dos Santos Lopes
26a80c72af - Fixed doc bug #54657: Function parameters can no longer be named after
superglobal variables.
2011-09-07 15:28:12 +00:00
Gustavo André dos Santos Lopes
1ba2eb5a35 - Fixed doc bug #54657: Function parameters can no longer be named after
superglobal variables.
2011-09-07 15:28:12 +00:00
Johannes Schlüter
70561e9a6d - Use myslqnd by default when MySQL extensions are activated but no path given 2011-09-07 13:33:56 +00:00
Gustavo André dos Santos Lopes
1d5e508658 - Added libxml_set_external_entity_loader(). 2011-08-29 05:00:26 +00:00
Gustavo André dos Santos Lopes
0d7e6a73d6 - Added libxml_set_external_entity_loader(). 2011-08-29 05:00:26 +00:00
Boris Lytochkin
82fa8f7a30 IPv6 Support for SNMP. (FR #42918) 2011-08-20 20:56:02 +00:00
Boris Lytochkin
c1b90f45f5 IPv6 Support for SNMP. (FR #42918) 2011-08-20 20:56:02 +00:00
Hannes Magnusson
550980cfe5 Callable typehint following the rules of is_callable($arg, false); 2011-08-16 10:44:47 +00:00
Scott MacVicar
1e960014c1 Fix typos in UPGRADING 2011-08-09 15:27:25 +00:00
Scott MacVicar
f922818dad Fix typos in UPGRADING 2011-08-09 15:27:25 +00:00
Felipe Pena
75a54edf5a - Added change to UPGRADING 2011-08-06 15:57:36 +00:00
Pierre Joye
011e29a956 - upgrading entry for binary number format 2011-07-27 00:18:35 +00:00
Pierre Joye
741abeb20f - upgrading entry for binary number format 2011-07-27 00:18:35 +00:00
Stanislav Malyshev
24392c37d9 No E_STRICT in production 2011-07-24 05:42:29 +00:00
Pierre Joye
e72a3ea450 - MQ section 2011-07-23 20:45:18 +00:00
Pierre Joye
48870107dc - MQ section 2011-07-23 20:45:18 +00:00
Pierre Joye
51d3680306 - add short array syntax, missing files and info 2011-07-23 20:27:08 +00:00
Pierre Joye
e708f4bb89 - add short array syntax, missing files and info 2011-07-23 20:27:08 +00:00
Pierre Joye
80496c9dc4 - add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays, 2nd solution using => only 2011-07-23 20:23:21 +00:00
Pierre Joye
cbe0ed86e7 - add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays, 2nd solution using => only 2011-07-23 20:23:21 +00:00
Boris Lytochkin
a80c2ee19b fix FR #54502: allow user to change OID value output mode when SNMP_VALUE_OBJECT is used. 2011-07-17 17:27:00 +00:00
Boris Lytochkin
cf7724d5a3 fix FR #54502: allow user to change OID value output mode when SNMP_VALUE_OBJECT is used. 2011-07-17 17:18:31 +00:00
Christian Stocker
6be6c2d62d Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
to define forbidden operations within XSLT stylesheets, default is not to
enable any write operations from XSLT anymore. Bug #54446

(second iteration of the code for trunk, first commit for 5.4 branch)
2011-07-12 04:58:38 +00:00
Christian Stocker
0511fa337e Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
to define forbidden operations within XSLT stylesheets, default is not to 
enable any write operations from XSLT anymore. Bug #54446
2011-07-11 11:16:22 +00:00
Scott MacVicar
76cbcc7f66 Added fabled hex2bin() function 2011-06-03 00:12:22 +00:00
Scott MacVicar
30f19bd524 Allow management of your own padding in openssl_encrypt/decrypt.
For using mcrypt / openssl interchangeabley managing your own padding is the only solution.
2011-05-20 18:56:13 +00:00
Scott MacVicar
3012b74e96 Move LDAP to its own section 2011-05-19 22:49:47 +00:00
Scott MacVicar
fe790643ca Add new functions to UPGRADING 2011-05-19 21:39:01 +00:00
Andrew Curioso
1e3b32c777 Commiting r311138 into the 5.3 branch - fix to SimpleXML get properties hash 2011-05-18 04:43:21 +00:00
Andrew Curioso
47db582a34 Use iterator when necessary to get the full properties hash - consistent with count (see test: ext/simplexml/tests/034.phpt) 2011-05-17 13:50:48 +00:00
Gustavo André dos Santos Lopes
18d71a6f59 - Updated UPGRADING now that multicast support was decided
trunk only.
2011-04-06 10:17:52 +00:00
Boris Lytochkin
cab643f615 * added detection and walkaround for net-snmp library bug (net-snmp BUGid 2027834)
* drop UCD-SNMP support, R.I.P.
2011-04-05 12:20:35 +00:00
Gustavo André dos Santos Lopes
f7b7b6aa9e - Improved upon r309729.
- Extented strategy to remaining the classes on spl_directory.c, even those that don't crash.
- UPGRADING.
- Better bug54384.phpt, with all the classes covered.
2011-03-27 22:44:34 +00:00
Arnaud Le Blanc
11efb7295e UPGRADING 2011-03-27 20:24:40 +00:00
Boris Lytochkin
907244a822 added info about changes in SNMP extension 2011-03-27 09:44:38 +00:00
Gustavo André dos Santos Lopes
63673a533f - Updating UPGRADING for r309516 and modest merge to 5.3. 2011-03-23 00:51:22 +00:00
Gustavo André dos Santos Lopes
7f2937223d - Make fclose() actually close stream, even when the resource refcount is > 1.
This reverts the fix for bug #24557.
- Make php_stream_free delete the stream from the resources list, not merely
  decrease its refcount, as a single call to zend_list_delete does.           
#Not worth the risk merging to 5.3. While change #2 may prevent some segfaults,
#a quick and dirty survey to the codebase only showed calls to php_stream_close
#or php_stream_free on streams allocated in the same function, which would have
#refcount == 1. May be reconsidered.
2011-03-21 02:58:54 +00:00
Gustavo André dos Santos Lopes
a3a5157286 - PHP_STREAM_OPTION_WRITE_BUFFER no longer disables the read buffer of a plain
stream when 0 is given as the value.
- PHP_STREAM_OPTION_WRITE_BUFFER no longer changes the chunk size in socket
  streams.
- Added stream_set_chunk_size() function.
- Some signedness fixes.
- Test for commit r308474, now that it's possible to actually test it.
2011-02-19 01:28:37 +00:00
Gustavo André dos Santos Lopes
9bbc114b59 - Classes that implement stream wrappers can define a method called
stream_truncate that will respond to truncation, e.g. through ftruncate.
  Closes feature request #53888.
2011-02-17 00:25:32 +00:00
Adam Harvey
7c1a05917d Revert the UPGRADING change in r307807, since it's actually completely pointless, as Johannes pointed out. 2011-01-29 05:26:45 +00:00
Adam Harvey
c5f06eff15 Fixed bug #53854 (Missing constants for compression type). Patch by Richard
Quadling.
2011-01-28 04:19:40 +00:00
Gustavo André dos Santos Lopes
4a946a91e5 - Fixed CHARSET_UNICODE_COMPAT (ISO-8859-1 is compatible in the relevant sense).
- Fixed usage of zend_multibyte_get_internal_encoding (its return cannot be
  cast to char*).
- Change tests to reflect that charset detection now relies on
  internal_encoding, not on current_internal_encoding.
  NOTE: This fixes the changes in rev 306077, but it remains that that change
  introduced a BC break. I assumed it was intentional
2011-01-25 10:57:07 +00:00
Philip Olson
2e3e65c5b7 Fixed a couple of trivial typos 2011-01-19 22:41:01 +00:00
Kalle Sommer Nielsen
5ba90aefb0 Added 'catalog' to the field fetching functions in mysqli (Thanks to Johannes for the headsup) 2011-01-17 10:43:53 +00:00
Kalle Sommer Nielsen
5d23cdd695 MFT: Implemented FR #47802 (Support for setting character sets in DSN strings) 2011-01-17 09:54:22 +00:00
Stefan Marr
478e5d1dd0 Added trait_exists() [TRAITS] [DOC]
- also changed class_exists() to return false for traits
- added related tests, and get_declared_traits() tests in ext/s/t/co
2011-01-09 19:57:41 +00:00
Kalle Sommer Nielsen
69a3575b38 Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db) 2011-01-07 18:25:55 +00:00
Kalle Sommer Nielsen
e4c36b054c Implemented FR #47802, support for character sets in DSN strings for PDO_MYSQL 2011-01-07 14:39:56 +00:00
Adam Harvey
3571c955b5 Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
by Joshua Thijssen.
2011-01-06 02:32:02 +00:00
Scott MacVicar
6144da7e35 Silently casting an empty string, null or false into an object by adding a property
is pretty non-intuitive. If the same value was 1 or true you get a warning and it halts.

Since we can't break BC completely (yet) lets bump this from E_STRICT.

Also added a new section to UPGRADING for engine changes.

<?php
$x = '';
// $x = null;
// $x = false;
$x->baz = 1;
var_dump($x);

$y = 1;
$y->baz = 1;
var_dump($y);
2010-12-31 16:57:45 +00:00
Peter Cowburn
064a254483 Implemented FR #48767 (SplFileInfo::getExtension()) 2010-12-23 22:32:52 +00:00
Gustavo André dos Santos Lopes
8398646d0a - I had forgotten to commit UPGRADING (for enable_post_data_processing). 2010-12-10 07:59:34 +00:00
Adam Harvey
d2263d482d Implement FR #53457 (number_format must support more than one character for
thousands separator).
2010-12-03 10:10:08 +00:00
Gustavo André dos Santos Lopes
22d461df62 - Implemented bug/request #53427 - stream_select doesn't preserve the
keys. This cannot be backported to PHP 5.3 due to a BC break. See
  UPGRADING for more information.
2010-11-30 16:22:48 +00:00
Adam Harvey
9a1568c113 Implemented FR #53407 (make scandir()'s directory sorting optional). 2010-11-26 09:52:28 +00:00
Dmitry Stogov
c9e54156d8 Removed support for break/continue $var syntax 2010-11-24 16:26:49 +00:00
Dmitry Stogov
ab93d8c621 Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini 2010-11-24 05:41:23 +00:00
Johannes Schlüter
e245652b63 - commit missing upgrading note (sqlite removed) 2010-11-19 17:22:05 +00:00
Jani Taskinen
6791197b31 - Added section for build system changes in UPGRADING.INTERNALS 2010-11-18 10:43:01 +00:00
Jani Taskinen
c9581c1b1f typo 2010-11-17 14:08:39 +00:00
Jani Taskinen
d310d10224 - Added comment about binary SAPIs 2010-11-17 14:07:54 +00:00
Adam Harvey
6cb7ea4089 Implemented FR #53264 (Add fputcsv method to SplFileObject). 2010-11-09 15:07:50 +00:00
Pierre Joye
cd26f63009 - typo 2010-11-07 19:55:08 +00:00
Ilia Alshanetsky
12167194b5 REQUEST_TIME notes 2010-11-07 19:27:08 +00:00
Adam Harvey
8365739663 Implemented FR #53238 (Make third parameter of preg_match_all optional). 2010-11-05 04:37:27 +00:00
Gustavo André dos Santos Lopes
e5c7fae82c - Added ReflectionParameter::canBePassedByValue(). 2010-10-26 15:01:36 +00:00
Gustavo André dos Santos Lopes
3f804701b5 - Added to UPGRADING(.INTERNALS) information about the changes on html.c.
- Added to UPGRADING information about the new class Transliteral, the new
  parameter in dns_get_record and the fact that call_user_func_array no longer
  allows call-time pass-by-reference.
2010-10-24 16:21:15 +00:00
Kalle Sommer Nielsen
f2552322e7 Revert for now 2010-10-04 20:26:50 +00:00
Kalle Sommer Nielsen
d252a45e82 * Added PHP_RAND_MAX and PHP_MT_RAND_MAX constants
* Deprecated getrandmax() and mt_getrandmax() in favour of the new constants

# We should promote constants for static data like such instead of function calls
# maybe this was just an old left-over
2010-10-01 09:18:44 +00:00
Felipe Pena
ab3fc00983 - Added missing entries related to pdo_dblib 2010-09-16 21:49:48 +00:00
Adam Harvey
cb9c8233fc Implement FR #44331 (Formatting option for json_encode). Bikeshedding about the
exact form of the JSON pretty printing and brace handling will only be accepted
in the form of patches. ;)
2010-09-16 16:21:15 +00:00
Adam Harvey
726fe638bb Implemented FR #49366 (Make slash escaping optional in json_encode()). 2010-09-16 13:53:27 +00:00
Pierre Joye
f22c9a67f9 - is_link note 2010-09-01 10:23:58 +00:00
Pierre Joye
b1e0e9ea5a - fix index 2010-09-01 10:22:29 +00:00
Pierre Joye
648f3829fd - remove internals stuff, moved to the INTERNALS guide 2010-08-30 10:27:03 +00:00
Pierre Joye
100228aae1 - use TSRMLS_CC instead of TSRMLS_FETCH in virtual_file_ex 2010-08-30 09:38:47 +00:00
Adam Harvey
f33837ff97 Implemented request #34857 (Change array_combine behaviour when called with
empty arrays). Patch by Joel Perras <joel.perras@gmail.com>.
2010-08-27 03:54:10 +00:00
Kalle Sommer Nielsen
a7fb65f9fd Update UPGRADING 2010-08-09 13:27:13 +00:00
Andrey Hristov
b580bc3875 Cleanup in trunk. Remove some functions, noted in
UPGRADING. sed-ed the tests to change the usage
to the real function name.
2010-07-07 12:09:36 +00:00
Felipe Pena
99c31b31ec - Added array dereferencing support [DOC]
# http://wiki.php.net/rfc/functionarraydereferencing
2010-06-08 00:05:29 +00:00
Johannes Schlüter
089ba2acc1 - One more reflection entry 2010-06-03 12:46:14 +00:00
Felipe Pena
e90f28bab7 - Added the three new ReflectionClass methods related to traits 2010-06-03 12:31:22 +00:00
Felipe Pena
c98c39b1c1 - Added ReflectionClass::isCloneable() [DOC] 2010-06-02 15:29:42 +00:00
Arnaud Le Blanc
cfce0a9828 NEWS 2010-05-11 16:40:03 +00:00
Felipe Pena
00eec0939f - Added get_declared_traits() 2010-05-06 15:18:20 +00:00
Kalle Sommer Nielsen
bd20dbd932 Update UPGRADING with recent feature removals 2010-04-29 01:03:21 +00:00
Rasmus Lerdorf
9692a3619c Set session.entropy_file to /dev/urandom or /dev/arandom by
default if present at compile-time.  Addresses part of bug #51436
2010-03-31 18:03:17 +00:00
Rasmus Lerdorf
84e34802ab Reset this document 2010-03-24 16:23:50 +00:00
Johannes Schlüter
db256c502e Drop debug switches from UPGRADING, they need --enable-debug and aren't ment for users 2009-06-28 16:14:30 +00:00
Christopher Jones
b44e08d1e5 Record "new" ini param 2009-06-28 14:31:12 +00:00
Hannes Magnusson
c3003002f7 Group the open_basedir entries 2009-06-27 13:33:20 +00:00
Hannes Magnusson
f88d938dfb - Added missing deprecated things
- Added missing INI settings
2009-06-27 13:23:03 +00:00
Christopher Jones
30fce08b23 Clarifications for oci8 changes 2009-06-26 15:15:02 +00:00
Gwynne Raskind
bdc3d68061 more grammar and spelling, consistent usage, suggestions for replacements 2009-06-26 11:56:51 +00:00
Hannes Magnusson
f36cb429f4 Add deprecated functions 2009-06-26 10:46:50 +00:00
Pierre Joye
aaae921225 - update the windows section 2009-06-26 10:20:22 +00:00
Kalle Sommer Nielsen
ca1bda67f2 Persistent connections with mysqli missing 2009-06-25 18:17:52 +00:00
Hannes Magnusson
43f939fae0 reduntant 2009-06-25 18:04:35 +00:00
Hannes Magnusson
ceac7e4370 More missing stuff 2009-06-25 18:01:08 +00:00
Felipe Pena
f03c5db12e - Added note about deprecation of "#" comment-style in .INI files 2009-06-25 14:56:14 +00:00
Matt Wilmas
57b543ee6f Fix example - it means what it says 2009-06-25 13:00:08 +00:00
Gwynne Raskind
ac564608bd fix a little typo I made, bug #48685 2009-06-25 10:41:07 +00:00
Gwynne Raskind
e01ff47c43 Whitespace fixes, reformatting to bring all lines to 80 cols, grammatical fixes, removed redundant information 2009-06-25 07:57:05 +00:00
Johannes Schlüter
9f9895b34d Make clearer that thesse are internal functions 2009-06-24 22:26:56 +00:00
Hannes Magnusson
60835e3051 Missing enhancements 2009-06-24 21:16:53 +00:00
Hannes Magnusson
0fa4242464 Missing items 2009-06-23 19:40:31 +00:00
Hannes Magnusson
83855c0ce7 better place for it 2009-06-23 13:37:35 +00:00
Hannes Magnusson
85cb296a09 TZ is no longer used to guess the timezone 2009-06-23 13:33:26 +00:00
Hannes Magnusson
6b3f0cfc54 New function 2009-06-23 11:13:05 +00:00
Hannes Magnusson
b3e9695a65 Sync with docs 2009-06-22 10:30:23 +00:00
Hannes Magnusson
6b107d99be Fixed bug#48485 (Error in documentation and upgrade guide) 2009-06-21 18:34:50 +00:00
Kalle Sommer Nielsen
c2131f8efb Fixed typo, its fdf, not fPdf 2009-06-21 05:41:08 +00:00
Kalle Sommer Nielsen
c25893731b Missing Windows constants 2009-06-21 05:29:01 +00:00
Kalle Sommer Nielsen
97d35803d7 get_extension_funcs have been in PHP since php4 2009-06-21 01:49:52 +00:00
Philip Olson
380dededf4 Synced with the wiki 2009-06-14 19:15:57 +00:00
Kalle Sommer Nielsen
ccd915ff3f getClosureThis() and $this handling in closures was removed 2009-05-22 03:32:20 +00:00
Kalle Sommer Nielsen
178cb9c572 Added some more comments about deprecated ini settings 2009-05-15 09:44:08 +00:00
Kalle Sommer Nielsen
686c3975e7 use have been a keyword in a forever, thanks Greg 2009-05-07 06:58:57 +00:00
Kalle Sommer Nielsen
e4e260dc21 Windows ME is not supported either as of 5.3 2009-05-07 03:16:28 +00:00
Kalle Sommer Nielsen
036314329a * use is a reserved keyword
* notes to Windows section
2009-05-07 03:14:07 +00:00
Kalle Sommer Nielsen
788766bfa5 Added missing note about gethostname() (Re: #47839) 2009-04-21 04:35:01 +00:00
Felipe Pena
405e507c16 - Added new Reflection methods 2009-04-03 23:56:26 +00:00
Arnaud Le Blanc
155564d727 Fix UPGRADING and NEWS for ticks undeprecation 2009-03-28 01:29:14 +00:00
Steph Fox
2c2eaa087b - Skeleton version taken directly from the scratchpad and tidied.
@Lukas, Johannes: This is nowhere near complete, and may contain entries that would be happier in NEWS, but it's OK for the beta IMHO.
2009-01-28 17:23:28 +00:00
Antony Dovgal
613237188a typofix 2006-08-28 17:18:03 +00:00
Ilia Alshanetsky
b81012c718 removed no longer relevant portion. 2005-11-27 15:39:09 +00:00
foobar
f7beb9f30c fix tag 2005-11-23 15:01:54 +00:00
Ilia Alshanetsky
2f6cebb206 Added 5.1 upgrading notes.
# Big thanks to Steph Fox for taking the time to make this list possible.
2005-11-22 23:49:13 +00:00