PHP ouput writing in file in non readable format
问题 I am getting the result from the SOAP client as an response. I tried to get this output and format it in my PHP code. Now I want to write this output in a file in user readable format. It's writing in a file but without any spaces or new lines. I tried with PHP_EOL and /n method but it did not work. if($parameter['aktion'] == 'getVehicle') { ob_start(); var_dump(Login()); $s = ob_get_clean(); $vehicle = getVehicleValuation(); $Serial=$vehicle['SerialEquipment']; $VehicleFuel=$vehicle[