xref: /PHP-5.6/Zend/tests/errmsg_022.phpt (revision 0f0fe9c9)
1--TEST--
2errmsg: only variables can be passed by reference
3--FILE--
4<?php
5
6function foo (&$var) {
7}
8
9foo(1);
10
11echo "Done\n";
12?>
13--EXPECTF--
14Fatal error: Only variables can be passed by reference in %s on line %d
15