Google News
logo
CodeIgniter - Interview Questions
How to find the version of the Codeigniter framework we are currently using?
Finding out the version can be done in two ways.
 
The first way is to run the below code:
<?php echo CI_VERSION;?>
The second way is to obtain the system/core/CodeIgniter.php directory and run the code given below :
define('CI_VERSION', '3.0.0');
or
define('CI_VERSION', '3.0.1');
.
.
.
define('CI_VERSION', '3.1.0');
Advertisement