摘要: 结构体 内存排布图如下 参考: https://blog.csdn.net/zhengnianli/article/details/87390212 https://blog.csdn.net/Scl_Diligent/article/details/80295446 阅读全文
posted @ 2019-08-01 22:46 anobscureretreat 阅读(190) 评论(0) 推荐(0)
摘要: code 输出 阅读全文
posted @ 2019-08-01 21:03 anobscureretreat 阅读(1842) 评论(0) 推荐(0)
摘要: code 输出 阅读全文
posted @ 2019-08-01 19:54 anobscureretreat 阅读(947) 评论(0) 推荐(0)
摘要: 利用 print_r() 函数可以打印输出整个数组内容及结构,按照一定格式显示键和元素。注意 print_r() 函数不仅是只用于打印,实际它是用于打印关于变量的易于理解的信息。 例子1 输出 var_dump() 函数也可以用于打印数组的数据及结构。不过 var_dump() 函数功能比 prin 阅读全文
posted @ 2019-08-01 00:31 anobscureretreat 阅读(3571) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-08-01 00:27 anobscureretreat 阅读(509) 评论(0) 推荐(0)
摘要: unlink() 函数删除文件。 如果成功,该函数返回 TRUE。如果失败,则返回 FALSE。 参考: https://www.runoob.com/php/func-filesystem-unlink.html 阅读全文
posted @ 2019-08-01 00:17 anobscureretreat 阅读(413) 评论(0) 推荐(0)
摘要: 下面的例子创建名为 "testfile.txt" 的新文件。此文件将被创建于 PHP 代码所在的相同目录中: 下面的例子把姓名写入名为 "newfile.txt" 的新文件中: 打开 "newfile.txt" 文件,它应该是这样的: 如果现在 "newfile.txt" 包含了一些数据,所有已存在 阅读全文
posted @ 2019-08-01 00:06 anobscureretreat 阅读(3417) 评论(0) 推荐(0)
摘要: chmod() 函数改变文件模式。 如果成功则返回 TRUE,否则返回 FALSE。 例子 参考: https://www.w3school.com.cn/php/func_filesystem_chmod.asp 阅读全文
posted @ 2019-08-01 00:02 anobscureretreat 阅读(435) 评论(0) 推荐(0)
摘要: 输出 参考: https://www.php.net/manual/en/ziparchive.addfile.php https://blog.csdn.net/qq_38794041/article/details/81483739 https://www.w3school.com.cn/php 阅读全文
posted @ 2019-08-01 00:00 anobscureretreat 阅读(170) 评论(0) 推荐(0)