- Output for 8.0.0 - 8.0.2, 8.1.23 - 8.1.30, 8.2.10 - 8.2.24, 8.3.0 - 8.3.12
- Output for 7.3.0 - 7.3.27, 7.4.0 - 7.4.15
- Parse error: syntax error, unexpected '|', expecting ';' or '{' in /in/B4PZe on line 9
Process exited with code 255.
<?php
class BigNumber
{
}
interface ExchangeRateProvider
{
public function getExchangeRate(): BigNumber|int|float|string;
}
class BaseCurrencyProvider implements ExchangeRateProvider
{
public function getExchangeRate(): BigNumber
{
}
}