I have found no (documented) way that you can delete a node using the PHP library. However, my intuition tells me that the absence of such a basic function would be bizarre.
Does anyone know how to delete a node (or document, or file, or whatever) in PHP?