Dunit ported to PHP.