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

« back to all changes in this revision

Viewing changes to ext/mysqli/tests/050.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
non freed statement test 
 
3
--SKIPIF--
 
4
<?php require_once('skipif.inc'); ?>
 
5
--FILE--
 
6
<?php
 
7
        include "connect.inc";
 
8
        
 
9
        /************************
 
10
         * non freed stamement
 
11
         ************************/
 
12
        $link = mysqli_connect($host, $user, $passwd);
 
13
 
 
14
        $stmt = mysqli_prepare($link, "SELECT CURRENT_USER()");
 
15
        mysqli_execute($stmt);
 
16
 
 
17
        mysqli_close($link);
 
18
        printf("Ok\n");
 
19
?>
 
20
--EXPECT--
 
21
Ok