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
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: 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: Sat Oct 05 22:01:26 2024 UTC