php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #8681 Function arguments in 'global'
Submitted: 2001-01-12 13:11 UTC Modified: 2002-04-04 05:45 UTC
From: sven at devcon dot net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0.4 OS: Linux/FreeBSD
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: sven at devcon dot net
New email:
PHP Version: OS:

 

 [2001-01-12 13:11 UTC] sven at devcon dot net
function foo ($bar)
{
  global $bar;
  # ...
}

Opposite to php3, php4 doesn't warn you. This is now documented.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-22 10:52 UTC] stas@php.net
Not a bug.
 [2002-01-06 12:53 UTC] jan@php.net
so what is this anyway?
 [2002-04-04 05:45 UTC] sniper@php.net
There is no request for any change or feature here.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC