Personally, I am a big fan of CSS technology for visual effects like this. The big advantage is that you upload effect processing to the client side, saving time and time for creating content (custom text images for each locale are a big order!) And speed up page loading for the user.
The only reason to avoid this is if you absolutely SHOULD have shadow shadows in very old (IE5) browsers that don't have CSS support.
Edit: - - , - . PHP , , . , . , .