Skip to content

Instantly share code, notes, and snippets.

@heavenshell
Created March 9, 2011 13:10
Show Gist options
  • Save heavenshell/862157 to your computer and use it in GitHub Desktop.
Save heavenshell/862157 to your computer and use it in GitHub Desktop.
Sphinx PHPDomain

Acceptance tests for PHPdomain

.. php:class:: DateTime

Globals

.. php:global:: $global_var

    A global variable

.. php:const:: SOME_CONSTANT

    A global constant

.. php:const:: VALUE

    A global constant

.. php:function:: in_array(needle, haystack)

    Checks for needle in haystack.

    :param needle: The element to search for.
    :param array haystack: The array to search.
    :returns boolean: Element exists in array.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment