--TEST-- SPL: SplFileInfo::getExtension() basic test --SKIPIF-- --FILE-- getExtension(), pathinfo($file . $ext, PATHINFO_EXTENSION)); } ?> --CLEAN-- --EXPECT-- string(3) "txt" string(3) "txt" string(9) "extension" string(9) "extension" string(0) "" string(0) "" string(0) "" string(0) ""