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

03
DAYS
13
HOURS
15
MINUTES
27
SECONDS
Black Friday Sale: Cheap Web Hosting
From RM2.99 /Month!
See All Deals
×

Knowledge base

Find information within our custom articles about Hostinger's features
and all information relating to hosting practices.

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