1--TEST-- 2realpath_cache_size() and realpath_cache_get() 3--SKIPIF-- 4<?php 5if (substr(PHP_OS, 0, 3) != 'WIN') { 6 die('skip only on Windows'); 7} 8?> 9--FILE-- 10<?php 11 12var_dump(realpath_cache_size()); 13$data = realpath_cache_get(); 14var_dump($data[__DIR__]); 15 16echo "Done\n"; 17?> 18--EXPECTF-- 19int(%d) 20array(8) { 21 ["key"]=> 22 %s(%d%s) 23 ["is_dir"]=> 24 bool(true) 25 ["realpath"]=> 26 string(%d) "%sfile" 27 ["expires"]=> 28 int(%d) 29 ["is_rvalid"]=> 30 bool(%s) 31 ["is_wvalid"]=> 32 bool(%s) 33 ["is_readable"]=> 34 bool(%s) 35 ["is_writable"]=> 36 bool(%s) 37} 38Done 39