php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "function return value"

How can the function getRights be modified to return the desired value instead of an array?

The issue can be solved by modifying the getRights function to return the desired value directly instead of returning an array. This can be done by ac...

What is the error message "Can't use function return value in write context" typically indicating in PHP?

The error message "Can't use function return value in write context" typically indicates that a function that returns a value is being used in a conte...

How can the issue of not capturing the return value from a function be resolved in PHP?

When a function returns a value in PHP, it is important to capture and store that value for further use. If the return value is not captured, it can l...

How can the mysqli_affected_rows function return a wrong value in PHP?

The mysqli_affected_rows function can return a wrong value in PHP if it is called before the query execution or if it is called on a SELECT statement....

What is the error message "FATAL ERROR: Can't use function return value in write context" in PHP code indicating?

The error message "FATAL ERROR: Can't use function return value in write context" in PHP code indicates that a function's return value is being used i...

Showing 16 to 20 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.