What are the interview questions for file operation and algorithm implementation in PHP?
This article mainly introduces the PHP file operation and algorithm of the implementation of the interview questions, have a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian with you to understand.
Operation file
1. Use more than 5 ways to get the extension of a file
Requirement: dir/upload.image.jpg, find .jpg or jpg