Bug #39674

\TYPO3\FLOW3\var_dump behaves weird in controller actions doing return

Added by Adrian Föder almost 3 years ago. Updated almost 3 years ago.

Status:New Start date:2012-08-10
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:MVC
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:(any)

Description

doing this:

1    public function indexAction() {
2        \TYPO3\FLOW3\var_dump('vardump.');
3
4        return 'I am a return.';
5    }

results in a frontend (browser, response) output like this:

1<link rel="sty
2

funnily, the amount of characters being actually outputted correlates with the output length of the return; so

return 'f' . str_repeat('o', 30);

results in
 <link rel="stylesheet" type="te
(1234567890123456789012345678901) => 31 chars

Also available in: Atom PDF