1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 06:32:49 +02:00
Files
archived-php-src/ext/dom/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
..
2009-08-26 17:17:58 +00:00
2003-10-27 15:32:44 +00:00
2003-10-27 15:13:12 +00:00
2009-08-26 17:17:58 +00:00
WS
2007-07-27 00:20:43 +00:00
WS
2007-07-27 00:20:43 +00:00
WS
2007-07-27 00:20:43 +00:00
2008-05-14 13:04:05 +00:00
2008-05-14 13:04:05 +00:00
2007-11-19 08:19:31 +00:00
2007-07-24 14:07:42 +00:00
2007-07-24 14:07:42 +00:00
2008-03-08 19:11:18 +00:00
2007-07-24 14:07:42 +00:00
WS
2007-07-27 00:20:43 +00:00
2007-07-24 14:07:42 +00:00
WS
2007-07-27 00:20:43 +00:00
WS
2007-07-27 00:20:43 +00:00
2009-09-11 21:57:04 +00:00
MFH
2008-07-13 21:22:55 +00:00
2004-03-29 20:54:46 +00:00
2006-06-27 00:09:43 +00:00
2008-07-14 11:47:44 +00:00
2004-12-02 16:33:36 +00:00
2005-11-06 10:51:29 +00:00
2004-03-29 20:54:13 +00:00
2008-05-27 12:44:53 +00:00
2003-10-27 11:24:30 +00:00
2008-07-14 11:47:44 +00:00
2003-12-05 14:52:51 +00:00
2009-02-13 17:56:20 +00:00
2006-05-17 16:36:21 +00:00
2006-05-17 16:36:21 +00:00
2006-10-09 16:02:34 +00:00
2006-10-09 16:02:34 +00:00
2009-05-26 06:09:18 +00:00
2009-05-26 06:09:18 +00:00
2009-05-26 06:09:18 +00:00
2006-10-09 16:02:34 +00:00
MFH
2008-07-13 21:22:55 +00:00
MFH
2008-07-13 21:22:55 +00:00
2003-10-27 17:36:44 +00:00
2003-10-27 15:32:44 +00:00