Skip to content

Conversation

@atani
Copy link
Contributor

@atani atani commented Feb 28, 2025

Starting from PHP 8.1, the $escape parameter in the fgetcsv function is expected to become mandatory. If this parameter is not explicitly specified, a deprecation warning will be displayed.

This change ensures compatibility with future PHP versions while maintaining expected behavior.

  • Changes

    • Updated: fgetcsv($stdin, 0)fgetcsv($stdin, 0, ',', '"', '\\')
  • Impact

    • Affects CSV data reading process.
  • Related Error

    • PHP Deprecated: fgetcsv(): the $escape parameter must be provided as its default value will change

@atani
Copy link
Contributor Author

atani commented Feb 28, 2025

Error

image

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.

1 participant