source: src/router/php7/Zend/tests/function_arguments/argument_count_incorrect_internal.phpt @ 31874

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

update php

File size: 261 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.