dmitry          Wed Feb 22 11:44:37 2006 UTC

  Modified files:              
    /php-src/tests/classes      tostring_001.phpt 
  Log:
  Fixed test file
  
  
http://cvs.php.net/viewcvs.cgi/php-src/tests/classes/tostring_001.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/tests/classes/tostring_001.phpt
diff -u php-src/tests/classes/tostring_001.phpt:1.3 
php-src/tests/classes/tostring_001.phpt:1.4
--- php-src/tests/classes/tostring_001.phpt:1.3 Thu Oct  6 18:37:19 2005
+++ php-src/tests/classes/tostring_001.phpt     Wed Feb 22 11:44:37 2006
@@ -130,3 +130,57 @@
 test3::__toString()
 string(53) "Method test3::__toString() must return a string value"
 ====DONE====
+--UEXPECTF--
+====test1====
+test1 Object
+(
+)
+unicode(54) "Object of class test1 could not be converted to string"
+unicode(0) ""
+object(test1)#%d (0) {
+}
+====test2====
+test2 Object
+(
+)
+test2::__toString()
+Converted
+object(test2)#%d (0) {
+}
+====test3====
+test2::__toString()
+Converted
+====test4====
+test2::__toString()
+string:Converted
+====test5====
+test2::__toString()
+1Converted
+1test2::__toString()
+Converted
+====test6====
+test2::__toString()
+test2::__toString()
+Converted
+Converted
+test2::__toString()
+Converted
+test2::__toString()
+Converted
+====test7====
+test2::__toString()
+unicode(19) "Illegal offset type"
+====test8====
+test2::__toString()
+unicode(9) "Converted"
+test2::__toString()
+unicode(9) "Converted"
+====test9====
+test2::__toString()
+Converted
+====test10====
+object(test3)#%d (0) {
+}
+test3::__toString()
+unicode(53) "Method test3::__toString() must return a string value"
+====DONE====

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

Reply via email to