1--TEST--
2Error case: class constant as an encapsed containing a variable
3--FILE--
4<?php
5  class myclass
6  {
7      const myConst = "$myVar";
8  }
9?>
10--EXPECTF--
11Fatal error: Constant expression contains invalid operations in %s on line %d
12