Annotation of embedaddon/php/Zend/tests/031.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Testing array with '[]' passed as argument by value
3: --FILE--
4: <?php
5:
6: function test($var) { }
7: test($arr[]);
8:
9: ?>
10: --EXPECTF--
11: Fatal error: Cannot use [] for reading in %s on line %d