php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "anonymous functions"

Can functions be stored in variables in PHP?

Yes, functions can be stored in variables in PHP. This can be achieved by using the `function` keyword to define an anonymous function and assigning i...

Are there any best practices for securely handling FTP credentials in PHP scripts, especially when dealing with anonymous access?

When dealing with FTP credentials in PHP scripts, especially when handling anonymous access, it is important to securely store and handle the credenti...

What are the potential security risks of trying to send anonymous emails through an Exchange server using PHP's mail() function, and how can they be mitigated?

Sending anonymous emails through an Exchange server using PHP's mail() function can pose security risks such as unauthorized access to the server, mis...

How can developers identify and address deprecated functions like create_function in their PHP code?

Developers can identify deprecated functions like create_function in their PHP code by checking PHP documentation or using tools like PHP_CodeSniffer....

What alternative function should be used instead of create_function in PHP 7 to avoid deprecated warnings?

The create_function function in PHP 7 is deprecated and should be replaced with an alternative like anonymous functions (closures). Anonymous function...

Showing 51 to 55 of 10000 results

‹ 1 2 ... 8 9 10 11 12 13 14 ... 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.