Issue #1954296 by Zaiten - Change error reporting to suppress PHP 5.4 Strict Warnings, with 5.3 backward compatibility.