1--TEST--
2Call internal function with incorrect number of arguments
3--FILE--
4<?php
5substr("foo");
6array_diff([]);
7--EXPECTF--
8Warning: substr() expects at least 2 parameters, 1 given in %s
9
10Warning: array_diff(): at least 2 parameters are required, 1 given in %s
11