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

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

update php

File size: 183 bytes
Line 
1--TEST--
2void return type: not valid as a parameter type
3--FILE--
4<?php
5
6function foobar(void $a) {}
7--EXPECTF--
8Fatal error: void cannot be used as a parameter type in %s on line %d
Note: See TracBrowser for help on using the repository browser.