diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-08-09 23:19:55 -0300 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-08-12 16:15:45 +0200 |
commit | 84b195d9fc5ba2b65ceb46d8ec3d4676bf51a538 (patch) | |
tree | 2c3100631a749d0ebc5515f06a950dae8c9d9b3b /Zend/tests/bug65784.phpt | |
parent | 9ea7d259effc81700e8b7f03f56c47c14201548e (diff) | |
download | php-git-84b195d9fc5ba2b65ceb46d8ec3d4676bf51a538.tar.gz |
Fix some misspellings
Diffstat (limited to 'Zend/tests/bug65784.phpt')
-rw-r--r-- | Zend/tests/bug65784.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/tests/bug65784.phpt b/Zend/tests/bug65784.phpt index 663ea95761..43369e2d60 100644 --- a/Zend/tests/bug65784.phpt +++ b/Zend/tests/bug65784.phpt @@ -8,7 +8,7 @@ function foo1() { return true; } finally { try { - throw new Exception("catched"); + throw new Exception("caught"); } catch (Exception $e) { } } @@ -25,11 +25,11 @@ try { function foo2() { try { try { - throw new Exception("catched"); + throw new Exception("caught"); return true; } finally { try { - throw new Exception("catched"); + throw new Exception("caught"); } catch (Exception $e) { } } @@ -42,7 +42,7 @@ var_dump($foo); function foo3() { try { - throw new Exception("not catched"); + throw new Exception("not caught"); return true; } finally { try { @@ -57,7 +57,7 @@ $bar = foo3(); string(9) "not catch" NULL -Fatal error: Uncaught Exception: not catched in %sbug65784.php:42 +Fatal error: Uncaught Exception: not caught in %sbug65784.php:42 Stack trace: #0 %sbug65784.php(52): foo3() #1 {main} |