Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php version compare function

// Syntax 
version_compare(string $version1, string $version2, ?string $operator = null): int|bool
// operators are: <, lt, <=, le, >, gt, >=, ge, ==, =, eq, !=, <>, ne

// Examples
version_compare('8.5.0', '8.0.0', '>='); // returns true
version_compare('8.5.0', '8.0.0', '<'); // returns false
Comment

PREVIOUS NEXT
Code Example
Php :: response()-make laravel pdf 
Php :: combine date and time in php 
Php :: php check version ubuntu 
Php :: laravel collection random 
Php :: laravel group by on subquery 
Php :: php convert minutes to hours and minutes 
Php :: laravel get url path 
Php :: object values to array php 
Php :: - tijsverkoyen/css-to-inline-styles 2.2.3 requires ext-dom * - the requested PHP extension dom is missing from your system. 
Php :: php routing 
Php :: wp get category by id 
Php :: absolute path php 
Php :: sort laravel eloquent 
Php :: php array size 
Php :: how to display the responce of curl in php 
Php :: factory laravel tinker 
Php :: How do I make a redirect in PHP? 
Php :: multiply a string php 
Php :: create foreign key phpmyadmin 
Php :: Type error: Argument 1 passed to IlluminateAuthEloquentUserProvider::validateCredentials() 
Php :: php curl async callback 
Php :: how to mask phone number in php 
Php :: how to add data to an object in php 
Php :: php heredoc 
Php :: php sort reverse 
Php :: if condition inside echo in php 
Php :: convert multidimensional array to single array php 
Php :: php creazione numero random 
Php :: current url wordpress 
Php :: excel extract date from dd mm yyyy laravel blade 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =