#23620 [NEW]: undefined function: is_executable()
| From: | greg dot leggett at tteggel dot com | Date: | Wed, 14 May 2003 03:52:58 +0000 |
| Subject: | #23620 [NEW]: undefined function: is_executable() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39598@lists.php.net to get a copy of this message | ||
From: greg dot leggett at tteggel dot com
Operating system: Windows XP/Apache 1.3.27
PHP version: 4.3.1
PHP Bug Type: Filesystem function related
Bug description: undefined function: is_executable()
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 bug report at http://bugs.php.net/?id=23620&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23620&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23620&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23620&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23620&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23620&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23620&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23620&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23620&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23620&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23620&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23620&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23620&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23620&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23620&r=gnused