diff options
author | Gerard Roche <gerardroche@users.noreply.github.com> | 2020-05-12 10:07:18 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-05-12 16:59:25 +0200 |
commit | 16f23cd1590115c035549cbb0cfcb9ed9e22edbc (patch) | |
tree | 705a3e07ddc96cd30e07bd4365bf7bf665c068c7 /tests | |
parent | f07fbfb8a9129b5031201936d3e5c0e53445b28e (diff) | |
download | php-git-16f23cd1590115c035549cbb0cfcb9ed9e22edbc.tar.gz |
run-tests: remove use of FILE_BINARY constant
The FILE_BINARY (and FILE_TEXT) constants are not really valid or useful
constants. It looks like they were added in 5.2.7 and have "no effect,
and are only available for forward compatibility."
See: https://www.php.net/manual/en/filesystem.constants.php
The default value of the file_put_contents() flags parameter is 0 and
FILE_BINARY is set to 0, so removing it doesn't change functionality.
P.S. Maybe those constants should be deprecated or removed in 8.0.
Closes GH-5556.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions