How to "guess" php version by looking at code?
Suppose you're handed a zip file containing php code for an application. Are there any telltale signs about which version (5.x, 7.1, 7.3,etc ) the original author was working with?
My issue is, I suspect I'm running an incorrect php version for my (phalcon) application, my users can't log in. I see in logs
"PHP Warning: Use of undefined constant success - assumed 'success' (this will throw an Error in a future version of PHP)"
and
Uncaught Error: Class 'View' not found in ....