Bug #39674

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

Added by Adrian Föder about 9 years ago. Updated about 9 years ago.

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

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

doing this:

    public function indexAction() {
        \TYPO3\FLOW3\var_dump('vardump.');

        return 'I am a return.';
    }

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

<link rel="sty

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

No data to display

Also available in: Atom PDF