Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Jade1908's avatar

PHP 7.3 is not supported.

Laravel\SerializableClosure\Exceptions\PhpVersionNotSupportedException PHP 7.3 is not supported.

    if (\PHP_VERSION_ID < 70400) {

        throw new PhpVersionNotSupportedException();

    }



    return call_user_func_array($this->serializable, func_get_args());

}



/**

 * Gets the closure.

 *

 * @return \Closure

 */

public function getClosure()

{

    if (\PHP_VERSION_ID < 70400) {

        throw new PhpVersionNotSupportedException();

    }



    return $this->serializable->getClosure();

}



/**

 * Sets the serializable closure secret key.

 *

 * @param  string|null  $secret

 * @return void

 */

public static function setSecretKey($secret)

{

    Serializers\Signed::$signer = $secret

        ? new Hmac($secret)
0 likes
1 reply

Please or to participate in this conversation.