PHP文字出力のパフォーマンス比較

PHPで夢を見るBlog: PHP文字出力のパフォーマンス比較について

シングルクオート<ダブルクオート<ヒアドキュメント<printf関数

速度的には上記らしいです。大量のテキストを出す分にはヒアドキュメントは早いような気がしますが、そうでもないのですかね。パースするのに手間がかかるか。。

関連する記事:

Powered by

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">