summaryrefslogtreecommitdiff
path: root/Zend/tests/variadic/variadic_implements_non_variadic.phpt
blob: a66ec280b862628a779b61dc868c53f3900be2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
A non-variadic function can be turned into a variadic one
--FILE--
<?php

interface DB {
    public function query($query);
}

class MySQL implements DB {
    public function query($query, ...$params) { }
}

?>
===DONE===
--EXPECT--
===DONE===