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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 10 23:01:34 2024 UTC