【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 
            
字符串相关函数:
去除和填充:trim[去空格],str_pad[填充], str_repeat, strlen;
大小写转换:strtoupper, strtolower, ucfirst, ucwords;
格式化:strlen. strrev, number_format, md5[字符串加密]
print_r[打印数组],explode[字符串拆分为数组]
include 'xxx.php'; | require.
define[常量定义], var_dump[打印变量], isset[检查变量],setcookie[设置cookie] 
文件相关关函数
filetype, is_dir[是否目录], is_file是否文件], file_exists{文件、目录是否存在], file_size[目录大小为0]
fopen[模式:r r+ w w+ a a+],unlink[删除], rename, copy, fread, fclose
[PHP Image processing function] | 图像处理函数
 
int imagecolorallocate ( resource $image , int $red , int $green , int $blue ) 
Allocate a color for an image | 为图片配置颜色
resource imagecreatetruecolor ( int $width , int $height )
imagecreatetruecolor — Create a new true color image | 创建一个彩色图像
bool imagefilledrectangle ( resource $image , int $x1 , int $y1 , int $x2 , int $y2 , int $color)
imagefilledrectangle — Draw a filled rectangle | 绘出一个填充的矩形
array imagettftext ( resource $image , float $size , float $angle , int $x , int $y , int $color, string $fontfile , string $text )
imagettftext — Write text to the image using TrueType fonts | 使用True Type字体在图片上写字
来源:oschina
链接:https://my.oschina.net/u/2331171/blog/516967