1--TEST--
2Bug #74923 Crash when crawling through network share
3--SKIPIF--
4<?php
5include __DIR__ . DIRECTORY_SEPARATOR . "util.inc";
6
7skip_if_not_win();
8if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
9
10?>
11--FILE--
12<?php
13
14/* No way to affect timeout here. On different systems this might take some
15    dozens of seconds to complete. */
16
17$s = '\\\\hello.com' . str_repeat('\\', 260);
18
19var_dump($s, @stat($s));
20
21?>
22--EXPECTF--
23string(271) "%s"
24bool(false)
25