diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2002-11-10 18:43:19 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2002-11-10 18:43:19 +0000 |
commit | b8d56f5ec219d19d289088fcd27a21c30eeb575e (patch) | |
tree | 299acfcf33325f250d72e4958ea532c1ed0dccd1 | |
parent | 705a4e251c904048d1eb54a02b5886ebf9efc769 (diff) | |
download | php-git-b8d56f5ec219d19d289088fcd27a21c30eeb575e.tar.gz |
Added a test case for bug #17882
-rw-r--r-- | tests/lang/bug17882.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/lang/bug17882.phpt b/tests/lang/bug17882.phpt new file mode 100644 index 0000000000..2369fa3564 --- /dev/null +++ b/tests/lang/bug17882.phpt @@ -0,0 +1,15 @@ +--TEST-- +Bug #17882 (case sensitivity of functions in classes) +--FILE-- +<?php +class X { + function a() {} + function A() {} +} +class Y { + function A() {} + function A() {} +} +?> +--EXPECTF-- +Fatal error: Cannot redeclare a() in %s/bug17882.php on line %d |