!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/doctrine/dbal/src/Platforms/   drwxr-xr-x
Free 12.95 GB of 57.97 GB (22.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Doctrine\DBAL\Platforms;

use 
Doctrine\DBAL\Schema\Index;
use 
Doctrine\DBAL\Schema\TableDiff;
use 
Doctrine\DBAL\SQL\Parser;
use 
Doctrine\DBAL\Types\Types;
use 
Doctrine\Deprecations\Deprecation;

/**
 * Provides the behavior, features and SQL dialect of the MySQL 5.7 (5.7.9 GA) database platform.
 *
 * @deprecated This class will be merged with {@see MySQLPlatform} in 4.0 because support for MySQL
 *             releases prior to 5.7 will be dropped.
 */
class MySQL57Platform extends MySQLPlatform
{
    
/**
     * {@inheritdoc}
     *
     * @deprecated
     */
    
public function hasNativeJsonType()
    {
        
Deprecation::triggerIfCalledFromOutside(
            
'doctrine/dbal',
            
'https://github.com/doctrine/dbal/pull/5509',
            
'%s is deprecated.',
            
__METHOD__,
        );

        return 
true;
    }

    
/**
     * {@inheritdoc}
     */
    
public function getJsonTypeDeclarationSQL(array $column)
    {
        return 
'JSON';
    }

    public function 
createSQLParser(): Parser
    
{
        return new 
Parser(true);
    }

    
/**
     * {@inheritdoc}
     */
    
protected function getPreAlterTableRenameIndexForeignKeySQL(TableDiff $diff)
    {
        return [];
    }

    
/**
     * {@inheritdoc}
     */
    
protected function getPostAlterTableRenameIndexForeignKeySQL(TableDiff $diff)
    {
        return [];
    }

    
/**
     * {@inheritdoc}
     */
    
protected function getRenameIndexSQL($oldIndexNameIndex $index$tableName)
    {
        return [
'ALTER TABLE ' $tableName ' RENAME INDEX ' $oldIndexName ' TO ' $index->getQuotedName($this)];
    }

    
/**
     * {@inheritdoc}
     *
     * @deprecated Implement {@see createReservedKeywordsList()} instead.
     */
    
protected function getReservedKeywordsClass()
    {
        
Deprecation::triggerIfCalledFromOutside(
            
'doctrine/dbal',
            
'https://github.com/doctrine/dbal/issues/4510',
            
'MySQL57Platform::getReservedKeywordsClass() is deprecated,'
                
' use MySQL57Platform::createReservedKeywordsList() instead.',
        );

        return 
Keywords\MySQL57Keywords::class;
    }

    
/**
     * {@inheritdoc}
     */
    
protected function initializeDoctrineTypeMappings()
    {
        
parent::initializeDoctrineTypeMappings();

        
$this->doctrineTypeMapping['json'] = Types::JSON;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0059 ]--