$aa = 'come on\n';
var_dump(trim($aa,'\n'));
a result of "come on" is expected, but the result of php performed is "come o". so I have no idea what happended.
$aa = 'come on\n';
var_dump(trim($aa,'\n'));
a result of "come on" is expected, but the result of php performed is "come o". so I have no idea what happended.