php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #18438 Contradiction about print() being used as a variable function
Submitted: 2002-07-19 11:51 UTC Modified: 2002-07-19 15:20 UTC
From: adamhooper at videotron dot ca Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.1 OS: Windows 2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: adamhooper at videotron dot ca
New email:
PHP Version: OS:

 

 [2002-07-19 11:51 UTC] adamhooper at videotron dot ca
http://php.net/echo says:

"It is not possible to use echo() in a variable function  context, but you can use print() instead."

This isn't true, as I found with a simple script. And if it were, http://www.php.net/manual/en/functions.variable-functions.php says it isn't so there's a bug there instead.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-19 13:55 UTC] goba@php.net
This is a dupe of http://bugs.php.net/16739 => closing.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 12:00:02 2026 UTC