PHP 7 new use function returns error
Posted by: PaulDiamant (---.red.bezeqint.net)
Date: January 30, 2017 10:41AM

So I've set my PHP version to 7 on WAMP and when I try to use this for example;


use {PDO, PDOException};

An error is returned saying the curly brackets are not supposed to be there. Any ideas?



Edited 1 time(s). Last edit at 01/30/2017 10:41AM by PaulDiamant.

Options: ReplyQuote
Re: PHP 7 new use function returns error
Posted by: Otomatic (Moderator)
Date: January 30, 2017 11:03AM

Hi,

See PHP documentation, for example [fr2.php.net].
This question is not On Topic
This site is for people having issues getting WAMPServer running and not a general HOW DO I site for everything web related.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.