summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGerard Roche <gerardroche@users.noreply.github.com>2020-05-12 10:07:18 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-05-12 16:59:25 +0200
commit16f23cd1590115c035549cbb0cfcb9ed9e22edbc (patch)
tree705a3e07ddc96cd30e07bd4365bf7bf665c068c7 /tests
parentf07fbfb8a9129b5031201936d3e5c0e53445b28e (diff)
downloadphp-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