[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/polyfill-php54/ -> bootstrap.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of the Symfony package.
   5   *
   6   * (c) Fabien Potencier <fabien@symfony.com>
   7   *
   8   * For the full copyright and license information, please view the LICENSE
   9   * file that was distributed with this source code.
  10   */
  11  
  12  use Symfony\Polyfill\Php54 as p;
  13  
  14  if (PHP_VERSION_ID >= 50400) {
  15      return;
  16  }
  17  
  18  if (!function_exists('trait_exists')) {
  19      function trait_exists($class, $autoload = true) { return $autoload && \class_exists($class, $autoload) && false; }
  20  }
  21  if (!function_exists('class_uses')) {
  22      function class_uses($class, $autoload = true)
  23      {
  24          if (\is_object($class) || \class_exists($class, $autoload) || \interface_exists($class, false)) {
  25              return array();
  26          }
  27  
  28          return false;
  29      }
  30  }
  31  if (!function_exists('hex2bin')) {
  32      function hex2bin($data) { return p\Php54::hex2bin($data); }
  33  }
  34  if (!function_exists('session_register_shutdown')) {
  35      function session_register_shutdown() { register_shutdown_function('session_write_close'); }
  36  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1