note 81429 rejected from function.nl2br by nlopess

From: Date: Thu, 28 Feb 2008 00:54:52 +0000
Subject: note 81429 rejected from function.nl2br by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-136542@lists.php.net to get a copy of this message
Note Submitter: Lokitek at gmail dot com ---- Using the example supplied of: echo nl2br("foo isn't\n bar"); My php 5.1.6 is actually echoing out: foo isn't<br> bar This is NOT xhtml compliant since it's suppose to be <br /> Anyone experienced this? extra info: PHP 5.1.6 (cli) (built: Sep 12 2007 11:10:42) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

« previous php.notes (#136542) next »