Home >Backend Development >PHP Tutorial >php is_file 函数返回 false

php is_file 函数返回 false

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:34:071812browse

关于 php 系统函数 is_file() 返回的是 false



    

	        $image    = new \Think\Image();		$img_url  = 'http://www.yzcms.com/Attach/image/20150524/test.jpg';		$logo_url = "/Attach/image/20150524/logo.jpg";		$test_url = "D:/www/www/yzcms/Attach/image/20150524/test.jpg";    		var_dump(is_file($img_url));				这一个返回的 false				var_dump(is_file($test_url ));

    

                这一个返回的 true


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn