|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-12-03 14:49 UTC] claus-bernth at sports-mc dot dk
[2000-12-07 13:16 UTC] dbeu@php.net
[2004-07-23 12:41 UTC] akk at yakk dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 15:00:01 2025 UTC |
Description script: <? $image = 'gfx/test.jpg'; // existing file if (is_file($image)) { // check file, returns true... echo $res; // '1' is printed... } $image = 'gfx/test.jp'; // non-existing file if (is_file($image)) { // check file => PHP error echo $res; // now PHP prints: } ?> "Stat failed in line 8 in module <modulename>..." ---- Compilation: Standard win32 installation file! PHP.ini file nonstandard settings: safe_mode=on end of bug report, Claus Bernth