Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22518 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21223 invoked by uid 1010); 18 Mar 2006 08:44:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21208 invoked from network); 18 Mar 2006 08:44:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Mar 2006 08:44:06 -0000 X-Host-Fingerprint: 64.233.184.203 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.203:33404] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E0/40-55982-658CB144 for ; Sat, 18 Mar 2006 03:44:06 -0500 Received: by wproxy.gmail.com with SMTP id 70so671879wra for ; Sat, 18 Mar 2006 00:44:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=gEcNwJO8CqHeT+L13GJArkDBGQnEDslAq1J/KPk1N6yDq4Mq6hWcxSp0Nw6b0j89/huRofU7mOi5cZlZc5JXZNnXdxmIkBHpYaj94Tr+sComLKefTNhhFczXAEjj9mZwI8/EFOLKQcpn5/7ty9BoAgMkPpGbAyx123YPzviQX7o= Received: by 10.64.131.16 with SMTP id e16mr687800qbd; Sat, 18 Mar 2006 00:44:02 -0800 (PST) Received: from saturn.lan ( [212.143.154.227]) by mx.gmail.com with ESMTP id d12sm2539819qbc.2006.03.18.00.43.55; Sat, 18 Mar 2006 00:43:57 -0800 (PST) Date: Sat, 18 Mar 2006 10:43:49 +0200 To: internals@lists.php.net Message-ID: <20060318104349.a899bdfb.rosti.bsd@gmail.com> X-Mailer: Sylpheed version 2.2.3 (GTK+ 2.8.16; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: no newline after "?>" in the resulting HTML From: rosti.bsd@gmail.com (Rostislav Krasny) Hi, I am a newbie to PHP. I've installed a php5-cgi-5.1.2_1 from FreeBSD ports collection and access it by FastCGI protocol from nginx HTTP server. I've tried an example of "Hello World" PHP script from the following tutorial page: http://www.php.net/manual/en/tutorial.firstpage.php This is how the resulting HTML code is expected to look like, according to the tutorial: PHP Test

Hello World

And following is the HTML code I've got: PHP Test

Hello World

Why there is no newline afer "

Hello World

" ? Is it a PHP bug or the tutorial should be updated? P.S. I'm not subscribed to this list, please Cc your reply.