File: 004.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 (18 lines) | stat: -rw-r--r-- 314 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Testing setting and getting values
--SKIPIF--
<?php if (!extension_loaded("ps")) print "skip"; ?>
--POST--
--GET--
--INI--
--FILE--
<?php 
$psdoc = ps_new();
ps_set_value($psdoc, "anyname", 0.125);
echo ps_get_value($psdoc, "anyname", 0.0)."\n";
ps_delete($psdoc);
echo "Done\n";
?>
--EXPECT--
0.125
Done