# GET /php/functions

First published 1 Nov 2026 (release 0.2.21) · Unchanged since publication

UrbeStack release 0.2.35 API operation in the php group.

Find unrecognized PHP function names in a disable_functions list

- Who may call it: administrator
- Token scope, any of: settings, read, all
- Answers: 200 OK

Pass the comma-separated list in names. UrbeStack validates it using the same rules as the disable_functions setting. Use none to check an empty list. PHP-FPM ignores unrecognized names in this setting.

Pass version to check one PHP version. Otherwise, UrbeStack checks the installed versions listed in php.versions.installed. Returns 400 for an unknown PHP version.

The response maps each version to checked and unknown. UrbeStack checks function names with that version's PHP CLI without loading php.ini. If the CLI is unavailable or the check fails, checked is false and unknown is empty.

## Parameters

- `names` (query, string, up to 4000 characters, required)
- `version` (query, string, matching ^[5-9]\.[0-9]$)

## Example

Set $API to the base URL and $TOKEN to the token, as the [API overview](https://urbestack.com/docs/api.md) shows.

```
curl -sS -X GET "$API/php/functions?names=text&version=0.0.1" \
  -H "Authorization: Bearer $TOKEN"
```

Response, 200 OK:

```
{
  "versions": {}
}
```

## Errors

- 400: Invalid setting key
- 400: Unknown PHP setting '<key>'; known: 
- 400: Unknown PHP version '
- 400: Unknown PHP version '<v>'
- 401: Authentication required
- 404: Setting '<key>' not found
