// $phpvers = phpversion(); //commented out for testing
$phpvers = '5.4.99'; //actual version
$phpcompared = '5500'; // this would be the minimum we can have
$checkvers = str_replace(".","",$phpvers); // strip away all dots (.) so we can compare integers
$phpremainder = (int)$checkvers - (int)$phpcompared; //which is -1 which is not at least 5.5
برچسب:
نویسنده: آیلین رضوانی