Hello Community,
the second RC of PHP 5.6 has been released yesterday. We should do some serious testing, to avoid unexpected problems with the new version.
So everybody who has some time, please test, and report back.
Christoph
PHP 5.6
PHP 5.6
Christoph M. Becker – Plugins for CMSimple_XH
Re: PHP 5.6
PHP 5.6.0 has just been released.
I have made some quick tests with XH 1.6.2, and so far everything seems to work fine. I do not expect any major problems, because the backward incompatible changes don't seem to be relevant for CMSimple_XH or plugins. However, it would nonetheless be good to test more thoroughly.
One thing that might cause undesired behavior is that default_charset now affects character encoding specific functions such as htmlspecialchars(). I have not been able to produce anything security related, but the affected functions might return empty strings under PHP 5.6. Consider, for instance:
I suggest to always specify the desired character encoding explicitely for these functions. (Note that since CMSimple_XH 1.5.8 there is XH_hsc() available.)
I have made some quick tests with XH 1.6.2, and so far everything seems to work fine. I do not expect any major problems, because the backward incompatible changes don't seem to be relevant for CMSimple_XH or plugins. However, it would nonetheless be good to test more thoroughly.
One thing that might cause undesired behavior is that default_charset now affects character encoding specific functions such as htmlspecialchars(). I have not been able to produce anything security related, but the affected functions might return empty strings under PHP 5.6. Consider, for instance:
Code: Select all
ini_set('default_charset', 'BIG5'); // this might be set by the provider
htmlspecialchars("\xC3\x84"); // => ''
Christoph M. Becker – Plugins for CMSimple_XH