php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "parts"

How can the last two parts of a file path be extracted in PHP for a specific purpose?

To extract the last two parts of a file path in PHP, you can use the `basename()` function to get the last part of the path and then use `dirname()` f...

Are there any PHP functions or methods that can help with breaking down a filename into its constituent parts?

When working with filenames, it can be helpful to break them down into their constituent parts such as the file name, extension, and directory path. P...

What are the best practices for using regular expressions in PHP to replace specific substrings while retaining certain parts of the original string?

When using regular expressions in PHP to replace specific substrings while retaining certain parts of the original string, it is best to use capturing...

What is the best way to format and highlight specific parts of an IBAN number in PHP?

When working with IBAN numbers in PHP, it may be necessary to format and highlight specific parts of the number for better readability or validation p...

What alternative PHP functions can be used to separate a decimal number into its integer and decimal parts?

To separate a decimal number into its integer and decimal parts in PHP, you can use the `floor()` function to extract the integer part and subtract it...

Showing 61 to 65 of 2144 results

‹ 1 2 ... 10 11 12 13 14 15 16 ... 428 429 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.