[BUGFIX] Fatal error when editing multible checkboxes answer in 6.0+

Deprecated functionality is used

This patch fixes this by only testing if the key is an integer and not a string. t3lib_div::testInt() is not needed.

Fixes: #52531

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pbsurvey/trunk@81622 735d13b6-9817-0410-8766-e36946ffe9aa
[BUGFIX] Trimming is not performed correctly in BE

For trimming array_walk is used the wrong way.

This patch fixes this changing the array_walk to array_map

Fixes: #45298

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pbsurvey/trunk@81628 735d13b6-9817-0410-8766-e36946ffe9aa
[BUGFIX] ereg and split are deprecated since PHP 5.3

In the date validation ereg and split are still used

This patch fixes this by replacing them with preg_match and preg_split

Fixes: #45296

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pbsurvey/trunk@81630 735d13b6-9817-0410-8766-e36946ffe9aa