PHP 8.4.24 Released!

Voting

: max(eight, three)?
(Example: nine)

The Note You're Voting On

mv@NOSPAM
22 years ago
the best way to solve the problem with the last string added by chunk_split() is:

<?php
$string = '1234';
substr(chunk_split($string, 2, ':'), 0, -1);
// will return 12:34
?>

<< Back to user notes page

To Top