Get your free beta license ↗
API operation · php group
GET

/php/functions

First published 1 Nov 20260.2.21Unchanged since publication

Find unrecognized PHP function names in a disable_functions list

Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsreadall
Answers200 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

namesquery ·string, up to 4000 charactersRequired
versionquery ·string, matching ^[5-9]\.[0-9]$

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X GET "$API/php/functions?names=text&version=0.0.1" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "versions": {}
}

Errors

6 errors, each a status and a sentence
400Invalid setting key
400Unknown PHP setting '<key>'; known:
400Unknown PHP version '
400Unknown PHP version '<v>'
401Authentication required
404Setting '<key>' not found
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.21 on 1 Nov 2026.
urbestack.com/docs/api/get-php-functions/