source: trunk/tests/xcache_var.phpt @ 1383

Last change on this file since 1383 was 1383, checked in by moo, 13 months ago

adds skips for test

File size: 462 bytes
Line 
1--TEST--
2xcache_set/get test
3--SKIPIF--
4<?php
5require("skipif.inc");
6?>
7--FILE--
8<?php
9var_dump(xcache_isset("a"));
10var_dump(xcache_set("a", 1));
11var_dump(xcache_get("a"));
12var_dump(xcache_isset("a"));
13var_dump(xcache_inc("a", 10));
14var_dump(xcache_get("a"));
15var_dump(xcache_dec("a", 5));
16var_dump(xcache_get("a"));
17xcache_unset("a");
18var_dump(xcache_isset("a"));
19?>
20--EXPECT--
21bool(false)
22bool(true)
23int(1)
24bool(true)
25int(11)
26int(11)
27int(6)
28int(6)
29bool(false)
Note: See TracBrowser for help on using the repository browser.