It is possible to compress your CSS style sheet with PHP. Here is how you can do that.

Create a CSS file with .php extension. For example; stylesheet.php

Now in the same file, start writing your CSS styles and classes. For example,

You can then call your css in your web pages by simply using the LINK tag.

Hope it will be useful for someone.

Looking for a quality hosting service? here are a few I suggest.
BlueHost | HostGator | Media Temple
Ali has been an entrepreneur in web, video and related technologies. Having worked with many business across the globe, Ali stands truly a great pillar in the business working with him.