cvs: ZendEngine2(PHP_5_3) /tests exception_009.phpt

From: Date: Thu, 14 Aug 2008 19:14:56 +0000
Subject: cvs: ZendEngine2(PHP_5_3) /tests exception_009.phpt
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-7052@lists.php.net to get a copy of this message
felipe Thu Aug 14 19:14:56 2008 UTC Added files: (Branch: PHP_5_3) /ZendEngine2/tests exception_009.phpt Log: - New test http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/exception_009.phpt?view=markup&rev=1.1 Index: ZendEngine2/tests/exception_009.phpt +++ ZendEngine2/tests/exception_009.phpt --TEST-- Testing exception properties --FILE-- <?php class my_file { public function __toString() { return "somebuildfilename" ; } } class my_exception extends exception { public function __construct() { $this->message = new stdclass ; $this->file = new my_file ; $this->line = "12" ; } } throw new my_exception; ?> --EXPECT-- Catchable fatal error: Object of class stdClass could not be converted to Unicode string in Unknown on line 0

« previous php.zend-engine.cvs (#7052) next »