Answers for "php get extension from string"

PHP
11

php get file extension from filename

$ext = pathinfo($filename, PATHINFO_EXTENSION);
Posted by: Guest on October-26-2020
-2

php file extension

$ext = end(explode(".",file_name));
Posted by: Guest on September-04-2020
0

php file extension

$ext=pathinfo($file, PATHINFO_EXTENSION);
Posted by: Guest on October-09-2021

Code answers related to "php get extension from string"

Browse Popular Code Answers by Language