Re: [PHP-DEV] RFC: var_export - short syntax for array

2019-08-21 Thread Влад Макин
Thanks for the feedback! I will back with improved version of RFC. вт, 20 авг. 2019 г., 23:01 Sara Golemon : > On Tue, Aug 20, 2019 at 1:05 PM Влад Макин wrote: > >> I would like to propose a little change in var_export function behavior. >> For today, this funct

[PHP-DEV] RFC: var_export - short syntax for array

2019-08-20 Thread Влад Макин
Hello! I would like to propose a little change in var_export function behavior. For today, this function returns string representation of array in old style with “array” keyword: var_export([]); // array() I think it would be better if the function returned array representation in modern square