NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Syntax Error for '\' in function parameter


Joined: 09 Feb 2009
Posts: 6
Reply with quote
Hi there,

In PhpED 5.9 I get a syntax error for '\' when I do something like this:

public function aFunction(\something\someclass $somevar) {

}

Is there some way I can fix this?
View user's profileFind all posts by robotomSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
Is your project Target PHP Version (in the Project Properties > Parser tab) set to 5.3?
View user's profileFind all posts by plugnplaySend private message


Joined: 09 Feb 2009
Posts: 6
Reply with quote
Aha. That fixed it, thanks!
View user's profileFind all posts by robotomSend private message
[resolved] Syntax Error for '\' in function parameter
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic