- Output for 8.1.0 - 8.1.32, 8.2.0 - 8.2.28, 8.3.0 - 8.3.20, 8.4.1 - 8.4.6
- Deprecated: Return type of Carro::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/4HmUZ on line 29 object(Carro)#1 (3) { ["motor":"Carro":private]=> object(Peca)#2 (3) { ["marca":"Peca":private]=> string(2) "VW" ["modelo":"Peca":private]=> string(3) "1.8" ["preco":"Peca":private]=> float(15000) } ["pneus":"Carro":private]=> object(Peca)#3 (3) { ["marca":"Peca":private]=> string(2) "VW" ["modelo":"Peca":private]=> string(2) "P7" ["preco":"Peca":private]=> float(500) } ["amortecedor":"Carro":private]=> object(Peca)#4 (3) { ["marca":"Peca":private]=> string(2) "VW" ["modelo":"Peca":private]=> string(2) "ar" ["preco":"Peca":private]=> float(1000) } }
- Output for 7.4.0 - 7.4.33, 8.0.0 - 8.0.30
- object(Carro)#1 (3) { ["motor":"Carro":private]=> object(Peca)#2 (3) { ["marca":"Peca":private]=> string(2) "VW" ["modelo":"Peca":private]=> string(3) "1.8" ["preco":"Peca":private]=> float(15000) } ["pneus":"Carro":private]=> object(Peca)#3 (3) { ["marca":"Peca":private]=> string(2) "VW" ["modelo":"Peca":private]=> string(2) "P7" ["preco":"Peca":private]=> float(500) } ["amortecedor":"Carro":private]=> object(Peca)#4 (3) { ["marca":"Peca":private]=> string(2) "VW" ["modelo":"Peca":private]=> string(2) "ar" ["preco":"Peca":private]=> float(1000) } }
- Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.33
- Parse error: syntax error, unexpected 'Peca' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /in/4HmUZ on line 5
Process exited with code 255.