File: 005.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-- 278 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Getting version of pslib
--SKIPIF--
<?php if (!extension_loaded("ps")) print "skip"; ?>
--POST--
--GET--
--INI--
--FILE--
<?php 
$psdoc = ps_new();
echo ps_get_parameter($psdoc, "dottedversion", 0.0)."\n";
ps_delete($psdoc);
echo "Done\n";
?>
--EXPECTF--
%d.%d.%d
Done