1--TEST-- 2Enum prevent unsetting value 3--FILE-- 4<?php 5 6enum Foo: int { 7 case Bar = 0; 8} 9 10unset(Foo::Bar->value); 11 12?> 13--EXPECTF-- 14Fatal error: Cannot use temporary expression in write context in %s on line %d 15