Browse Source

- Fixed test

PECL
Felipe Pena 18 years ago
parent
commit
6b91caeba1
  1. 6
      Zend/tests/exception_009.phpt

6
Zend/tests/exception_009.phpt

@ -14,9 +14,9 @@ class my_file
class my_exception extends exception class my_exception extends exception
{ {
public function __construct() public function __construct()
{/*
{
$this->message = new stdclass ; $this->message = new stdclass ;
$this->file = new my_file ;*/
$this->file = new my_file ;
$this->line = "12" ; $this->line = "12" ;
} }
} }
@ -25,4 +25,4 @@ throw new my_exception;
?> ?>
--EXPECT-- --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
Loading…
Cancel
Save