1--TEST-- 2prev - ensure we cannot pass a temporary 3--FILE-- 4<?php 5/* 6 * Pass temporary variables to prev() to test behaviour 7 */ 8 9 10var_dump(prev(array(1, 2))); 11?> 12--EXPECTF-- 13Fatal error: Uncaught Error: prev(): Argument #1 ($array) could not be passed by reference in %s:%d 14Stack trace: 15#0 {main} 16 thrown in %s on line %d 17