Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // In some file ("how" and "where" is the point of my question):
- $PhpVersionRunning = PHP_VERSION;
- $PhpVersionRequired = '5.4.0';
- // In a separate class file
- if ( $PhpVersionRunning < $PhpVersionRequired )
- {
- //Halt framework and issue a message
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement