summaryrefslogtreecommitdiff
path: root/Zend/tests/bug49908.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug49908.phpt')
-rw-r--r--Zend/tests/bug49908.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/Zend/tests/bug49908.phpt b/Zend/tests/bug49908.phpt
index e3e91d3452..e108918b13 100644
--- a/Zend/tests/bug49908.phpt
+++ b/Zend/tests/bug49908.phpt
@@ -1,16 +1,16 @@
--TEST--
-Bug #49908 (throwing exception in __autoload crashes when interface is not defined)
+Bug #49908 (throwing exception in autoloader crashes when interface is not defined)
--FILE--
<?php
spl_autoload_register(function ($className) {
- var_dump($className);
+ var_dump($className);
- if ($className == 'Foo') {
- class Foo implements Bar {};
- } else {
- throw new Exception($className);
- }
+ if ($className == 'Foo') {
+ class Foo implements Bar {};
+ } else {
+ throw new Exception($className);
+ }
});
try {