diff options
| author | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:34:21 -0400 |
|---|---|---|
| committer | Mark A. Hershberger <mah@debian.(none)> | 2009-03-25 00:34:21 -0400 |
| commit | 0e920280a2e04b110827bb766b9f29e3d581c4ee (patch) | |
| tree | 8f2125f3d00fe3089e3b94adb06f04479ee15f2a /ext/pgsql/tests/07optional.phpt | |
| download | php-0e920280a2e04b110827bb766b9f29e3d581c4ee.tar.gz | |
Imported Upstream version 5.0.4upstream/5.0.4
Diffstat (limited to 'ext/pgsql/tests/07optional.phpt')
| -rw-r--r-- | ext/pgsql/tests/07optional.phpt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/pgsql/tests/07optional.phpt b/ext/pgsql/tests/07optional.phpt new file mode 100644 index 000000000..e73a9cffe --- /dev/null +++ b/ext/pgsql/tests/07optional.phpt @@ -0,0 +1,19 @@ +--TEST-- +PostgreSQL optional functions +--SKIPIF-- +<?php include("skipif.inc"); ?> +--FILE-- +<?php +// optional functions + +include('config.inc'); + +$db = pg_connect($conn_str); +$enc = pg_client_encoding($db); + +pg_set_client_encoding($db, $enc); + +echo "OK"; +?> +--EXPECT-- +OK |
