php syntax with visual paradigm

447 Views Asked by At

I'm getting an error on my PHP code when I try to reverse-egineer PHP code. This line in particular

$adapter  = new \Geocoder\HttpAdapter\CurlHttpAdapter();

It's not liking the backslash. How can I fix this, is there better way in PHP to write this perhaps?

Reason :
Error occured when analysis: /home/vincent/dnseq/geo.php. Lexical error at line 189, column 29.  Encountered: "\\" (92), after : ""
1

There are 1 best solutions below

1
On

That code is perfectly valid in PHP 5.3 and 5.4

Look like you need to update Visual Paradigm, or 5.3 is not supported.

http://forums.visual-paradigm.com/posts/list/288199.html