Bug #12535: We'd like support for output buffering and "here" syntax

From: Date: Thu, 02 Aug 2001 17:53:01 +0000
Subject: Bug #12535: We'd like support for output buffering and "here" syntax
Groups: php.dev 
Request: Send a blank email to php-dev+get-61864@lists.php.net to get a copy of this message
From: matt@boltbluecorp.com Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: We'd like support for output buffering and "here" syntax Hello, For a long time I've wished that PHP supported the "here" string syntax, i.e in Perl: print <<EOF; <html> <body> <font face="Arial" size="2">This is great for outputting HTML</font> </body> </html> EOF or better yet... $string = <<EOS; Hi, this is a multi-line string. EOS The second example is a must considering that PHP does not support output buffering, which is another feature that I believe is essential. It would be lovely to flush an output buffer and then issue an HTTP header like a cookie or a redirect. Let me just say that I love PHP, but this is one aspect in which it falls short of (forgive me) Active Server Pages. Matt Flaherty -- Edit bug report at: http://bugs.php.net/?id=12535&edit=1

« previous php.dev (#61864) next »