@ 2014-08-07T20:53:24Z <?php
$file_link = array(
'#theme' => 'file_link',
'#file' => 'blah.html',
);
$element['file'] = $file_link =+ array('#weight' => -10);
var_dump($element);
//$element['file'] = $file_link += array('#weight' => -10);
var_dump($element);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.1.23 - 8.1.28 , 8.2.10 - 8.2.18 , 8.3.0 - 8.3.6 Fatal error: Uncaught TypeError: Unsupported operand types: array * int in /in/odMlf:6
Stack trace:
#0 {main}
thrown in /in/odMlf on line 6
Process exited with code 255 . Output for 4.3.2 - 4.3.11 , 4.4.0 - 4.4.9 , 5.0.0 - 5.0.5 , 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 , 5.3.0 - 5.3.28 , 5.4.0 - 5.4.31 Fatal error: Unsupported operand types in /in/odMlf on line 6
Process exited with code 255 . Output for 4.3.0 - 4.3.1 Fatal error: Unsupported operand types in /in/odMlf on line 6
preferences:dark mode live preview
99.68 ms | 401 KiB | 141 Q