3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CountryManager { public static function getStandardList($language_id = NULL) {} } class ExtendedCountryManager extends CountryManager { public static function getStandardList() {} }
Output for 8.0.1 - 8.0.28, 8.1.0 - 8.1.18, 8.2.0 - 8.2.5
Fatal error: Declaration of ExtendedCountryManager::getStandardList() must be compatible with CountryManager::getStandardList($language_id = null) in /in/0WTuR on line 8
Process exited with code 255.

preferences:
177.22 ms | 1406 KiB | 59 Q