Php script run reports Segmentation fault error

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!

Php
Dec.17,2021

this looks fine. Just run a script to see if there's a problem. If this is the only step that has a problem, it should be that your code is abnormal. You can open the core dump, of the system and follow it to see


use code dump to report errors as errors in the red box. I was very confused when I saw it. No, no, no. I wonder if the great god can read

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b420c3-2c5d3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b420c3-2c5d3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?