You can also use version_compare() function, as you can pass operator which will be used for comparison as third argument.
More Related Contents:
- How is this not passing PHP values to JS and vice-versa?
- php variable changes when clicked on html link [closed]
- What is more efficient for a PHP variable, $timelimit 10*60; or $limit 600;? [closed]
- How do you use variables within $_POST? [closed]
- How to include a PHP variable inside a MySQL statement
- How to mathematically evaluate a string like “2-1” to produce “1”?
- PHP | define() vs. const
- How create an array from the output of an array printed with print_r?
- Get img src with PHP
- php variable in html no other way than:
- In PHP, what does “
- Can’t access global variable inside function
- What do the “=&” and “&=” operators in PHP mean?
- PHP Accessing Parent Class Variable
- Beautiful way to remove GET-variables with PHP?
- Passing a variable from one php include file to another: global vs. not
- What’s the best way to pass a PHP variable to Javascript? [duplicate]
- How to pass variables received in GET string through a php header redirect?
- How to pass jQuery variables to PHP variable?
- Can you append strings to variables in PHP? [duplicate]
- How do I pass data between pages in PHP?
- PHP static variables in double quotes
- PHP: Check if variable exist but also if has a value equal to something
- Static variables in PHP
- Add PHP variable inside echo statement as href link address?
- What does “===” mean? [duplicate]
- implicit class variable declaration in php?
- Which is faster? Constants, Variables or Variable Arrays
- Jquery load() and PHP variables
- Access an Array Returned by a Function [duplicate]