[TYPO3-core] RFC: #7350:PHP5ize class.t3lib_div.php
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sat Feb 2 00:03:06 CET 2008
This is a SVN patch request.
Branches: trunk only
BT reference: http://bugs.typo3.org/view.php?id=7350
Type: code clean up
Issue: PHP 5.1 allows to declare a method of a class static and it
allows to use type hinting for funciton parameters, especially arrays.
To move on in style (and to set an example) t3lib_div gets these features.
Notes: yes I know, stupid coders won't check the arguments they use in
calling t3lib_div functions and those will now get PHP errors - oh
horrible loss of compatibility. But hey, this is by design and they
should be thankful for it. Instead of a silent failure they can now
start debugging their code with a helpful PHP error.
Masi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_7350.diff
Type: text/x-diff
Size: 70079 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080202/ed5cade6/attachment-0001.diff
More information about the TYPO3-team-core
mailing list