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
 [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 20:01:33 2024 UTC