From 1f89cd329fd35648ea4d066b0896243b22b305a0 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 26 Nov 2008 10:17:01 +0000 Subject: [PATCH] - New test --- Zend/tests/bug46665.phpt | 15 +++++++++++++++ Zend/tests/bug46665_autoload.php | 5 +++++ 2 files changed, 20 insertions(+) create mode 100644 Zend/tests/bug46665.phpt create mode 100644 Zend/tests/bug46665_autoload.php diff --git a/Zend/tests/bug46665.phpt b/Zend/tests/bug46665.phpt new file mode 100644 index 0000000000..994ea8b795 --- /dev/null +++ b/Zend/tests/bug46665.phpt @@ -0,0 +1,15 @@ +--TEST-- +Bug #46665 (Triggering autoload with a variable classname causes truncated autoload param) +--FILE-- + +--EXPECTF-- +%string|unicode%(12) "\Foo\Bar\Baz" diff --git a/Zend/tests/bug46665_autoload.php b/Zend/tests/bug46665_autoload.php new file mode 100644 index 0000000000..092b272964 --- /dev/null +++ b/Zend/tests/bug46665_autoload.php @@ -0,0 +1,5 @@ +