Re: Bug #858: sprintf gives "Document Contains No Data" when referenced string is empty

From: Date: Tue, 20 Oct 1998 00:53:33 +0000
Subject: Re: Bug #858: sprintf gives "Document Contains No Data" when referenced string is empty
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-1915@lists.php.net to get a copy of this message
Are you printing anything else? if not, how is this a bug? you are telling it to print out nothing, and your browser is verifying that by stating that your page contains nothing. Mark > > From: leon@clearink.com > Operating system: Solaris > PHP version: 3.0.5 > PHP Bug Type: Misbehaving function > Bug description: sprintf gives "Document Contains No Data" when referenced string is > empty > > <? > print(sprintf("%s", "")); > ?> > > I should note that this is intermittent, though hitting reload a bunch of times seems > to cause it to happen reliably. > > > -- > PHP Development Mailing List http://www.php.net/ > To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net > For help: php-dev-help@lists.php.net > > -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1915) next »