From b2b47a525f1ea2d96960170a49214c975b1cc57c Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Thu, 17 Apr 2008 18:16:34 +0000 Subject: [PATCH] - New test --- Zend/tests/023.phpt | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Zend/tests/023.phpt diff --git a/Zend/tests/023.phpt b/Zend/tests/023.phpt new file mode 100644 index 0000000000..8912ad159b --- /dev/null +++ b/Zend/tests/023.phpt @@ -0,0 +1,50 @@ +--TEST-- +Testing variable variables as function name +--FILE-- +$$b()->$b()); + + +$a = 'strtoupper'; +$b = 'a'; +$c = 'b'; +$d = 'c'; +var_dump($$$$d('foo')); + +?> +--EXPECT-- +Test +foo! +string(4) "bar!" +string(3) "FOO" +--UEXPECT-- +Test +foo! +unicode(4) "bar!" +unicode(3) "FOO" -- 2.50.1