Seems my old server this would return NULL or false...the new server returns the value, weird.
var_dump(json_decode("this is a normal string, not JSON"));
Output:
string(33) "this is a normal string, not JSON"
Expected:
NULL
あなたは本当に質問を定式化していませんが、とにかく答えようとします:
すべてのソフトウェアにはバグが含まれています。それは正常です。コードを共有し、バグを共有します。あなたが尋ねているのは、報告され修正された PHP のソフトウェアの欠陥です。PHP のバージョンをアップグレードするか、バグを受け入れてください。