[eluser]thinkigniter[/eluser]
OK, it's late, for me anyway.
The current script I'm working on required a php5 function if php5 was available.
I'm running php 5.2.5 so I went to see how CI does it, C'se CI programmers are just so COOL.
Anyway...
The
codeigniter.php has this code.
Code:
if (floor(phpversion()) < 5){
//CALL PHP5 FUNCTION
}
But when I used it the php function wasn't called.
Hmmm!
So I added an equals and now it works
Code:
if (floor(phpversion()) <= 5){
//CALL PHP5 FUNCTION
}
Does that mean
codeigniter.php has never called
base5.php?
Am I wrong?