What version of PHP does PHP Tools support?

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

What version of PHP does PHP Tools support?

Postby fantasticjamieburns » February 3rd, 2013, 9:20 pm

Hello,

I wrote a line of code today that PHP Tools flagged as an error (scroll to the right):

NotAnError.png


This syntax came in with PHP 5.4:
http://php.net/manual/en/migration54.new-features.php

"Class member access on instantiation has been added, e.g. (new Foo)->bar()."

Which leads me to my question - what version of PHP does PHP Tools support (I couldn't see anything on the website)?

Jamie.
You do not have the required permissions to view the files attached to this post.
fantasticjamieburns
 
Posts: 44
Joined: September 10th, 2012, 10:33 am

Re: What version of PHP does PHP Tools support?

Postby Jakub Misek » February 3rd, 2013, 9:47 pm

Hi,

Thanks for the question. This is not stated on the website yet; PHP Tools supports PHP 5.3 + we are continuously adding PHP 5.4 and PHP 5.5 features.

We'll note this information on product page. Your PHP 5.4 syntax will be added in some future release.

Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: What version of PHP does PHP Tools support?

Postby fantasticjamieburns » February 7th, 2013, 7:38 pm

Great thanks for the update.
Can I assume that traits are supported soon?
fantasticjamieburns
 
Posts: 44
Joined: September 10th, 2012, 10:33 am

Re: What version of PHP does PHP Tools support?

Postby Jakub Misek » February 7th, 2013, 8:36 pm

traits and other PHP 5.4 features are planned to be added after 1.6 release.

Following has to be added:
• Support for traits has been added.
• Function array dereferencing has been added, e.g. foo()[0], $o->method()[0]->otherMethod();
• Class member access on instantiation has been added, e.g. (new Foo)->bar().

Thanks
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 45 guests

cron

User Control Panel

Login

Who is online

In total there are 45 users online :: 0 registered, 0 hidden and 45 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 45 guests