Slide 19
Slide 19 text
Changes to LIST()
The list() construct is no longer able to split strings for you. Use
str_split.
The order of items has been normalised when appending onto an
existing array with the []'s in the list.
●
list($A[], $A[], $A[]) = [1, 2, 3];
●
PHP 5: $A = [ 3, 2, 1 ];
●
PHP 7: $A = [ 1, 2, 3];