PHP Classes

syntax error, unexpected ':'

Recommend this page to a friend!

      CAPTCHA Image Maker  >  All threads  >  syntax error, unexpected ':'  >  (Un) Subscribe thread alerts  
Subject:syntax error, unexpected ':'
Summary:Error in code
Messages:2
Author:Stuart Cole
Date:2017-06-13 13:21:48
 

  1. syntax error, unexpected ':'   Reply   Report abuse  
Picture of Stuart Cole Stuart Cole - 2017-06-13 13:21:48
Receiving the following error, any ideas?

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/wi1/public_html/app/tools/captcha/src/Captcha.php on line 5

  2. Re: syntax error, unexpected ':'   Reply   Report abuse  
Picture of walid laggoune walid laggoune - 2017-07-19 11:29:23 - In reply to message 1 from Stuart Cole
are you using PHP 7 ? because the class designed to work in php 7