I created a view with a custom field of type phpcode. I added some php code to the field, tested everything on staging and when all was fine, i exported the view and imported it on my production server. Everything was there, the field itself, the sorting options, but NOT the php-code itself.

Of course it was easily fixed by copying and pasting the php code, but it would be better if the php code would be part of the export.