source: trunk/tests/xcache_deep_copy_static_variables.phpt @ 1379

Last change on this file since 1379 was 1379, checked in by moo, 15 months ago

adds deep copy test

File size: 187 bytes
Line 
1--TEST--
2xcache requires deep copying static variables in shallow copy mode
3--INI--
4xcache.readonly_protection=0
5--FILE--
6<?php
7static $a = array(1);
8echo $a[0], PHP_EOL;
9?>
10--EXPECT--
111
Note: See TracBrowser for help on using the repository browser.