source: src/router/php7/Zend/tests/return_types/032.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 4 months ago

update php

File size: 198 bytes
Line 
1--TEST--
2Nullable return type inheritance rules (nullable and non-nullable)
3--FILE--
4<?php
5class A {
6        function foo(): ?int {}
7}
8class B extends A {
9        function foo(): int {}
10}
11?>
12DONE
13--EXPECT--
14DONE
Note: See TracBrowser for help on using the repository browser.