* @return bool True if the User Agent is compatible, FALSE otherwise.
*/
public static function shouldSendSameSiteNone($userAgent) {
* @return bool True if the User Agent is compatible, FALSE otherwise.
*/
public static function shouldSendSameSiteNone($userAgent) {
* @return bool True if the User Agent is determined to be incompatible, FALSE otherwise.
*/
private static function isSameSiteNoneIncompatible($userAgent) {
* @return bool True if the User Agent is determined to be incompatible, FALSE otherwise.
*/
private static function isSameSiteNoneIncompatible($userAgent) {
* These versions will erroneously treat cookies marked with `SameSite=None`
* as if they were marked `SameSite=Strict`.
*
* These versions will erroneously treat cookies marked with `SameSite=None`
* as if they were marked `SameSite=Strict`.
*
* but with the addition of the new "None" value to the specification, this
* behavior has been updated in newer versions of UC Browser.
*
* but with the addition of the new "None" value to the specification, this
* behavior has been updated in newer versions of UC Browser.
*
* @param int $major The major version to test.
* @param int $minor The minor version to test.
* @param int $build The build version to test.
* @param int $major The major version to test.
* @param int $minor The minor version to test.
* @param int $build The build version to test.
* @return bool|int
*/
private static function isUcBrowserVersionAtLeast($major, $minor, $build, $userAgent) {
* @return bool|int
*/
private static function isUcBrowserVersionAtLeast($major, $minor, $build, $userAgent) {