!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/laravel/framework/src/Illuminate/Support/   drwxr-xr-x
Free 116.5 GB of 200.55 GB (58.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Pluralizer.php (2.16 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Support;

use 
Doctrine\Common\Inflector\Inflector;

class 
Pluralizer
{
    
/**
     * Uncountable word forms.
     *
     * @var array
     */
    
public static $uncountable = [
        
'audio',
        
'bison',
        
'chassis',
        
'compensation',
        
'coreopsis',
        
'data',
        
'deer',
        
'education',
        
'equipment',
        
'fish',
        
'gold',
        
'information',
        
'knowledge',
        
'love',
        
'rain',
        
'money',
        
'moose',
        
'nutrition',
        
'offspring',
        
'plankton',
        
'police',
        
'rice',
        
'series',
        
'sheep',
        
'species',
        
'swine',
        
'traffic',
    ];

    
/**
     * Get the plural form of an English word.
     *
     * @param  string  $value
     * @param  int     $count
     * @return string
     */
    
public static function plural($value$count 2)
    {
        if (
$count === || static::uncountable($value)) {
            return 
$value;
        }

        
$plural Inflector::pluralize($value);

        return static::
matchCase($plural$value);
    }

    
/**
     * Get the singular form of an English word.
     *
     * @param  string  $value
     * @return string
     */
    
public static function singular($value)
    {
        
$singular Inflector::singularize($value);

        return static::
matchCase($singular$value);
    }

    
/**
     * Determine if the given value is uncountable.
     *
     * @param  string  $value
     * @return bool
     */
    
protected static function uncountable($value)
    {
        return 
in_array(strtolower($value), static::$uncountable);
    }

    
/**
     * Attempt to match the case on two strings.
     *
     * @param  string  $value
     * @param  string  $comparison
     * @return string
     */
    
protected static function matchCase($value$comparison)
    {
        
$functions = ['mb_strtolower''mb_strtoupper''ucfirst''ucwords'];

        foreach (
$functions as $function) {
            if (
call_user_func($function$comparison) === $comparison) {
                return 
call_user_func($function$value);
            }
        }

        return 
$value;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0148 ]--