[TYPO3-core] RFC #14692: t3lib_utility_client is not working with php 5.2.0

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Jun 10 20:11:58 CEST 2010


Hey there,

this is a SVN patch request.


Type: Bugfix

Branches: trunk

BT reference:
http://bugs.typo3.org/view.php?id=14692

Issue:
the preg_match_all pattern used to get the client information is using 
named subpatterns that are not compatible with php 5.2.0 but only php 
5.2.2+.

Solution:
Change their spelling from '?<browser>' to '?P<browser>' which is 
backwards compatible and also working with php 5.2.0

-- 
kind regards,
Franz Koch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_utitlity_client.diff
Type: text/x-diff
Size: 726 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100610/ac2676a0/attachment.diff>


More information about the TYPO3-team-core mailing list