📅  最后修改于: 2022-03-11 14:54:33.942000             🧑  作者: Mango
Changed line from this:
$lines = explode(PHP_EOL, $pem);
To this:
$lines = preg_split('/\r\n|\r|\n/', $pem);
Now is working as expected