Limited Time Offer - from RM2.99/month
00
DAYS
17
HOURS
25
MINUTES
49
SECONDS
Get Started
×

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

  • Free Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
RM
2
99
/mo
Save 90%
Let's go!