O'Reilly logo

Programming PHP, 3rd Edition by Peter MacIntyre, Kevin Tatroe, Rasmus Lerdorf

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

phpcredits

Synopsis

bool phpcredits([int what])

Outputs information about PHP and its developers; the information that is displayed is based on the value of what. To use more than one option, OR the values together. The possible values of what are:

CREDITS_ALL (default)

All credits except CREDITS_SAPI.

CREDITS_GENERAL

General credits about PHP.

CREDITS_GROUP

A list of the core PHP developers.

CREDITS_DOCS

Information about the documentation team.

CREDITS_MODULES

A list of the extension modules currently loaded and the authors for each.

CREDITS_SAPI

A list of the server API modules and the authors for each.

CREDITS_FULLPAGE

Indicates that the credits should be returned as a full HTML page, rather than just a fragment of HTML code. Must be used in conjunction with one or more other options; for example, phpcredits(CREDITS_MODULES | CREDITS_FULLPAGE).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required