![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
secsafe
这个作者很懒,什么都没留下…
展开
-
PHP_EOL怎么用是什么?-PHP_EOL有什么用处-php_eol为什么没有换行
PHP_EOL怎么用是什么?<?phpecho PHP_EOL;//windows平台相当于 echo "\r\n";//unix\linux平台相当于 echo "\n";//mac平台相当于 echo "\r";?>PHP_EOL有什么用处PHP 中换行可以用 PHP_EOL 来替代,以提高代码的源代码级可移植性php_eol为什么没有换行php_eol为什么没有换行,您需要看下是在哪里输出使用的,如果是在html里面输出使用是无效的;html需要添加原创 2021-09-02 08:27:33 · 1526 阅读 · 0 评论 -
php文章插入ASCII码函数
php文章插入ascii码函数<?php//文章插入ASCII码处理部分starfunction rep_code(&$html){ $html= preg_replace_callback("/(,|?|。|:|、)/", function ($ms) { $c = mt_rand(3, 5); $t = ''; for ($i = 0; $i < $c; $i ++) { $t .= c原创 2021-03-23 10:37:17 · 500 阅读 · 0 评论