Bug #39674

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

Added by Adrian Föder 10 months ago. Updated 10 months ago.

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

0%

Category:MVC
Target version:-
PHP Version: Complexity:
Has patch:No FLOW3 version affected:(any)
Votes: 0

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