added php 5.2 support for import\export
added php 5.2 support for import\export