From c4dd7a1a684490673e25aaf4fabec5df138854c4 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Thu, 14 Mar 2013 05:42:27 +0000 Subject: Imported from /home/lorry/working-area/delta_php2/php-5.4.13.tar.bz2. --- .../classes/method_override_optional_arg_001.phpt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tests/classes/method_override_optional_arg_001.phpt (limited to 'tests/classes/method_override_optional_arg_001.phpt') diff --git a/tests/classes/method_override_optional_arg_001.phpt b/tests/classes/method_override_optional_arg_001.phpt new file mode 100644 index 0000000..333c29d --- /dev/null +++ b/tests/classes/method_override_optional_arg_001.phpt @@ -0,0 +1,33 @@ +--TEST-- +Method override allows optional default argument +--SKIPIF-- + +--FILE-- +foo(1); + +?> +--EXPECTF-- +Strict Standards: Declaration of C::foo() should be compatible with A::foo($arg1 = 1) in %s on line %d +int(1) +int(3) -- cgit v1.2.1