--TEST-- Bug #61398 APC fails to find class methods on user stream wrappers --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); if (PHP_MAJOR_VERSION < 5 || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION < 4)) { die('skip PHP 5.4+ only'); } --FILE-- <?php include "server_test.inc"; $args = array( 'apc.enabled=1', 'apc.cache_by_default=1', 'apc.enable_cli=1', 'apc.canonicalize=1', 'apc.stat=1', 'allow_url_include=1', ); $file = <<<FL \$s = '<?php echo "hello\n";'; include "data://text/plain,\$s"; FL; server_start($file, $args); for ($i = 0; $i < 10; $i++) { run_test_simple(); } echo 'done'; ?> --EXPECT-- hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello done