Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F772716
multibyte.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Feb 1, 4:14 PM
Size
1 KB
Mime Type
text/x-php
Expires
Mon, Feb 3, 4:14 PM (1 d, 5 h)
Engine
blob
Format
Raw Data
Handle
556020
Attached To
rINP In-Portal
multibyte.php
View Options
<?php
/**
* @version $Id: multibyte.php 12734 2009-10-20 19:28:11Z alex $
* @package In-Portal
* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
* @license GNU/GPL
* In-Portal is Open Source software.
* This means that this software may have been modified pursuant
* the GNU General Public License, and as distributed it includes
* or is derivative of works licensed under the GNU General Public License
* or other free or open source software licenses.
* See http://www.in-portal.org/license for copyright notices and details.
*/
defined
(
'FULL_PATH'
)
or
die
(
'restricted access!'
);
if
(!
function_exists
(
'mb_internal_encoding'
))
{
function
mb_internal_encoding
(
$encoding
=
null
)
{
}
function
mb_convert_encoding
(
$str
,
$to_encoding
,
$from_encoding
=
null
)
{
return
$str
;
}
// substr|substr_count|strtoupper|strtolower|strstr|strrpos|strpos|strlen
function
mb_substr
(
$str
,
$start
,
$length
=
null
,
$encoding
=
null
)
{
return
isset
(
$length
)
?
substr
(
$str
,
$start
,
$length
)
:
substr
(
$str
,
$start
);
}
function
mb_substr_count
(
$haystack
,
$needle
,
$encoding
=
null
)
{
return
substr_count
(
$haystack
,
$needle
);
}
function
mb_strtoupper
(
$str
,
$encoding
=
null
)
{
return
strtoupper
(
$str
);
}
function
mb_strtolower
(
$str
,
$encoding
=
null
)
{
return
strtolower
(
$str
);
}
function
mb_strstr
(
$haystack
,
$needle
,
$part
=
false
,
$encoding
=
null
)
{
return
strstr
(
$haystack
,
$needle
);
}
function
mb_strrpos
(
$haystack
,
$needle
,
$offset
=
null
,
$encoding
=
null
)
{
return
isset
(
$offset
)
?
strrpos
(
$haystack
,
$needle
,
$offset
)
:
strrpos
(
$haystack
,
$needle
);
}
function
mb_strpos
(
$haystack
,
$needle
,
$offset
=
null
,
$encoding
=
null
)
{
return
isset
(
$offset
)
?
strpos
(
$haystack
,
$needle
,
$offset
)
:
strpos
(
$haystack
,
$needle
);
}
function
mb_strlen
(
$str
,
$encoding
=
null
)
{
return
strlen
(
$str
);
}
}
Event Timeline
Log In to Comment