Now there is another function xyz in want to know number of variables that are need to be passed in this function.
Use this:
$rfunc = new ReflectionFunction('xyz');
echo $rfunc->getNumberOfRequiredParameters();
But I do not know for what this should be useful…
More Related Contents:
- How do search array values and remove them based on a condition or string? [closed]
- syntax error, unexpected 'something' (T_VARIABLE) [closed]
- How to get the value from and save to Database in php
- Php date() Date and time is stuck [closed]
- Parse error: syntax error, unexpected ‘$o871’ (T_VARIABLE)
- Remove PHP extension from page naming function
- Is it possible to define a class property value dynamically in PHP?
- Difference in accessing arrays in PHP 5.3 and 5.4 or some configuration mismatch?
- How can I properly escape HTML form input default values in PHP?
- How to use PHP OPCache?
- PHP expression
- MySQL returns only one row
- How do I get the SQLSRV extension to work with PHP, since MSSQL is deprecated?
- Get domain name (not subdomain) in php
- Populate a Drop down box from a mySQL table in PHP
- php creating zips without path to files inside the zip
- How to generate random date between two dates using php?
- Modulus in a PHP loop
- How to upload and parse a CSV file in php
- php can’t connect to mysql with error 13 (but command line can)
- Make checkout fields required in Woocommerce checkout
- Warning: mysql_num_rows() expects parameter 1 to be resource, object given [duplicate]
- Can I get the value of a private property with Reflection?
- Is PHP’s count() function O(1) or O(n) for arrays?
- PHP CLI: How to read a single character of input from the TTY (without waiting for the enter key)?
- How to validate a domain name using Regex & PHP?
- Convert a String to Variable
- Laravel 4.1: How to paginate eloquent eager relationship?
- How do I select 10 random things from a list in PHP?
- What does [\S\s]* mean in regex in PHP?