diff options
author | Andrea Faulds <ajf@ajf.me> | 2017-08-12 01:37:47 +0100 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2017-08-12 01:37:47 +0100 |
commit | e88ab7488602fa7141c44db53fd52b0a6a9fcae0 (patch) | |
tree | 9755e747accf7d13dc8fff9ab789ab47bd0ec2d8 /tests/output | |
parent | 46ecda76ba2989957c9f6d049d76d6e668918d12 (diff) | |
parent | b59718bdc439f82fa1beae2c4ea1582c38bc8de3 (diff) | |
download | php-git-e88ab7488602fa7141c44db53fd52b0a6a9fcae0.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'tests/output')
-rw-r--r-- | tests/output/bug74725.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/output/bug74725.phpt b/tests/output/bug74725.phpt new file mode 100644 index 0000000000..fc4e98b3e0 --- /dev/null +++ b/tests/output/bug74725.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug #74725: html_errors=1 breaks unhandled exceptions +--FILE-- +<?php +ini_set('display_errors', 1); +ini_set('html_errors', 1); +ini_set('default_charset', "Windows-1251"); +throw new Exception("\xF2\xE5\xF1\xF2"); +// Note to test reader: this file is in Windows-1251 (vim: `:e ++enc=cp1251`) +?> +--EXPECTF-- +<br /> +<b>Fatal error</b>: Uncaught Exception: тест in %s:5 +Stack trace: +#0 {main} + thrown in <b>%s</b> on line <b>5</b><br /> |