json - due to which characters it does not work json_decode() ? - PHP

one text

Solution:

you need to encode the inner data of $file_contents to \"

$file_contents = 'var dati_login = [["1111","2021-10-30"],["_fbp=fb1111152; i18next=en-US; cookielaw_accepted=1; _ga=GA1.1.1111.1611118; e2sid=11115; _lr_uf_-qrlpn5=111-e111e-424c-9043-1111; _lr_tabs_-qrlpn5/e2={\"sessionID\":0,\"recordingID\":\"111159d18955a\",\"lastActivity\":163480041112}; _lr_hb_-qrlpn5/e2={\"heartbeat\":1118402}; _ga_THFZJ5FYF8=GS1.1.11110.7.1.1111468.0","2021-10-30"]]';

Source