mirror of
https://github.com/php/php-src.git
synced 2024-10-14 21:12:35 +00:00
41 lines
475 B
Plaintext
41 lines
475 B
Plaintext
|
--TEST--
|
||
|
PostgreSQL pg_fetch_*() functions
|
||
|
--SKIPIF--
|
||
|
<?php include("skipif.inc"); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
include("result.inc");
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
object(stdClass)(3) {
|
||
|
["num"]=>
|
||
|
string(1) "1"
|
||
|
["str"]=>
|
||
|
string(3) "ABC"
|
||
|
["bin"]=>
|
||
|
NULL
|
||
|
}
|
||
|
array(6) {
|
||
|
[0]=>
|
||
|
string(1) "1"
|
||
|
["num"]=>
|
||
|
string(1) "1"
|
||
|
[1]=>
|
||
|
string(3) "ABC"
|
||
|
["str"]=>
|
||
|
string(3) "ABC"
|
||
|
[2]=>
|
||
|
NULL
|
||
|
["bin"]=>
|
||
|
NULL
|
||
|
}
|
||
|
array(3) {
|
||
|
[0]=>
|
||
|
string(1) "1"
|
||
|
[1]=>
|
||
|
string(3) "ABC"
|
||
|
[2]=>
|
||
|
NULL
|
||
|
}
|
||
|
Ok
|