From: Andrey Hristov Date: Tue, 19 Feb 2008 17:22:05 +0000 (+0000) Subject: Fix a failing test X-Git-Tag: RELEASE_2_0_0a1~423 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5aaeda6e433b9667e7c90ef9563deda7f41ae68;p=php Fix a failing test --- diff --git a/ext/mysqli/tests/bug34810.phpt b/ext/mysqli/tests/bug34810.phpt index 3bc959aab8..8af0790e49 100644 --- a/ext/mysqli/tests/bug34810.phpt +++ b/ext/mysqli/tests/bug34810.phpt @@ -23,7 +23,7 @@ class DbConnection { $mysql->query("CREATE TABLE test_warnings (a int not null)"); $mysql->query("SET sql_mode=''"); $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)"); - var_dump(mysqli_warning::__construct($mysql)); + var_dump(new mysqli_warning($mysql)); } }