![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
文章平均质量分 80
Lzz86
这个作者很懒,什么都没留下…
展开
-
过滤内容中的HTML标签 strip_tags
strip_tags 函数,过滤内容中的HTML标签PHP手册中的示例<?php$text = 'Test paragraph. Other text';echo strip_tags($text);echo "\n";// Allow echo strip_tags($text, '');?> 结果Test paragraph. Other textTest para原创 2011-10-26 10:25:18 · 1001 阅读 · 0 评论 -
n选m 的所有组合 无递归的算法 php实现
n选m的组合的 php实现原理:http://xiaomage.blog.51cto.com/293990/74094/function cs($n, $m) { if ($n == $m) { return array(array_fill(0, $m, 1)); } $rs = array(); $arr = array_merge(原创 2013-03-10 22:12:05 · 996 阅读 · 0 评论