⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
php
/
Doctrine
/
DBAL
/
Edit File: Version.php
<?php namespace Doctrine\DBAL; use function str_replace; use function strtolower; use function version_compare; /** * Class to store and retrieve the version of Doctrine. */ class Version { /** * Current Doctrine Version. */ public const VERSION = '2.10.1'; /** * Compares a Doctrine version with the current one. * * @param string $version The Doctrine version to compare to. * * @return int -1 if older, 0 if it is the same, 1 if version passed as argument is newer. */ public static function compare($version) { $currentVersion = str_replace(' ', '', strtolower(self::VERSION)); $version = str_replace(' ', '', $version); return version_compare($version, $currentVersion); } }
Simpan