PHP 8.4.24 Released!

Voting

: four plus five?
(Example: nine)

The Note You're Voting On

Primo Anderson Do S?tio
21 years ago
$filename = 'strrchr_test.php';
print strrchr( $filename, '.' );

Result:
.php

$other_filename = 'strrchr_test.asp.php';
print  strrchr( $other_filename, '.' );

Result:
.php

<< Back to user notes page

To Top