php-src/ext/pgsql/tests/08escape.phpt

15 lines
257 B
Plaintext
Raw Normal View History

2002-04-04 13:59:44 +00:00
--TEST--
PostgreSQL escape functions
--SKIPIF--
<?php include("skipif.inc"); ?>
--FILE--
<?php
include("escape.inc");
?>
--EXPECT--
2002-04-19 12:24:58 +00:00
pg_escape_string() is NOT Ok
string(9) "ABC\ABC\'"
string(12) "ABC\\ABC\\''"
string(10) "ABC\\ABC\'"
2002-04-04 15:25:46 +00:00
pg_escape_bytea() is Ok