mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-12 09:09:41 +01:00
e4b837e0c4
The list was getting unweildly. Also improve error message when parsing fails in pretty printer test and extend some tests.
44 lines
899 B
Plaintext
44 lines
899 B
Plaintext
Function signatures
|
|
-----
|
|
<?php
|
|
|
|
interface A
|
|
{
|
|
function f1();
|
|
function f2($a, $b);
|
|
function f3(&$a);
|
|
function f4(A\B $a);
|
|
function f4(array $a);
|
|
function f5(callable $a);
|
|
function f6(&$a);
|
|
function f7(...$a);
|
|
function f8(&...$a);
|
|
function f9(A &$a);
|
|
function f10(A ...$a);
|
|
function f11(A &$a);
|
|
function f12(A &...$a);
|
|
function f13($a) : array;
|
|
function f14($a) : callable;
|
|
function f15($a) : B\C;
|
|
}
|
|
-----
|
|
interface A
|
|
{
|
|
function f1();
|
|
function f2($a, $b);
|
|
function f3(&$a);
|
|
function f4(A\B $a);
|
|
function f4(array $a);
|
|
function f5(callable $a);
|
|
function f6(&$a);
|
|
function f7(...$a);
|
|
function f8(&...$a);
|
|
function f9(A &$a);
|
|
function f10(A ...$a);
|
|
function f11(A &$a);
|
|
function f12(A &...$a);
|
|
function f13($a) : array;
|
|
function f14($a) : callable;
|
|
function f15($a) : B\C;
|
|
}
|