logo

Cyber Sale

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

Up To

90

%

OFF

02
DAYS
17
HOURS
42
MINUTES
15
SECONDS
Cyber Sale: Cheap Hosting Japan
From ¥119.00 /Month!
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