摘要:
<?php$tests = array( "sdas"=>13);foreach ($tests as $element) { if (is_numeric($element)) { echo "'{$element}' is numeric", PHP_EOL; } else { echo "'{ 阅读全文
摘要:
json_encode($data);json_encode($data, JSON_NUMERIC_CHECK);默认是加双引号,即作为字符串输出,加上参数不加双引号 阅读全文