Function __global->is_php_version_supported_by_phpdevs

Definitions

sources/version2.php

  • Find whether a PHP version is still supported by the PHP developers.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$v string No No required parameter N/A N/A The version

Returns

  • Whether it is (null: some kind of error)
  • Type: ?boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find whether a PHP version is still supported by the PHP developers.
 *
 * @param  string $v The version
 * @return ?boolean Whether it is (null: some kind of error)
 */

function is_php_version_supported_by_phpdevs(string $v) : ?bool