1--TEST--
2set parameter must not be by-reference
3--FILE--
4<?php
5
6class Test {
7    public $prop {
8        set(&$value) {}
9    }
10}
11
12?>
13--EXPECTF--
14Fatal error: Parameter $value of set hook Test::$prop must not be pass-by-reference in %s on line %d
15