1--TEST--
2Test array_diff when non-array is passed
3--FILE--
4<?php
5//-=-=-=-=-
6$a = array();
7$b = 3;
8$c = array(5);
9try {
10    array_diff($a, $b, $c);
11} catch (TypeError $e) {
12    echo $e->getMessage(), "\n";
13}
14//-=-=-=-=-=-
15echo "OK!";
16?>
17--EXPECT--
18array_diff(): Argument #2 must be of type array, int given
19OK!
20