|  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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
48 - 4 = ?
Subscribe to this entry?

 [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.


Add a Patch

Pull Requests

Add a Pull Request


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

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Nov 29 23:01:27 2023 UTC