you forgot:
````rst
.. code-block:: php

    // your php code
````