<?php if (version_compare('4.0.0', '4.0.0-beta1', 'lt')) { echo '4.0.0 is lower than 4.0.0-beta1'; } else { echo '4.0.0 is NOT lower than 4.0.0-beta1'; } echo PHP_EOL; if (version_compare('4.0.0', '4.0.0-beta1', 'gt')) { echo '4.0.0 is greater than 4.0.0-beta1'; } else { echo '4.0.0 is NOT greater than 4.0.0-beta1'; }
You have javascript disabled. You will not be able to edit any code.