1.JSON.parse(str),字符串转换成对象 var str = '{"name":"huangxiaojian","age":"23"}'; JSON.parse(str); 2.JSON.stringify(a),对象转换成字符串 var a = {w:1,b:2}; JSON.stringify(a);…
安装PHP时,make步骤报错make: *** [ext/gd/gd.lo] Error 1 /usr/local/src/LAMP+memcahed+catci/php-5.4.0/ext/gd/gd_ctx.c: In function '_php_image_stream_putc': /usr/local/src/LAMP+memcahed+catci/php-5.4.0/ext/gd/gd_ctx.c:51: error: 'struct gdIOCtx' has no member…