php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66571 small change on constants examples
Submitted: 2014-01-24 19:16 UTC Modified: 2014-01-25 20:32 UTC
From: martinscotta at gmail dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.6.0alpha1 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: martinscotta at gmail dot com
New email:
PHP Version: OS:

 

 [2014-01-24 19:16 UTC] 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"


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-25 20:32 UTC] bjori@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 20:00:02 2026 UTC