public static function exportPhpValue($value)
    {
        switch (gettype($value)) {
            case 'boolean':
            case 'integer':
            case 'double':
            case 'string':
            case 'NULL':
                return var_export($value, true);
            default:
                return 'unserialize('.var_export(serialize($value), true).')';
        }
    }
public static function exportPhpValue($value)
    {
        switch (gettype($value)) {
            case 'boolean':
            case 'integer':
            case 'double':
            case 'string':
            case 'NULL':
                return var_export($value, true);
            default:
                return 'unserialize('.var_export(serialize($value), true).')';
        }
    }
@param mixed $value

@return string