summaryrefslogtreecommitdiff
path: root/ext/spl/tests/fixedarray_014.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/fixedarray_014.phpt')
-rw-r--r--ext/spl/tests/fixedarray_014.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/tests/fixedarray_014.phpt b/ext/spl/tests/fixedarray_014.phpt
index a6f2fc188c..75108b5868 100644
--- a/ext/spl/tests/fixedarray_014.phpt
+++ b/ext/spl/tests/fixedarray_014.phpt
@@ -4,7 +4,7 @@ SPL: FixedArray: Trying to access inexistent item
<?php
try {
- $a = new SplFixedArray(NULL);
+ $a = new SplFixedArray(0);
echo $a[0]++;
} catch (Exception $e) {
echo $e->getMessage();