Doc #73365 [Opn->Nab]: Replace commas with dots in example snippet
| From: | requinix@php.net | Date: | Fri, 21 Oct 2016 13:43:05 +0000 |
| Subject: | Doc #73365 [Opn->Nab]: Replace commas with dots in example snippet | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14036@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
Updated by: requinix@php.net
Reported by: mail at michaelwesthof dot nl
Summary: Replace commas with dots in example snippet
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: *General Issues
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Commas are allowed. http://php.net/echo
Previous Comments:
------------------------------------------------------------------------
[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