Browse Source

Fixed tests

experimental/5.2-WITH_DRCP
Dmitry Stogov 19 years ago
parent
commit
40d3abba41
  1. 2
      tests/classes/array_access_005.phpt
  2. 2
      tests/classes/array_access_008.phpt
  3. 2
      tests/classes/array_access_012.phpt

2
tests/classes/array_access_005.phpt

@ -69,4 +69,6 @@ array(1) {
string(6) "JoeFoo"
}
Notice: Indirect modification of overloaded element of Peoples has no effect in /home/dmitry/php/php5.2/tests/classes/array_access_005.php on line 46
Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sarray_access_005.php on line %d

2
tests/classes/array_access_008.phpt

@ -56,4 +56,6 @@ string(9) "FooBarBaz"
===ArrayOverloading===
string(3) "Foo"
Notice: Indirect modification of overloaded element of Peoples has no effect in /home/dmitry/php/php5.2/tests/classes/array_access_008.php on line 40
Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sarray_access_008.php on line %d

2
tests/classes/array_access_012.phpt

@ -31,4 +31,6 @@ $data['element'] = &$test;
<?php exit(0); ?>
--EXPECTF--
Notice: Indirect modification of overloaded element of ArrayAccessImpl has no effect in /home/dmitry/php/php5.2/tests/classes/array_access_012.php on line 24
Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference in %sarray_access_012.php on line %d
Loading…
Cancel
Save