1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00
Files
archived-php-src/ext/phar
solotandem 94b4abdbc4 Be consistent in is_executable on a directory in any stream wrapper.
Current code treats the 'local files' stream wrapper ('php_plain_files_wrapper')
  different than all other stream wrappers. For the 'local' stream wrapper,
  is_executable only checks the mode key in the filestat array on the file or
  directory in question. For other stream wrappers, is_executable always returns
  FALSE on a directory. This treatment is inconsistent on its face.

  Also, for a custom stream wrapper that also points to local files, the result
  of is_executable is always FALSE even though it may be TRUE if the function were
  called on the same item using the 'local' stream wrapper from PHP.

  NOTE: patch does not attempt to add a test for this as there are no tests of
  is_executable for stream wrappers.
2018-03-27 21:49:26 +02:00
..
2018-01-02 12:57:58 +08:00
2018-01-02 12:57:58 +08:00
2015-03-08 19:25:55 +08:00
2018-01-02 12:57:58 +08:00
2018-01-02 12:57:58 +08:00
2018-01-02 12:57:58 +08:00
2018-01-02 12:57:58 +08:00
2018-01-02 12:57:58 +08:00
2018-01-02 12:57:58 +08:00