如何在 PHP 中的数组中列出 IP 地址,而不必求助于正则表达式来转义句点?
<?php
$list = array(
"^12\.34\.",
"^12\.35\.",
);
并且不必像这样将它们全部放在括号内:
<?php
$list = array ("12.34.","12.35.");
我想做这样的事情:
<?php
$list = array(include a list on a different page, without having to put it into syntax)