summaryrefslogtreecommitdiff
path: root/Zend/tests/function_arguments/argument_count_incorrect_internal.phpt
blob: a8ba71c0bfb16b00c9039219b7d1776fa05b4530 (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Call internal function with incorrect number of arguments
--FILE--
<?php
substr("foo");
array_diff([]);
--EXPECTF--
Warning: substr() expects at least 2 parameters, 1 given in %s

Warning: array_diff(): at least 2 parameters are required, 1 given in %s