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
 [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: Tue Oct 06 21:00:01 2026 UTC