php-src/ext/pgsql/tests/08escape.phpt
2002-04-19 12:24:58 +00:00

15 lines
257 B
PHP

--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