Commit Graph

164 Commits

Author SHA1 Message Date
Boris Lytochkin
82fa8f7a30 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
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
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
51d3680306 - 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
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
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
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