0👍
To make the 2 environments yeild the same result, you should update PHP version on your local environment (Laragon) to version 7.4:
It is very easy to do it with Laragon. You can follow the tutorial here to see how:
https://forum.laragon.org/topic/166/tutorial-how-to-add-another-php-version-php-7-4-updated
Source:stackexchange.com