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

05
DAYS
10
HOURS
56
MINUTES
06
SECONDS
Black Friday Sale: Cheap Web Hosting
From ₱35.00 /Month!
See All Deals
×

Knowledge base

Find information and articles about features, guides for troubleshooting,
and other useful information related to Hostinger's web 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