check which version of php does codeigniter using code example Example: check codeignitor version <?php echo CI_VERSION; ?>