What version of PHP does PHP Tools support?
4 posts
• Page 1 of 1
What version of PHP does PHP Tools support?
Hello,
I wrote a line of code today that PHP Tools flagged as an error (scroll to the right):
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.
I wrote a line of code today that PHP Tools flagged as an error (scroll to the right):
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?
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,
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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: What version of PHP does PHP Tools support?
Great thanks for the update.
Can I assume that traits are supported soon?
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?
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
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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 130 guests