<commit_before><?php
/**
 * @requires extension apc
 */
class RouterApcTest extends PHPUnit_Framework_TestCase
{
    function setup()
    {
        if( ! extension_loaded('apc') )
            skip('apc required.');
    }

	function testApcCache()
	{
		ini_set('apc.enable_cli',1);

		apc_store( 'test', 3 );
		is( 3, apc_fetch( 'test' ) );

		$router = new Roller\Router( null , array( <commit_msg>Check apc.enable_cli<commit_after><?php
/**
 * @requires extension apc
 */
class RouterApcTest extends PHPUnit_Framework_TestCase
{
    function setup()
    {
        if( ! extension_loaded('apc') )
            skip('apc required.');
        if( ! ini_get('apc.enable_cli') )
            skip('apc.enable_cli required');
    }

	function testApcCache()
	{
		ini_set('apc.enable_cli',1);

		apc_store( 'test', 3 );
		is( 3, apc_fetch( 'test' ) );

		$router = new Roller\Router( null , array( 
{'fraction_non_alphanumeric': 0.15168539325842698, 'fraction_numerical': 0.006741573033707865, 'mean_word_length': 3.0316742081447963, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '338685', 'n_tokens_mistral': 332, 'n_tokens_neox': 314, 'n_words': 63}