Download src/php/php-src/ext/pgsql/tests/20pg_get_pid.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pgsql/tests/20pg_get_pid.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/pgsql/tests/20pg_get_pid.phpt
-
curl -L -o 20pg_get_pid.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pgsql/tests/20pg_get_pid.phpt
292 Bytes
| --TEST-- | |
| PostgreSQL pg_get_pid() functions | |
| --EXTENSIONS-- | |
| pgsql | |
| --SKIPIF-- | |
| include("inc/skipif.inc"); | |
| --FILE-- | |
| // optional functions | |
| include('inc/config.inc'); | |
| $db = pg_connect($conn_str); | |
| $pid = pg_get_pid($db); | |
| is_integer($pid) ? print 'OK' : print 'NG'; | |
| --EXPECT-- | |
| OK | |