source: trunk/tests/xcache_deep_copy_static_variables.phpt

Last change on this file was 1497, checked in by moo, 6 months ago

adds ini and skips for testing this module alone

File size: 272 bytes
Line 
1--TEST--
2xcache requires deep copying static variables in shallow copy mode
3--SKIPIF--
4<?php
5require("include-skipif.inc");
6?>
7--INI--
8xcache.readonly_protection=0
9xcache.test = 1
10xcache.size = 32M
11--FILE--
12<?php
13static $a = array(1);
14echo $a[0], PHP_EOL;
15?>
16--EXPECT--
171
Note: See TracBrowser for help on using the repository browser.