logo

Black Friday
Sale

  •  99.9% זמן פעילות
  •  חינם שם דומיין
  •  24/7 חי תמיכה
  •  ערבות כספית של 30-יום
התחל

Up To

90

%

OFF

Black Friday Sale: אירוח אתרים זול מִ ₪2.95 /חוֹדֶשׁ!
See All Deals
×

Knowledge base

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

Parse error: syntax error, unexpected T_PRIVATE

Modified on:
php error syntax error unexpected T_PRIVATE

If you get error message 'unexpected T_PRIVATE' or similar error in your script, make sure your script does not use "reserved" variables.

For example, $private is "reserved" variable in PHP5, so rename $private to something else and everything should work fine.

To learn more see this link: http://www.google.com/search?q=unexpected+T_PRIVATE