<?php
$sub_arrays = array(), array(), array(); // syntax error
$array = array(
'template' => array(
array(
array(),
array(
$sub_arrays,
// this works, but too unreadable
// array(), array(), array(),
array(),
)
),
),
);
print_r($array);
- Output for 7.1.25 - 7.1.32, 7.2.0 - 7.2.23, 7.3.0 - 7.3.10
- Parse error: syntax error, unexpected ',' in /in/2EvRA on line 3
Process exited with code 255.
preferences:
150.95 ms | 1400 KiB | 50 Q