Doc #66571 [Opn->Csd]: small change on constants examples
| From: | bjori@php.net | Date: | Sat, 25 Jan 2014 20:32:01 +0000 |
| Subject: | Doc #66571 [Opn->Csd]: small change on constants examples | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-10886@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66571&edit=1
ID: 66571
Updated by: bjori@php.net
Reported by: martinscotta at gmail dot com
Summary: small change on constants examples
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.6.0alpha1
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
http://svn.php.net/viewvc?view=revision&revision=332730
Previous Comments:
------------------------------------------------------------------------
[2014-01-24 19:16:00] martinscotta at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/migration56.new-features
---
in the example says..
<?php
const SENTENCE = 'The value of '.THREE.' is 3';
?>
..but should said..
<?php
const SENTENCE = 'The value of THREE is ' . THREE;
?>
to match the expected output shown below: "The value of THREE is 3"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66571&edit=1