Removed unused method asPhp