]> granicus.if.org Git - php/commitdiff
- Fixed test
authorFelipe Pena <felipe@php.net>
Thu, 14 Aug 2008 19:17:59 +0000 (19:17 +0000)
committerFelipe Pena <felipe@php.net>
Thu, 14 Aug 2008 19:17:59 +0000 (19:17 +0000)
Zend/tests/exception_009.phpt

index aec4da4b727c60926d7d56e572be0184930f0ee4..b22b3aa66e1de4ebdc2a35d726a941e01d9e5346 100644 (file)
@@ -14,9 +14,9 @@ class my_file
 class my_exception extends exception
 {
          public  function __construct()
-         {/*
+         {
                  $this->message = new stdclass ;
-                 $this->file = new my_file ;*/
+                 $this->file = new my_file ;
                  $this->line = "12" ;
          }
 }
@@ -25,4 +25,4 @@ throw new my_exception;
 
 ?>
 --EXPECT--
-Catchable fatal error: Object of class stdClass could not be converted to Unicode string in Unknown on line 0
+Catchable fatal error: Object of class stdClass could not be converted to string in Unknown on line 0