View | Details | Raw Unified | Return to bug 5148
Collapse All | Expand All

(-)classes/core/String.inc.php (-1 / +16 lines)
 Lines 13-19    Link Here 
13
 *
13
 *
14
 */
14
 */
15
15
16
// $Id: String.inc.php,v 1.26 2010/02/03 11:59:03 jerico.dev Exp $
16
// $Id: String.inc.php,v 1.27 2010/02/03 13:54:48 jerico.dev Exp $
17
17
18
/*
18
/*
19
 * Perl-compatibile regular expression (PCRE) constants:
19
 * Perl-compatibile regular expression (PCRE) constants:
 Lines 204-209    Link Here 
204
	}
204
	}
205
205
206
	/**
206
	/**
207
	 * @see http://ca.php.net/manual/en/function.ucfirst.php
208
	 */
209
	function ucfirst($string) {
210
		if (defined('ENABLE_MBSTRING')) {
211
			require_once 'mbstring/core.php';
212
			require_once 'ucfirst.php';
213
		} else {
214
		 	require_once 'utils/unicode.php';
215
			require_once 'native/core.php';
216
			require_once 'ucfirst.php';
217
		}
218
		return utf8_ucfirst($string);
219
	}
220
221
	/**
207
	 * @see http://ca.php.net/manual/en/function.substr_count.php
222
	 * @see http://ca.php.net/manual/en/function.substr_count.php
208
	 */
223
	 */
209
	function substr_count($haystack, $needle) {
224
	function substr_count($haystack, $needle) {

Return to bug 5148