diff options
author | Xinchen Hui <laruence@gmail.com> | 2015-11-24 13:45:32 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2015-11-24 13:45:32 +0800 |
commit | e637ead6ede47cb57567bb7444b6595500d52d7a (patch) | |
tree | 3518bf2cf42a68da853b2d31f104077405b98048 /ext/reflection | |
parent | fd545f4f44ff44bba9f75ae3f044dc2ba9c61083 (diff) | |
parent | e6b46dc2ff80e78a537155b6d5a556426c90fb59 (diff) | |
download | php-git-e637ead6ede47cb57567bb7444b6595500d52d7a.tar.gz |
Merge branch 'PHP-5.6' into PHP-7.0
Diffstat (limited to 'ext/reflection')
-rw-r--r-- | ext/reflection/tests/bug70960.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/reflection/tests/bug70960.phpt b/ext/reflection/tests/bug70960.phpt new file mode 100644 index 0000000000..30885cd1fa --- /dev/null +++ b/ext/reflection/tests/bug70960.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #70960 (ReflectionFunction for array_unique returns wrong number of parameters) +--FILE-- +<?php + +$ref = new ReflectionFunction('array_unique'); +var_dump(count($ref->getParameters())); +?> +--EXPECT-- +int(2) |