Sponsor-Board.de
PHP Problem ?

+- Sponsor-Board.de (https://www.sponsor-board.de)
+-- Forum: Community (/forumdisplay.php?fid=56)
+--- Forum: Hilfe (/forumdisplay.php?fid=102)
+---- Forum: Scripting (/forumdisplay.php?fid=108)
+---- Thema: PHP Problem ? (/showthread.php?tid=54670)


PHP Problem ? - HardwareNow - 15.04.2015 16:14

Hallo Liebe SB Mitglieder
Unswar bekomme ich dieses Problem

Zitat:
Parse error: syntax error, unexpected .......Pfad...... /helpers.php on line 49


Nun steht in Line 49 und 50

Zitat:
function app($make = null, $parameters = [])
{


Würde mich über eure Hilfe freuen


RE: PHP Problem ? - Ringelnatz - 15.04.2015 16:16

PHP-Code:
function app($make null$parameters = array()) 

[] als Zuweisung dürfte nicht gehen, hab ich zumindest noch nie gesehen.


RE: PHP Problem ? - Nytaso - 15.04.2015 16:30

Hab ich auch noch nie gesehen.
Was soll den die Zuweisung = [] bewirken?
Ich sehe da keinen Nutzen! Höchstens ein = null oder = array()