Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter future with PHP5
#4

[eluser]Edemilson Lima[/eluser]
Quote:However, the core is coded in 4, so it doesn’t take advantage of any of the features of 5.

Are you sure?

system/codeigniter/Base4.php:
* CI_BASE - For PHP 4
*
* This file is used only when CodeIgniter is being run under PHP 4.
*
* In order to allow CI to work under PHP 4 we had to make the Loader class
* the parent of the Controller Base class. It's the only way we can
* enable functions like $this->load->library('email') to instantiate
* classes that can then be used within controllers as $this->email->send()
*
* PHP 4 also has trouble referencing the CI super object within application
* constructors since objects do not exist until the class is fully
* instantiated. Basically PHP 4 sucks...

system/codeigniter/Base5.php:
* CI_BASE - For PHP 5
*
* This file contains some code used only when CodeIgniter is being
* run under PHP 5. It allows us to manage the CI super object more
* gracefully than what is possible with PHP 4.

Quote:If your host doesn’t offer 5, then they are not a good host.

I agree! Smile


Messages In This Thread
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 10:50 AM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 11:30 AM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 11:54 AM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 12:03 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 12:05 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 12:14 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 12:37 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 12:58 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 01:06 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 01:24 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 01:25 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 01:50 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 03:29 PM
CodeIgniter future with PHP5 - by El Forum - 01-18-2008, 10:26 PM
CodeIgniter future with PHP5 - by El Forum - 01-19-2008, 03:57 AM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 03:20 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 06:49 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 06:56 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 07:07 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 07:12 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 08:19 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 09:16 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 09:17 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 10:10 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 10:38 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 10:45 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 11:02 PM
CodeIgniter future with PHP5 - by El Forum - 02-26-2008, 11:32 PM
CodeIgniter future with PHP5 - by El Forum - 09-23-2010, 07:51 PM
CodeIgniter future with PHP5 - by El Forum - 09-23-2010, 09:02 PM
CodeIgniter future with PHP5 - by El Forum - 09-23-2010, 11:45 PM
CodeIgniter future with PHP5 - by El Forum - 09-24-2010, 07:50 AM
CodeIgniter future with PHP5 - by El Forum - 09-24-2010, 08:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB