PHPで生成された画像アルゴリズムを印刷でデバッグしたい。問題は、印刷したテキストが出力されないことです。デバッグできるように変数を出力するにはどうすればよいですか? ありがとう、フルタノ
public function drawPicture()
{
$im = imagecolorallocate ($this->picture, 255, 0, 255);
imagettftext($this->picture, $this->fontSize , 0, 100, 100,$im , "cooperm.TTF", $this->name);
# int ImageCopy ( resource $dst_im , resource $src_im , int $dst_x , int $dst_y , int $src_x , int $src_y , int $src_w , int $src_h )
//imagecopy($this->picture, $this->pika, $this->wappen['pika']['dst_x'], $this->wappen['pika']['dst_y'], 0, 0, $this->pika_size[0], $this->pika_size[1]);
$zufall = rand(1,99999999);
#header("Content-Type: image/jpeg");
imagepng($this->picture);
$this->checkFontSize();
imagedestroy($this->picture);
print "WHY_DOESNT_PRINT?";
}