Skip to content

Fix #315: default value for the escape parameter for fputcsv() is now deprecated#316

Merged
weitzman merged 3 commits intoconsolidation:4.xfrom
zero2one:315-Deprecated-usage-of-fputcsv
Jul 16, 2025
Merged

Fix #315: default value for the escape parameter for fputcsv() is now deprecated#316
weitzman merged 3 commits intoconsolidation:4.xfrom
zero2one:315-Deprecated-usage-of-fputcsv

Conversation

@zero2one
Copy link
Contributor

Disposition

This pull request:

  • Fixes a bug
  • Adds a feature
  • Breaks backwards compatibility
  • Has tests that cover changes

Summary

The default escape parameter of fputcsv() is deprecated since PHP 8.4 and will be removed in next major release.
See https://www.php.net/manual/en/migration84.deprecated.php#migration84.deprecated.standard.

Description

Added the current default escape parameter value to the function call.

@weitzman weitzman merged commit 0cf112d into consolidation:4.x Jul 16, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants