Add error codes to php_json.h
Replace INIT_PZVAL_COPY with ZVAL_DUP