Allow package to be build on any architecture (not just i386).
[php5-apc.git] / tests / apc_001.phpt
1 --TEST--
2 APC: apc_store/fetch with strings
3 --SKIPIF--
4 <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
5 --INI--
6 apc.enabled=1
7 apc.enable_cli=1
8 apc.file_update_protection=0
9 --FILE--
10 <?php
11
12 $foo = 'hello world';
13 var_dump($foo);
14 apc_store('foo',$foo);
15 $bar = apc_fetch('foo');
16 var_dump($bar);
17 $bar = 'nice';
18 var_dump($bar);
19
20 ?>
21 ===DONE===
22 <?php exit(0); ?>
23 --EXPECTF--
24 string(11) "hello world"
25 string(11) "hello world"
26 string(4) "nice"
27 ===DONE===