summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/032.phpt
blob: 02564834d8313dbee55d9efbf77ab0276d235111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--TEST--
function test: mysqli_info
--FILE--
<?php
	$user = "root";
	$passwd = "";

	
	/*** test mysqli_connect 127.0.0.1 ***/
	$link = mysqli_connect("localhost", $user, $passwd);

	mysqli_select_db($link, "test");

	mysqli_query($link, "drop table if exists general_test");
	mysqli_query($link, "create table general_test (a int)");
	mysqli_query($link, "insert into general_test values (1),(2),(3)");

	$afc = mysqli_info($link);

	var_dump($afc);

	mysqli_close($link);
?>
--EXPECT--
string(38) "Records: 3  Duplicates: 0  Warnings: 0"