File: 013.phpt

package info (click to toggle)
php-yac 2.3.1%2B%2B-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: ansic: 2,724; xml: 330; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 309 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Check for ttl bug 
--SKIPIF--
<?php if (!extension_loaded("yac")) print "skip"; ?>
--INI--
yac.enable=1
yac.enable_cli=1
yac.keys_memory_size=4M
yac.values_memory_size=32M
--FILE--
<?php 
$yac = new Yac(); 
$yac->set('test', 1, 1); 
sleep(2); 
var_dump($yac->get('test'));
?>
--EXPECTF--
bool(false)