File: 002.phpt

package info (click to toggle)
php4-ps 1.3.4-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 576 kB
  • ctags: 371
  • sloc: ansic: 1,533; php: 1,272; xml: 147; makefile: 75; sh: 40
file content (17 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Testing creation of new document
--SKIPIF--
<?php if (!extension_loaded("ps")) print "skip"; ?>
--POST--
--GET--
--INI--
--FILE--
<?php 
$psdoc = ps_new();
echo "$psdoc\n";
ps_delete($psdoc);
echo "Done\n";
?>
--EXPECTF--
Resource id #%d
Done