---
title: "How do I find out the number of parameters passed into function?"  
description: "How do I find out the number of parameters passed into function?"  
author: "Uttam Misra"  
published: 2011-03-09  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/381/how-do-i-find-out-the-number-of-parameters-passed-into-function  
category: "php"  
tags: ["php"]  
reading_time: 1 minute  

---

# How do I find out the number of parameters passed into function?

func_num_args() function returns the number of parameters passed in.

## Answers

### Answer by Uttam Misra

func_num_args() function returns the number of parameters passed in.


---

Original Source: https://www.mindstick.com/interview/381/how-do-i-find-out-the-number-of-parameters-passed-into-function

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
