zeev            Wed Jul  2 11:08:11 2003 EDT

  Modified files:              
    /php-src/tests/lang bug22367.phpt 
  Log:
  Adjust expectations :)
  
  
Index: php-src/tests/lang/bug22367.phpt
diff -u php-src/tests/lang/bug22367.phpt:1.1 php-src/tests/lang/bug22367.phpt:1.2
--- php-src/tests/lang/bug22367.phpt:1.1        Mon Feb 24 14:37:27 2003
+++ php-src/tests/lang/bug22367.phpt    Wed Jul  2 11:08:11 2003
@@ -48,7 +48,7 @@
 
 $a = new bar(5);
 var_dump($a->idx);
[EMAIL PROTECTED]>c();
+$a->c();
 $b = $a->b();
 var_dump($b);
 var_dump($a->test);
@@ -61,58 +61,10 @@
 var_dump($a->test);
 
 ?>
---EXPECT--
+--EXPECTF--
 int(5)
 bool(false)
-bool(false)
-array(5) {
-  [0]=>
-  int(0)
-  [1]=>
-  int(1)
-  [2]=>
-  int(2)
-  [3]=>
-  int(3)
-  [4]=>
-  int(4)
-}
-array(5) {
-  [0]=>
-  int(0)
-  [1]=>
-  int(1)
-  [2]=>
-  int(2)
-  [3]=>
-  int(3)
-  [4]=>
-  int(4)
-}
-int(2)
-bool(true)
-bool(true)
-array(5) {
-  [0]=>
-  int(0)
-  [1]=>
-  int(1)
-  [2]=>
-  int(2)
-  [3]=>
-  int(3)
-  [4]=>
-  int(4)
-}
-array(5) {
-  [0]=>
-  int(0)
-  [1]=>
-  int(1)
-  [2]=>
-  int(2)
-  [3]=>
-  int(3)
-  [4]=>
-  int(4)
-}
+
+Notice: Undefined offset:  %d in %s on line %d
+
+Fatal error: Only variables or references can be returned by reference in %s on line 
%d



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to