php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "split()"

What are some alternatives to the deprecated PHP function split() for splitting strings?

The split() function in PHP has been deprecated since PHP 5.3.0 and removed in PHP 7.0.0 due to performance and security reasons. To split strings in...

How can PHP beginners transition from using split() to explode() for better code compatibility and performance?

Using `split()` is deprecated in PHP, and it is recommended to use `explode()` instead for better code compatibility and performance. To transition fr...

What function in PHP can be used to split a string into multiple parts based on a specified delimiter?

To split a string into multiple parts based on a specified delimiter in PHP, you can use the `explode()` function. This function takes two parameters:...

How can you count the number of times a string has been split in PHP?

To count the number of times a string has been split in PHP, you can use the `explode()` function to split the string into an array based on a delimit...

How can a string in PHP be split into different parts based on specific criteria?

To split a string in PHP into different parts based on specific criteria, you can use the `explode()` function. This function takes a delimiter as the...

Showing 31 to 35 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.