php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "split()"

What are the potential pitfalls of using the split function in PHP to split file names?

Using the split function in PHP to split file names can be problematic because it is deprecated as of PHP 7.0 and removed in PHP 7.3. It is recommende...

What alternative PHP function can be used instead of split() to split a string into an array?

The split() function has been deprecated in PHP and should no longer be used. Instead, you can use the explode() function to split a string into an ar...

How can one ensure that the split function in PHP does not mistakenly split a string at the letter "n"?

To ensure that the split function in PHP does not mistakenly split a string at the letter "n", you can use a regular expression pattern that specifies...

What is the best way to upload and reassemble a split file, such as a split Zip archive, using PHP?

To upload and reassemble a split file, such as a split Zip archive, using PHP, you can use the following steps: 1. Upload all parts of the split file...

What is the difference between the split() and preg_split() functions in PHP?

The main difference between the split() and preg_split() functions in PHP is that split() uses a simple string as a delimiter to split a string into a...

Showing 1 to 5 of 1199 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 239 240 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.