There is in fact a csp.php in the test directory, however it looks severely dated to the current specification and would need updating.
In addition to this, I fear I'm skeptical that these php based test variants are actually run. It appears as though the xhtml one has been broken for a fairly long time.
Let me know how you'd like to proceed and I'll come up with a test to whatever standard you're interested in.
While I'm at it, I'd also be interested in fixing the XHTML tests, as that directly affects projects I manage.