Doc #60259 [Opn->Bgs]: Problem with return value of print()

From: Date: Fri, 11 Nov 2011 12:52:57 +0000
Subject: Doc #60259 [Opn->Bgs]: Problem with return value of print()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-7411@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60259&edit=1 ID: 60259 Updated by: gooh@php.net Reported by: mail2_koushik at yahoo dot co dot in Summary: Problem with return value of print() -Status: Open +Status: Bogus Type: Documentation Problem Package: *General Issues PHP Version: 5.4.0RC1 Block user comment: N Private report: N New Comment: print returns 1, always. Previous Comments: ------------------------------------------------------------------------ [2011-11-11 10:50:20] mail2_koushik at yahoo dot co dot in Description: ------------ --- From manual page: http://www.php.net/function.print#refsect1-function.print-returnvalues --- Problem with return value of print() Is print() return 1 for its successful displaying or it always return 1 for every time? If a print() return 1 for only successful display, then what is the different way for failure of print() ? ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60259&edit=1

« previous php.doc.bugs (#7411) next »