diff options
Diffstat (limited to 'ext/standard/tests/misc/get_browser_no_default.phpt')
-rw-r--r-- | ext/standard/tests/misc/get_browser_no_default.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/standard/tests/misc/get_browser_no_default.phpt b/ext/standard/tests/misc/get_browser_no_default.phpt new file mode 100644 index 0000000000..28e346af55 --- /dev/null +++ b/ext/standard/tests/misc/get_browser_no_default.phpt @@ -0,0 +1,12 @@ +--TEST-- +get_browser() without a default +--INI-- +browscap={PWD}/browscap_no_default.ini +--FILE-- +<?php + +var_dump(get_browser("")); + +?> +--EXPECT-- +bool(false) |