0

I am getting this error:

Parse error: syntax error, unexpected 'Â Â Â ' (T_STRING), expecting function (T_FUNCTION) in C:\wamp\www\Banking\Banking.php on line 5

interface Execution
{
 public function execute();
} 

Line 5 is referring to public function execute();

What is wrong with the interface?

I checked the other problems with the same error but cant find one that is related to this.

AbraCadaver
  • 78,200
  • 7
  • 66
  • 87
noor
  • 21
  • 1
  • 7

1 Answers1

0

It's a problem with encoding.

Please convert your file encoding to UTF-8 without BOM

HTML encoding issues - "Â" character showing up instead of " "

Community
  • 1
  • 1
Mateusz Palichleb
  • 765
  • 12
  • 20
  • Doubt it.   won't be valid in PHP either. – AbraCadaver Oct 04 '16 at 20:46
  • i deleted the interface and typed it over and now it is not bringing up the error any more but it finds problem with the lines after that...sjoe...yor!!! – noor Oct 04 '16 at 21:32