error_reporting in PHP 4 and PHP 5
<p>I migrated my website from PHP 4.4 to PHP 5.2
The error_reporting level in both cases is E_ALL.
On PHP 4 the site was working fine but after migrating to PHP 5 i found that one page is throwing error.
<strong>Cannot redeclare ClassName:varName</strong>
I found that the variable was indeed re declared in the file.
I want to know that why it was working in PHP4.4 
Does PHP 4 E_ALL not include "class variable redeclare errors"? </p>
