php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3412 func_num_args() gives wrong result when used inside a parameter list.
Submitted: 2000-02-05 11:17 UTC Modified: 2000-02-11 22:28 UTC
From: thies at digicol dot de Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Latest CVS (05/02/2000) OS: all
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: thies at digicol dot de
New email:
PHP Version: OS:

 

 [2000-02-05 11:17 UTC] thies at digicol dot de
<? var_dump(max(1,func_num_args())); ?>

shows:
X-Powered-By: PHP/4.0b4-dev
Content-Type: text/html

int(1930160)



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-11 22:28 UTC] andrei at cvs dot php dot net
As indicated by Zend guys, this function cannot be used inside
a parameter list.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jul 15 19:00:01 2026 UTC