summaryrefslogtreecommitdiff
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Add optional argument to debug_backtrace() and debug_print_backtrace() to ↵Sebastian Bergmann2011-04-091-0/+2
| | | | limit the amount of stack frames returned.
* Added CallbackFilterIterator and RecursiveCallbackFilterIterator classesArnaud Le Blanc2011-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | [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.
* fix typppoAntony Dovgal2011-03-081-2/+2
|
* Fix speling.Sebastian Bergmann2011-03-061-1/+1
|
* - Implement FR#53878 Interactive shell should work with shared readline ↵Johannes Schlüter2011-02-191-0/+1
| | | | | | | | | 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.
* Add header_register_callback(), allows a userland functionScott MacVicar2011-02-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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";
* - Improved SNMP extension:Boris Lytochkin2011-02-011-3/+5
| | | | | | . Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids upon request.
* Improved SNMP extension. FR #53594Boris Lytochkin2011-01-311-0/+7
|
* Added support for "extra" parameter for PGNotify().Ilia Alshanetsky2011-01-271-0/+4
|
* Added 'catalog' to the field fetching functions in mysqli (Thanks to ↵Kalle Sommer Nielsen2011-01-171-2/+0
| | | | Johannes for the headsup)
* MFT: Implemented FR #47802 (Support for setting character sets in DSN strings)Kalle Sommer Nielsen2011-01-171-2/+0
|
* Add Spoofchecker to intl extension.Scott MacVicar2011-01-131-0/+4
| | | | | | Implements part of Unicode TR36 and TR39
* Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to ↵Kalle Sommer Nielsen2011-01-071-4/+4
| | | | return db)
* Implemented FR #47802, support for character sets in DSN strings for PDO_MYSQLKalle Sommer Nielsen2011-01-071-0/+4
|
* Implement request #53659 (Implementing RegexIterator::getRegex() method). PatchAdam Harvey2011-01-061-0/+1
| | | | | by Joshua Thijssen.
* Silently casting an empty string, null or false into an object by adding a ↵Scott MacVicar2010-12-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | 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);
* NEWS for FR #48767 (SplFileInfo::getExtension())Peter Cowburn2010-12-241-0/+1
|
* sqlite3 lib newsIlia Alshanetsky2010-12-121-1/+1
|
* - Added the + modifier to parseFromFormat to allow trailing text in theDerick Rethans2010-12-121-0/+4
| | | | | | string to parse without throwing an error. #- Patch by Stas, test case by me.
* - Keep extension order alphabetically Derick Rethans2010-12-121-8/+8
| | | | | #- I guess that's what was intended?
* Removed compile time dependency from ext/mbstringDmitry Stogov2010-12-081-0/+1
|
* Implement FR #53457 (number_format must support more than one character forAdam Harvey2010-12-031-0/+4
| | | | | thousands separator).
* Implemented FR #53447 (Cannot disable SessionTicket extension for servers thatAdam Harvey2010-12-031-0/+2
| | | | | | | | | | 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.
* Implemented FR #53407 (make scandir()'s directory sorting optional).Adam Harvey2010-11-261-0/+4
|
* Removed support for break/continue $var syntaxDmitry Stogov2010-11-241-0/+1
|
* Added multibyte suppport by default. Previosly php had to be compiled with ↵Dmitry Stogov2010-11-241-0/+3
| | | | --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
* - Fix typoAndi Gutmans2010-11-241-1/+1
|
* Add entry for sqliteJohannes Schlüter2010-11-191-0/+3
|
* Some grammar tweaksChristopher Jones2010-11-171-10/+9
|
* - NEWS cleanup, please do not mess it anymore :)Jani Taskinen2010-11-171-5192/+145
|
* - Implemented FR #53271, FR #52410 (Building multiple PHP binary SAPIs and ↵Jani Taskinen2010-11-131-0/+2
| | | | | | | one SAPI module the same time) # Bug #53271, Bug #52410
* - WS + cleanup Jani Taskinen2010-11-131-15/+30
| | | | | | | | | # Note: # Considering DTrace support: Why does it really need any configure time stuff? # 3 macros for static stuff that could be made much cleaner with simple Makefile.dtrace # addition. The only thing required in configure is that --enable flag part.. #
* Implemented FR #53213 (Adler32 algorithm is very slow). Patch by zavasek atAdam Harvey2010-11-081-0/+2
| | | | | yandex dot ru.
* Updated _SERVER['REQUEST_TIME'] to include microsecond precision.Ilia Alshanetsky2010-11-061-0/+1
|
* Implemented FR #53238 (Make third parameter of preg_match_all optional).Adam Harvey2010-11-051-0/+2
|
* reduced size of temp_variariableDmitry Stogov2010-10-221-0/+1
|
* Upgraded bundled sqlite to version 3.7.3Ilia Alshanetsky2010-10-201-1/+1
|
* - Strip out the typehint *checks* only. They are still parsed, and they areDerick Rethans2010-10-191-1/+1
| | | | | still accessible through the reflection API.
* Revert for nowKalle Sommer Nielsen2010-10-041-4/+0
|
* * Added PHP_RAND_MAX and PHP_MT_RAND_MAX constantsKalle Sommer Nielsen2010-10-011-0/+4
| | | | | | | * 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
* here comes the newsAndrey Hristov2010-09-221-0/+1
|
* Improved performance of unserialize(), original patch by galaxy dot mipt at ↵Kalle Sommer Nielsen2010-09-181-0/+2
| | | | gmail dot com
* - Added missing entries related to pdo_dblibFelipe Pena2010-09-161-0/+2
|
* Implement FR #44331 (Formatting option for json_encode). Bikeshedding about theAdam Harvey2010-09-161-0/+1
| | | | | | exact form of the JSON pretty printing and brace handling will only be accepted in the form of patches. ;)
* Implemented FR #49366 (Make slash escaping optional in json_encode()).Adam Harvey2010-09-161-0/+1
|
* - Improved memory usageDmitry Stogov2010-09-151-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | . zend_function.pass_rest_by_reference is replaced by ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags . zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE in zend_function.fn_flags . zend_arg_info.required_num_args removed. it was needed only for internal functions. Now the first arg_info for internal function (which has special meaning) is represented by zend_internal_function_info structure. . zend_op_array.size, size_var, size_literal, current_brk_cont, backpatch_count moved into CG(context), because they are used only during compilation. . zend_op_array.start_op is moved into EG(start_op), because it's used only for 'interactive' execution of single top-level op-array. . zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in zend_op_array.fn_flags. . op_array.vars array is trimmed (reallocated) during pass_two. . zend_class_entry.constants_updated is replaced by ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags . the size of zend_class_entry is reduced by sharing the same memory space by different information for internal and user classes. See zend_class_inttry.info union.
* - Changed listen.backlog in the FPM configuration file to default to 128Jérôme Loyet2010-08-311-2/+0
| | | | | | instead of -1 (except on FreeBSD and OpenBSD). This is the same value as the one used in the cgi sapi. This patch completes revision 302725.
* Added apache compatible functions (apache_child_terminate, getallheaders, ↵Dmitry Stogov2010-08-271-0/+2
| | | | apache_request_headers, apache_response_headers) to FastCGI SAPI
* Implemented request #34857 (Change array_combine behaviour when called withAdam Harvey2010-08-271-0/+2
| | | | | empty arrays). Patch by Joel Perras <joel.perras@gmail.com>.
* Fixed bug #52614 (Memory leak when writing on uninitialized variable ↵Dmitry Stogov2010-08-251-0/+2
| | | | returned from method call)