About 778 results
Open links in new tab
  1. Accept function as parameter in PHP - Stack Overflow

    I've been wondering whether it is possible or not to pass a function as a parameter in PHP. I want something similar to when you're programming the following code in JavaScript:

  2. PHP: Function parameters and arguments - Manual

    The function parameters are declared in the function signature. Information may be passed to functions via the argument list, which is a comma-delimited list of expressions.

  3. PHP: PHP Manual - Manual

    1 day ago · Introduction — What is PHP and what can it do?

  4. PHP: PHP Version 4 Documentation

    PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.

  5. Form - 4.x - CakePHP

    This method outputs an opening form tag. All parameters are optional. If create() is called with no parameters supplied, it assumes you are building a form that submits to the current controller, via the …

  6. PHP - Function Parameters - Online Tutorials Library

    Function parameters are a comma-separated list of expressions inside the parenthesis in front of the function name while defining a function. A parameter may be of any scalar type (number, string or …

  7. How to define and call functions in PHP - Sling Academy

    Jan 9, 2024 · By mastering the basics of function declaration, parameters, return types, and advanced concepts like recursion and namespaces, you’re now equipped to tackle a multitude of programming …

  8. PHP Function Parameters

    In this tutorial, you'll learn about PHP function parameters and pass arguments by value and reference.

  9. How to pass parameter with URL PHP - studentstutorial.com

    To pass parameter with URL PHP please read see the below example. border: 0; padding: 0; display: inline; background: none; text-decoration: underline; color: blue; cursor: pointer; <input type="hidden" …

  10. How to get parameters from a URL string in PHP?

    Jul 11, 2025 · The parameters from a URL string can be retrieved in PHP using parse_url () and parse_str () functions. Note: The page URL and the parameters are separated by the ? character.

  11. @param - phpDocumentor

    The @param tag is used to document a single argument of a function or method. With the @param tag it is possible to document the Type and the intent of a single argument of a function or method. …

  12. php4 - Convert big php project from register_globals to _GET ["param ...

    May 11, 2013 · Is it possible to change parameters parsing from $id to $_GET ["id"] automatically, with some script? I can get parameters names from wget -r on this site. It have dozens of php scripts, and …

  13. How do I pass parameters into a PHP script through a webpage?

    Mar 8, 2012 · I got the answers below: use $GET and pass it as a parameter value in the url itself. Presumably you're passing the arguments in on the command line as follows: ... and then accessing …

  14. PHP 4 for Beginners - a tutorial | Big Apple Design Group

    Jan 1, 2003 · PHP 4 for Beginners is a tutorial that was written initially to teach a few beginners the basics of PHP coding in classroom sessions. This tutorial is aimed at anyone who wants a fast start …

  15. Linux Manpages Online - man.cx manual pages

    This is the command line interface that enables you to the following: You can parse and execute files by using parameter −f followed by the name of the file to be executed. Using parameter −r you can …

  16. Routing - 4.x - CakePHP

    The first parameter is used to tell the router what sort of URL you’re trying to control. The URL is a normal slash delimited string, but can also contain a wildcard (*) or Route Elements.

  17. PHP: http_build_query - Manual

    If numeric indices are used in the base array and this parameter is provided, it will be prepended to the numeric index for elements in the base array only. This is meant to allow for legal variable names …

  18. PHP function to build query string from array - Stack Overflow

    Apr 26, 2013 · I'm looking for the name of the PHP function to build a query string from an array of key value pairs. Please note, I am looking for the built in PHP function to do this, not a homebrew one …

  19. Query Builder - 4.x - CakePHP

    When providing arguments for SQL functions, there are two kinds of parameters you can use, literal arguments and bound parameters. Identifier/Literal parameters allow you to reference columns or …

  20. Request & Response Objects - 4.x - CakePHP

    Providing access to request parameters both as array indexes and object properties. CakePHP’s request object implements the PSR-7 ServerRequestInterface making it easier to use libraries from …