From: Andrey Hristov Date: Tue, 19 Feb 2008 17:21:50 +0000 (+0000) Subject: Fix a failing test X-Git-Tag: RELEASE_1_3_1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ade01852c9e7ddc9c42a391d54ceff079ea1a87;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)); } }