Doc #73365 [Nab]: Replace commas with dots in example snippet

From: Date: Fri, 21 Oct 2016 13:46:40 +0000
Subject: Doc #73365 [Nab]: Replace commas with dots in example snippet
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14037@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73365&edit=1 ID: 73365 User updated by: mail at michaelwesthof dot nl Reported by: mail at michaelwesthof dot nl Summary: Replace commas with dots in example snippet Status: Not a bug Type: Documentation Problem Package: *General Issues PHP Version: Irrelevant Block user comment: N Private report: N New Comment: This is no bug in the docs. This works with echo, but not with print! This bug report may be closed. Previous Comments: ------------------------------------------------------------------------ [2016-10-21 13:43:04] requinix@php.net Commas are allowed. http://php.net/echo ------------------------------------------------------------------------ [2016-10-21 13:41:26] mail at michaelwesthof dot nl Description: ------------ --- From manual page: http://www.php.net/internals2.opcodes.catch --- echo 'Caught exception: ', $e->getMessage(), "\n"; Should read for it to work: echo 'Caught exception: ' . $e->getMessage() . "\n"; ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73365&edit=1

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