1
0
mirror of https://github.com/php/php-src.git synced 2026-04-05 07:02:33 +02:00
Commit Graph

79 Commits

Author SHA1 Message Date
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