[ Index ]

PHP Cross Reference of MyBB 1.6.0

title

Body

[close]

/inc/ -> functions_compat.php (source)

   1  <?php
   2  /**
   3   * MyBB 1.6
   4   * Copyright 2010 MyBB Group, All Rights Reserved
   5   *
   6   * Website: http://mybb.com
   7   * License: http://mybb.com/about/license
   8   *
   9   * $Id: functions_compat.php 5024 2010-06-16 01:01:05Z RyanGordon $
  10   */
  11  
  12  /**
  13   * Below are compatibility functions which replicate functions in newer versions of PHP.
  14   *
  15   * This allows MyBB to continue working on older installations of PHP 5.1 and above without these functions.
  16   */
  17  
  18  if(!function_exists('memory_get_peak_usage'))
  19  {
  20  	function memory_get_peak_usage($real_usage=false)
  21      {
  22          return memory_get_usage($real_usage);
  23      }
  24  }
  25  
  26  ?>


Generated: Tue Aug 3 20:35:36 2010 Cross-referenced by PHPXref 0.7