For example: a not less than b
How to write it down?
if ($a >= $b) if !($a < $b)
Having an exclamation mark outside the condition causes a syntax error, right?
if(!($a < $b))
"IF NOT SMALL THAN B"
Makes the most linguistic sense compared to their question.
If a is not less than b, then a is greater than or equal to b like this:
$a >= $b
!($a<$b)
Or simply
$a>=$b
a> = b
Assuming a and b are guaranteed to be comparable.
if( $a >= $b ) { echo $a . " is not smaller than " . $b; } else { echo $a . " is smaller than " . $b; }
Source: https://habr.com/ru/post/1757040/More articles:How do you get / invite beta testers for your iPhone / iPad application? - iphoneShould I combine .css files with php to reduce HTTP requests? - javascriptСопоставьте ключ блокировки крышки, который сопоставляется с системой ctrl, чтобы Escape просто в vim - vimPut iPhone app on your phone to check? - iphoneWhat is an Algorithm for ORM? - phpjsp: inclusion, performance, modulation, alternatives and best practices, part 96 - javaHow to remove scroll from iframe using jquery? - jqueryWhy is Firefox waiting for the javascript function to complete to launch another function? - javascriptЧто означает несоответствие типа файла ошибки (~)? - xcodeCaching pattern: what you call (and how you change) OpenSymphony OsCache "group" paradigm - cachingAll Articles