#35606 [Opn]: SplFileObject: crash instead of exception
From: php-work at yandex dot ru Date: Thu, 08 Dec 2005 20:09:26 +0000 Subject: #35606 [Opn]: SplFileObject: crash instead of exception References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-90026@lists.php.net to get a copy of this message
ID: 35606
User updated by: php-work at yandex dot ru
Reported By: php-work at yandex dot ru
Status: Open
Bug Type: SPL related
Operating System: Windows XP
PHP Version: 5CVS-2005-12-08 (CVS)
New Comment:
Reproduce code:
---------------
<?php
$a = new SplFileObject('_file_does_not_exists_', 'r');
?>
Expected result:
----------------
Fatal error: Uncaught exception 'RuntimeException' with message
'SplFileObject::__construct(_file_does_not_exists_)
[function.--construct]: failed to open stream: No such file or
directory' in c:\www\script.php:2 Stack trace: #0 c:\www\script.php(2):
SplFileObject->__construct('_file_does_not_...', 'r') #1 {main} thrown
in c:\www\script.php on line 2
Actual result:
--------------
PHP Crashes
Previous Comments:
------------------------------------------------------------------------
[2005-12-08 21:09:24] php-work at yandex dot ru
Reproduce code:
---------------
<?php
$a = new SplFileObject('_file_does_not_exists_', 'r');
?>
Expected result:
----------------
Fatal error: Uncaught exception 'RuntimeException' with message
'SplFileObject::__construct(_file_does_not_exists_)
[function.--construct]: failed to open stream: No such file or
directory' in c:\www\script.php:2 Stack trace: #0 c:\www\script.php(2):
SplFileObject->__construct('_file_does_not_...', 'r') #1 {main} thrown
in c:\www\script.php on line 2
Actual result:
--------------
PHP Crashes
------------------------------------------------------------------------
[2005-12-08 21:09:22] php-work at yandex dot ru
Reproduce code:
---------------
<?php
$a = new SplFileObject('_file_does_not_exists_', 'r');
?>
Expected result:
----------------
Fatal error: Uncaught exception 'RuntimeException' with message
'SplFileObject::__construct(_file_does_not_exists_)
[function.--construct]: failed to open stream: No such file or
directory' in c:\www\script.php:2 Stack trace: #0 c:\www\script.php(2):
SplFileObject->__construct('_file_does_not_...', 'r') #1 {main} thrown
in c:\www\script.php on line 2
Actual result:
--------------
PHP Crashes
------------------------------------------------------------------------
[2005-12-08 21:09:21] php-work at yandex dot ru
Reproduce code:
---------------
<?php
$a = new SplFileObject('_file_does_not_exists_', 'r');
?>
Expected result:
----------------
Fatal error: Uncaught exception 'RuntimeException' with message
'SplFileObject::__construct(_file_does_not_exists_)
[function.--construct]: failed to open stream: No such file or
directory' in c:\www\script.php:2 Stack trace: #0 c:\www\script.php(2):
SplFileObject->__construct('_file_does_not_...', 'r') #1 {main} thrown
in c:\www\script.php on line 2
Actual result:
--------------
PHP Crashes
------------------------------------------------------------------------
[2005-12-08 21:09:19] php-work at yandex dot ru
Reproduce code:
---------------
<?php
$a = new SplFileObject('_file_does_not_exists_', 'r');
?>
Expected result:
----------------
Fatal error: Uncaught exception 'RuntimeException' with message
'SplFileObject::__construct(_file_does_not_exists_)
[function.--construct]: failed to open stream: No such file or
directory' in c:\www\script.php:2 Stack trace: #0 c:\www\script.php(2):
SplFileObject->__construct('_file_does_not_...', 'r') #1 {main} thrown
in c:\www\script.php on line 2
Actual result:
--------------
PHP Crashes
------------------------------------------------------------------------
[2005-12-08 21:09:18] php-work at yandex dot ru
Reproduce code:
---------------
<?php
$a = new SplFileObject('_file_does_not_exists_', 'r');
?>
Expected result:
----------------
Fatal error: Uncaught exception 'RuntimeException' with message
'SplFileObject::__construct(_file_does_not_exists_)
[function.--construct]: failed to open stream: No such file or
directory' in c:\www\script.php:2 Stack trace: #0 c:\www\script.php(2):
SplFileObject->__construct('_file_does_not_...', 'r') #1 {main} thrown
in c:\www\script.php on line 2
Actual result:
--------------
PHP Crashes
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35606
--
Edit this bug report at http://bugs.php.net/?id=35606&edit=1
Thread (152 messages)
- #35606 [Opn->Fbk]: Many crashes in PHP5
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Fbk->Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn]: SplFileObject: crash instead of exception
- #35606 [Opn->Csd]: SplFileObject: crash instead of exception
| « previous | php.bugs (#90026) | next » |
|---|