summaryrefslogtreecommitdiff
path: root/sapi/cli
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-08-12 17:06:02 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-13 12:02:27 +0200
commitcdc4e49b84230c98a27b788db9a9530bea2b8d17 (patch)
tree401ecbcce58018502de7503bbf342fb220d666e5 /sapi/cli
parentf16c1dc7ee8bd6c3289cdbb76c5550767fb4f64b (diff)
downloadphp-git-cdc4e49b84230c98a27b788db9a9530bea2b8d17.tar.gz
Make strftime tests musl compatible
* Remove usage of strftime() in favor of date() in cases where we are not specifically testing strftime(). We implement date() ourselves, and as such are insulated from implementation- defined behavior. * Add skipif for broken strftime() %Z support. We have decided not to work around the issue for musl using manual expansion, as people should not be using this function anyway, and it is slated for future deprecation. * Don't test strftime() with invalid format specifier. The behavior is implementation-dependent.
Diffstat (limited to 'sapi/cli')
0 files changed, 0 insertions, 0 deletions