私はphpunitでテストを書いていますが、時々私は
var_dump($this->getRequest()->getBody())
これはすべて問題なくダンディですが、端末で行うと:
phpunit application/modules/account/ContactControllerTest.php
次の出力が得られます。
string(2319) "<!DOCTYPE html><!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]--><!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"><![endif]--><!--[if IE 8]><html class="no-js lt-ie9"><![endif]--><!--[if gt IE 8]><!--><html class="no-js"><!--<![endif]--><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" ><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" ><meta name="apple-mobile-web-app-capable" content="yes" "...
...
それは 2319 文字ではありません.... 516 文字に近いです.... 残りのコンテンツはどこにありますか? はい、私の端末では無制限のスクロールがオンになっています。