Commit Graph

4684 Commits

Author SHA1 Message Date
Arpad Ray
98b42d722d remove duplicate news entry 2011-08-29 20:36:22 +00:00
Arpad Ray
4a6c2a8b44 add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions 2011-08-29 20:23:34 +00:00
Xinchen Hui
d05c878d10 update NEWS 2011-08-23 02:48:28 +00:00
Xinchen Hui
1e0e85ec1a Fixed #55463 (cli-server missing _SERVER[REMOTE_ADDR]) 2011-08-22 11:55:41 +00:00
Xinchen Hui
1429b430b5 update NEWS. 2011-08-21 12:24:19 +00:00
Boris Lytochkin
c1b90f45f5 IPv6 Support for SNMP. (FR #42918) 2011-08-20 20:56:02 +00:00
Rui Hirokawa
1fe350e271 update NEWS. 2011-08-20 07:27:48 +00:00
Xinchen Hui
ac088cd6c2 News for bug #55450 2011-08-19 08:52:29 +00:00
Rui Hirokawa
a3ac99b0aa NEWS update for mbstring. 2011-08-14 14:09:54 +00:00
Rui Hirokawa
79d418845e update the news. 2011-08-09 15:11:33 +00:00
Stefan Marr
35f58b972f Added missing class_uses(..) function to SPL to mirror class_implements(..).
# Was pointed out as missing in bug #55266.
2011-07-23 19:08:43 +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
Christian Stocker
01607c4137 Added credentials to XSL NEWS entry 2011-07-12 06:56:11 +00:00
Christian Stocker
0a7aeb7f28 Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com) 2011-07-11 15:02:56 +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
Peter Cowburn
8c3ef4a222 Fix NEWS 2011-06-29 09:00:37 +00:00
Christopher Jones
dedab51269 clarify sqlite deprecation 2011-06-28 18:58:07 +00:00
Boris Lytochkin
b3182fda70 expand SNMP section 2011-06-17 18:18:21 +00:00
Dmitry Stogov
b7eb3c1c5a Arithmetic speedup. Inlined most probable code-paths for arithmetic operations directly into executor. 2011-05-23 08:05:44 +00:00
Sebastian Bergmann
6f3148db81 Add optional argument to debug_backtrace() and debug_print_backtrace() to limit the amount of stack frames returned. 2011-04-09 09:52:24 +00:00
Arnaud Le Blanc
b83e243c23 Added CallbackFilterIterator and RecursiveCallbackFilterIterator classes
[DOC] This is a concrete FilterIterator which takes a callback as
constructor parameter, and uses this callback for filtering. This allows
to use FilterIterator without extending it.

CallbackFilterIterator Example:

$it = new ArrayIterator(range(1,100));
$it = new CallbackFilterIterator($it, function($value) {
	return $value % 2;
});
foreach($it as $value) // ...

RecursiveCallbackFilterIterator Example:

$it = new RecursiveDirectoryIterator("/");
$it = new RecursiveCallbackFilterIterator($it, function($file, $k, $it) {
	return $it->hasChildren() || $file->getSize() > 1024;
});
foreach(new RecursiveIteratorIterator($it) as $file) // ...

The callback takes the current value, the current key and the inner
iterator as parameters.
2011-03-27 20:13:27 +00:00
Antony Dovgal
d3843846f3 fix typppo 2011-03-08 14:53:38 +00:00
Sebastian Bergmann
5c8d76680c Fix speling. 2011-03-06 21:47:46 +00:00
Johannes Schlüter
6c734a6b4c - Implement FR#53878 Interactive shell should work with shared readline extension
# This is useful w/ distributors who like to build all things shared or don't
# provide the readline extension. Or if a user pefers readline's behavior over
# libedit which might be used by the  distributor.
2011-02-19 16:04:30 +00:00
Scott MacVicar
ca378eefa0 Add header_register_callback(), allows a userland function
to be called as all the headers are being sent and after all
of the default headers have been merged.

headers_list(), header_remove() and header() can all be used
inside the callback.

<?php

header('Content-Type: text/plain');
header('X-Test: foo');

function foo() {
  foreach (headers_list() as $header) {
    if (strpos($header, 'X-Powered') !== false) {
      header_remove('X-Powered-By');
    }
    header_remove('X-Test');
  }
}

$result = header_register_callback('foo');
echo "a";
2011-02-03 16:47:28 +00:00
Boris Lytochkin
dc781e2520 - Improved SNMP extension:
. Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
    upon request.
2011-02-01 07:45:30 +00:00
Boris Lytochkin
5e82e334dd Improved SNMP extension. FR #53594 2011-01-31 11:41:33 +00:00
Ilia Alshanetsky
46ff954ca7 Added support for "extra" parameter for PGNotify(). 2011-01-27 16:02:30 +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
Scott MacVicar
d90394851c Add Spoofchecker to intl extension.
Implements part of Unicode TR36 and TR39
2011-01-13 06:53:09 +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
25f42c09b8 NEWS for FR #48767 (SplFileInfo::getExtension()) 2010-12-24 07:28:59 +00:00
Ilia Alshanetsky
a7d8c0e2a5 sqlite3 lib news 2010-12-12 18:01:46 +00:00
Derick Rethans
8ece8ad314 - Added the + modifier to parseFromFormat to allow trailing text in the
string to parse without throwing an error.
#- Patch by Stas, test case by me.
2010-12-12 17:17:16 +00:00
Derick Rethans
bbc898e3fd - Keep extension order alphabetically
#- I guess that's what was intended?
2010-12-12 17:07:40 +00:00
Dmitry Stogov
755c2cd0d8 Removed compile time dependency from ext/mbstring 2010-12-08 11:27: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
Adam Harvey
18ec6dae2c Implemented FR #53447 (Cannot disable SessionTicket extension for servers that
do not support it).

I haven't written a test due to the need for such a test to have a HTTPS server
available which mishandles SessionTicket requests; it's likely that server
administrators will gradually fix this either intentionally or through OpenSSL
upgrades. That said, if there's a great clamoring for a test, I'll work one up.
2010-12-03 09:34:35 +00:00
Adam Harvey
9a1568c113 Implemented FR #53407 (make scandir()'s directory sorting optional). 2010-11-26 09:52:28 +00:00
Dmitry Stogov
7628da98c4 Removed support for break/continue $var syntax 2010-11-24 12:19:56 +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
Andi Gutmans
011fd8059d - Fix typo 2010-11-24 04:31:45 +00:00
Johannes Schlüter
a8a9314130 Add entry for sqlite 2010-11-19 10:00:10 +00:00
Christopher Jones
46ef2edf8d Some grammar tweaks 2010-11-17 17:59:41 +00:00
Jani Taskinen
55bb6fd757 - NEWS cleanup, please do not mess it anymore :) 2010-11-17 16:56:21 +00:00
Jani Taskinen
25aee9cad9 - Implemented FR #53271, FR #52410 (Building multiple PHP binary SAPIs and one SAPI module the same time)
# Bug #53271, Bug #52410
2010-11-13 23:13:07 +00:00