Problem/Motivation

PHP var_export does not output in short array syntax and is used to generated PHP files. The related PHP RFC is PHP RFC: Change var_export() array syntax to use shorthand arrays.

This is a follow up from #2959551: Variable::export should export using short-hand array syntax.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Comments

quietone created an issue. See original summary.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.