1--TEST--
2realpath_cache_size() and realpath_cache_get()
3--SKIPIF--
4<?php
5if (substr(PHP_OS, 0, 3) == 'WIN') {
6    die('skip not 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(4) {
21  ["key"]=>
22  %s(%f)
23  ["is_dir"]=>
24  bool(true)
25  ["realpath"]=>
26  string(%d) "%sfile"
27  ["expires"]=>
28  int(%d)
29}
30Done
31