source: src/router/php7/Zend/tests/type_declarations/nullable_void.phpt @ 31874

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

update php

File size: 152 bytes
Line 
1--TEST--
2Void cannot be nullable
3--FILE--
4<?php
5
6function test() : ?void {
7}
8
9?>
10--EXPECTF--
11Fatal error: Void type cannot be nullable in %s on line %d
Note: See TracBrowser for help on using the repository browser.