logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

02
DAYS
14
HOURS
11
MINUTES
27
SECONDS
Black Friday Sale: Web Hosting
From £0.80 /Month!
See All Deals
×

Knowledge base

Find articles and information about all features, troubleshooting guides,
and other technical information on Hostinger's hosting services.

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