Page 1 of 1

anyway to make php4 strict code in xammp ??

Posted: Thu Feb 14, 2008 12:39 am
by PHPycho
Hello forums!!
I would like to know if there is any method to make the php script to be strict php4 compatible
For example we can use E_STRICT for php5

I would like to any .htaccess hack or else method.
Note: I have xammp installed with php5
Thanks in advance to all of you.

Re: anyway to make php4 strict code in xammp ??

Posted: Fri Feb 15, 2008 12:11 am
by Benjamin
You can't. You can prevent the errors from being displayed, but var is depreciated in PHP5. You can do a find and replace to convert var to public though.