[php-src] Issue #21648: Export arrays as [] instead of array() in var_export
| From: | AJK-Muc | Date: | Mon, 06 Apr 2026 11:42:15 +0000 |
| Subject: | [php-src] Issue #21648: Export arrays as [] instead of array() in var_export | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251902@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/21648
Author: AJK-Muc
### Description
PHP can use
$a = [] instead of $a = array() for very long,
var_export() does not unfortunately. Please make it possible. Thanks.