* sizeof is alias of count

This commit is contained in:
slawkens 2019-04-19 22:47:42 +02:00
parent b1fd1263f1
commit 5f22ab0361
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ else
{
// detect locale
$locale_s = get_browser_languages();
if(!sizeof($locale_s))
if(!count($locale_s))
$locale_ = 'en';
else
{

View File

@ -245,7 +245,7 @@ class Items_Images
/*
if ( $nostand )
{
for( $i = 0; $i < sizeof( $sprites ) / 4; $i++ )
for( $i = 0; $i < count( $sprites ) / 4; $i++ )
{
$sprites = array_merge( (array) $sprites, array_reverse( array_slice( $sprites, $i * 4, 4 ) ) );
}