#23620 [Opn->Bgs]: undefined function: is_executable()
ID: 23620
Updated by: magnus@php.net
Reported By: greg dot leggett at tteggel dot com
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: Windows XP/Apache 1.3.27
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
From the manual: Note: This function is not implemented on
Windows platforms.
Previous Comments:
------------------------------------------------------------------------
[2003-05-13 22:52:58] greg dot leggett at tteggel dot com
I am running through some basic practice scripts and encounter what
appears to be a bug with the "is_executable()" function. Here is the
striped down script:
<html>
<head>
<title>Test</title>
</head>
<body>
<?php
print "test.txt is ".(is_executable( "test.txt" )?"":"not
")."executable<br>";
?>
</body>
</html>
Which produces the following result:
Fatal error: Call to undefined function: is_executable() in c:\program
files\apache group\apache\htdocs\10_9.php on line 7
The file is present and does respond to "is_readable()",
"is_writable()", etc.
This is an out-of-the-can install of PHP 4.3.1 for Win32, with no
additional modules (aside from any being used for Apache). Please let
me know if I am omitting any relevant reporting information.
Thank you!!!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23620&edit=1
Thread (2 messages)