From 4ade01852c9e7ddc9c42a391d54ceff079ea1a87 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Tue, 19 Feb 2008 17:21:50 +0000 Subject: [PATCH] Fix a failing test --- ext/mysqli/tests/bug34810.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } -- 2.40.0