php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "function name"

What is the best way to retrieve the class name in PHP when a function is called statically?

When a function is called statically in PHP, the `self` keyword refers to the class in which the function is defined, not the class from which it is c...

What function can be used in PHP to remove the last directory name from a path string?

To remove the last directory name from a path string in PHP, you can use the `dirname()` function. This function returns the parent directory's path o...

How can one quickly find information in the PHP manual when unsure of the function name?

When unsure of a specific function name in the PHP manual, one can quickly find information by using the search functionality on the PHP manual websit...

How can the autocomplete feature be improved to display both the last name and first name in the input field?

The autocomplete feature can be improved to display both the last name and first name in the input field by modifying the data structure returned by t...

What are the potential pitfalls of trying to retrieve the name of the function in a PHP constructor?

Trying to retrieve the name of a function in a PHP constructor can lead to potential pitfalls because constructors do not have a name like regular fun...

Showing 21 to 25 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • Privacy
  • FAQ

© 2025 php.org. All rights reserved.