Project

General

Profile

Actions

Backport(バックポート) #3645

closed

PHP5.2.x環境でjson_encodeの呼び出し時にWarningが発生する

Added by 誠二 天重 over 10 years ago. Updated almost 5 years ago.

Status:
Invalid(無効)
Priority:
Normal(通常)
Assignee:
-
Target version:
Start date:
2012-04-23
Due date:
% Done:

0%

Estimated time:

Description

Overview (現象)

Causes (原因)

json_encode の第2引数はPHP5.3.0で追加されたもので、それ以前のバージョンで実行されることを考慮されていなかったことが原因。

参考: PHP: json_encode - Manual

Way to fix (修正内容)

JSON_PRETTY_PRINT が定義されていない場合に json_encode の第2引数を指定しないように修正する。


Related issues 1 (0 open1 closed)

Copied from OpenPNE 3 - Bug(バグ) #3026: PHP5.2.x環境でjson_encodeの呼び出し時にWarningが発生するFixed(完了)Shinichi Urabe2012-04-23

Actions
Actions #1

Updated by 誠二 天重 over 10 years ago

  • Copied from Bug(バグ) #3026: PHP5.2.x環境でjson_encodeの呼び出し時にWarningが発生する added
Actions #2

Updated by isao sano over 10 years ago

  • Target version changed from OpenPNE 3.8.12 to OpenPNE 3.8.x
Actions #4

Updated by kaoru n almost 5 years ago

  • Status changed from New(新規) to Invalid(無効)

#3028 と重複しているためこのチケットは無効とします

Actions

Also available in: Atom PDF