php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "Last-Modified"

Why does fileatime() not return the time of the last download?

The fileatime() function in PHP returns the time of the last access to a file, not the time of the last download. To get the time of the last download...

How can the last entry in a text file be retrieved using PHP?

To retrieve the last entry in a text file using PHP, you can read the entire file into an array using the `file()` function, then access the last elem...

How can you efficiently remove the last word from a string in PHP?

To efficiently remove the last word from a string in PHP, you can use the combination of `str_word_count()` to count the number of words in the string...

How can you extract the last digit of a number in PHP?

To extract the last digit of a number in PHP, you can use the modulus operator (%) to get the remainder when dividing the number by 10. This remainder...

What are the different methods to retrieve the last word from a string in PHP?

To retrieve the last word from a string in PHP, you can use the explode() function to split the string into an array of words, and then access the las...

Showing 46 to 50 of 3286 results

‹ 1 2 ... 7 8 9 10 11 12 13 ... 657 658 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.