~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to ext/mysqli/tests/033.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
function test: mysqli_get_host_info
 
3
--SKIPIF--
 
4
<?php require_once('skipif.inc'); ?>
 
5
--FILE--
 
6
<?php
 
7
        include "connect.inc";
 
8
        
 
9
        /*** test mysqli_connect 127.0.0.1 ***/
 
10
        $link = mysqli_connect($host, $user, $passwd);
 
11
 
 
12
        $hinfo = mysqli_get_host_info($link);
 
13
 
 
14
        var_dump(str_replace('/','', $hinfo));
 
15
 
 
16
        mysqli_close($link);
 
17
?>
 
18
--EXPECTF--
 
19
string(%d) "%s via %s"
 
 
b'\\ No newline at end of file'