Back to index

php5  5.3.10
Functions | Variables
skipif.inc File Reference

Go to the source code of this file.

Functions

if(!is_resource($conn)) skip_server_version ($version, $op= '<')
 skip_client_version ($version, $op= '<')
 _skip_version ($type, $version, $op)

Variables

if(!extension_loaded("pgsql")) $conn = @pg_connect($conn_str)

Function Documentation

_skip_version ( type,
version,
op 
)

Definition at line 24 of file skipif.inc.

{
       $pg = pg_parameter_status($type.'_version');
       if (version_compare($pg, $version, $op)) {
              die("skip {$type} version {$pg} is {$op} {$version}\n");
       }
}

Here is the caller graph for this function:

skip_client_version ( version,
op = '<' 
)

Definition at line 21 of file skipif.inc.

{ _skip_version('client', $version, $op); }

Here is the call graph for this function:

if (!is_resource($conn)) skip_server_version ( version,
op = '<' 
)

Definition at line 20 of file skipif.inc.

{ _skip_version('server', $version, $op); }

Here is the call graph for this function:


Variable Documentation

if (!extension_loaded("pgsql")) $conn = @pg_connect($conn_str)

Definition at line 15 of file skipif.inc.