diff options
Diffstat (limited to 'ext/spl/tests/SplFixedArray_setSize_param_null.phpt')
-rw-r--r-- | ext/spl/tests/SplFixedArray_setSize_param_null.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/spl/tests/SplFixedArray_setSize_param_null.phpt b/ext/spl/tests/SplFixedArray_setSize_param_null.phpt index ddb37be9f0..dd98935f2f 100644 --- a/ext/spl/tests/SplFixedArray_setSize_param_null.phpt +++ b/ext/spl/tests/SplFixedArray_setSize_param_null.phpt @@ -8,6 +8,7 @@ $fixed_array = new SplFixedArray(2); $fixed_array->setSize(null); var_dump($fixed_array); ?> ---EXPECT-- +--EXPECTF-- +Deprecated: SplFixedArray::setSize(): Passing null to parameter #1 ($size) of type int is deprecated in %s on line %d object(SplFixedArray)#1 (0) { } |