I have a PHP 5.6 Nette project (but I think this question includes all php projects with composer) and I would like to add dependency written in PHP 7. Also, PHP for this project is set to 5.6.
Can this work?
Another side question. If I have to give PHP 7 to the project, shouldn't I set PHP to 7 for this project despite the fact, that the project itself is built in PHP 5.6?
Thank you for your answers.