summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests/08escape.phpt
blob: e6a8cf8731274cfc2e6d532ba0680efd9988fe95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
PostgreSQL escape functions
--SKIPIF--
<?php include("skipif.inc"); ?>
--FILE--
<?php
include("escape.inc");
?>
--EXPECT--
pg_escape_string() is NOT Ok
string(9) "ABC\ABC\'"
string(12) "ABC\\ABC\\''"
string(10) "ABC\\ABC\'"
pg_escape_bytea() is Ok