1.16进制转10进制 hexdec()
2.PHP nl2br() 将\n转化为html的换行符, 如
<?php
echo nl2br("One line.\nAnother line.");
?>
以上的输出是
One line.<br />
Another line.
并且以下代码
<?php
echo nl2br("One line.\nAnother line.",0);
?>
将输出
One line.<br>
Another line.
3.返回一个对象是否属于一个数组instanceof