From 9708b01654f277c633f40161d8ea57f00b577d99 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sat, 23 May 2009 15:37:36 +0000 Subject: - New tests (testfest NorthWestUG) --- ext/spl/tests/SplFixedArray__construct_param_string.phpt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ext/spl/tests/SplFixedArray__construct_param_string.phpt (limited to 'ext/spl/tests/SplFixedArray__construct_param_string.phpt') diff --git a/ext/spl/tests/SplFixedArray__construct_param_string.phpt b/ext/spl/tests/SplFixedArray__construct_param_string.phpt new file mode 100644 index 0000000000..3a7e734b06 --- /dev/null +++ b/ext/spl/tests/SplFixedArray__construct_param_string.phpt @@ -0,0 +1,12 @@ +--TEST-- +SplFixedArray::__construct() with string passed as parameter. +--CREDITS-- +PHPNW Test Fest 2009 - Jordan Hatch +--FILE-- + +--EXPECTF-- +Warning: SplFixedArray::__construct() expects parameter 1 to be long, %unicode_string_optional% given in %s on line %d -- cgit v1.2.1