aharvey Wed, 23 Mar 2011 08:48:32 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=309584
Log: Bah, these should have been in the last commit too. Update expected output for further tests that now generate warnings after r306931. Changed paths: U php/php-src/trunk/tests/lang/engine_assignExecutionOrder_008.phpt U php/php-src/trunk/tests/lang/foreachLoop.016.phpt Modified: php/php-src/trunk/tests/lang/engine_assignExecutionOrder_008.phpt =================================================================== --- php/php-src/trunk/tests/lang/engine_assignExecutionOrder_008.phpt 2011-03-23 08:43:36 UTC (rev 309583) +++ php/php-src/trunk/tests/lang/engine_assignExecutionOrder_008.phpt 2011-03-23 08:48:32 UTC (rev 309584) @@ -66,10 +66,16 @@ ${'i'}=f(): good $i[0]=f(): good $i[0][0]=f(): good -$i->p=f(): good -$i->p->q=f(): good +$i->p=f(): +Warning: Creating default object from empty value in %s on line %d +good +$i->p->q=f(): +Warning: Creating default object from empty value in %s on line %d +good $i->p[0]=f(): good -$i->p[0]->p=f(): good +$i->p[0]->p=f(): +Warning: Creating default object from empty value in %s on line %d +good C::$p=f(): good C::$p[0]=f(): good -C::$p->q=f(): good \ No newline at end of file +C::$p->q=f(): good Modified: php/php-src/trunk/tests/lang/foreachLoop.016.phpt =================================================================== --- php/php-src/trunk/tests/lang/foreachLoop.016.phpt 2011-03-23 08:43:36 UTC (rev 309583) +++ php/php-src/trunk/tests/lang/foreachLoop.016.phpt 2011-03-23 08:48:32 UTC (rev 309584) @@ -150,12 +150,16 @@ } $a->b + +Warning: Creating default object from empty value in %s on line %d array(1) { [0]=> string(8) "original" } $a->b->c + +Warning: Creating default object from empty value in %s on line %d array(1) { [0]=> string(8) "original" @@ -174,6 +178,8 @@ } $a->b[0]->c + +Warning: Creating default object from empty value in %s on line %d array(1) { [0]=> string(8) "original" @@ -192,7 +198,9 @@ } C::$a[0]->b + +Warning: Creating default object from empty value in %s on line %d array(1) { [0]=> string(8) "original" -} \ No newline at end of file +}
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php