diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-12-02 11:29:32 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-12-02 11:29:58 +0100 |
commit | a9e45bc0fb77aaf439642b4c0979ed65237bfdd0 (patch) | |
tree | 25537c0c541e42f2fecbf7b74cfbe61b96db33c5 /ext/standard/tests/file | |
parent | 4ff242a9a7ee323de84a0c69dce115c72441fb19 (diff) | |
parent | bb735c9e9e4a2ca2686a141ffe867f60ee0053c3 (diff) | |
download | php-git-a9e45bc0fb77aaf439642b4c0979ed65237bfdd0.tar.gz |
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #78296: is_file fails to detect file
Diffstat (limited to 'ext/standard/tests/file')
-rw-r--r-- | ext/standard/tests/file/bug78296.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/standard/tests/file/bug78296.phpt b/ext/standard/tests/file/bug78296.phpt new file mode 100644 index 0000000000..e7388d51b7 --- /dev/null +++ b/ext/standard/tests/file/bug78296.phpt @@ -0,0 +1,16 @@ +--TEST-- +Bug #78296 (is_file fails to detect file) +--FILE-- +<?php +$dir = str_pad(__DIR__ . '/bug78296', 250, '_'); +var_dump(mkdir($dir)); +var_dump(is_dir($dir)); +?> +--EXPECT-- +bool(true) +bool(true) +--CLEAN-- +<?php +$dir = str_pad(__DIR__ . '/bug78296', 250, '_'); +rmdir($dir); +?> |