write in php