problem description
initializing an array in a php script will inevitably result in a Segmentation fault error;
this array goes like this:
$msg_data = [
"keyword1" => ["value" => ""],
"keyword2" => ["value" => $lname],
"keyword3" => ["value" => $create_user.""]
];
the environmental background of the problems and what methods you have tried
I"ve tried all kinds of ways to create this array, which will go wrong as long as the value contains a string, which is run under centos.
before running this code is no problem, since yesterday there must be segmentation fault, Baidu a lot, probably due to memory overflow or php module problems, then I can not find out where the overflow, because there is no big data, there is no endless loop, module problems are not too clear how to debug. Please provide some ideas, thank you very much!