1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/reflection/tests
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
..
2008-05-24 13:34:22 +00:00
2008-05-24 13:34:22 +00:00
2008-05-24 13:34:22 +00:00
2008-05-24 13:34:22 +00:00
2008-05-24 13:34:22 +00:00
2008-05-24 13:34:22 +00:00
2008-05-24 13:34:22 +00:00
2008-05-24 13:34:22 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-08-11 14:00:02 +00:00
2008-05-24 13:34:22 +00:00
MFH
2007-07-11 22:06:54 +00:00
MFH
2008-02-15 09:35:53 +00:00
2009-06-29 07:45:11 +00:00
2009-06-29 07:45:11 +00:00
2009-08-26 17:17:58 +00:00
2010-11-21 12:28:10 +00:00
2004-09-29 08:55:45 +00:00
2008-08-18 19:49:33 +00:00
2009-01-07 22:40:17 +00:00
2009-01-07 22:40:17 +00:00
2009-01-07 22:40:17 +00:00
2009-01-07 22:40:17 +00:00
2010-06-03 00:13:27 +00:00
2009-01-07 22:40:17 +00:00
2010-03-06 23:58:35 +00:00
2009-01-07 22:40:17 +00:00
2010-05-29 21:55:19 +00:00
2010-05-30 01:00:45 +00:00
2010-05-30 01:00:45 +00:00