Advertisement
Guest User

Untitled

a guest
Feb 26th, 2015
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. // In some file ("how" and "where" is the point of my question):
  2. $PhpVersionRunning = PHP_VERSION;
  3. $PhpVersionRequired = '5.4.0';
  4.  
  5. // In a separate class file
  6. if ( $PhpVersionRunning < $PhpVersionRequired )
  7. {
  8. //Halt framework and issue a message
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement