--TEST-- Constexpr arrays should be able to handle resource keys --FILE-- 42]; var_dump(FOO); ?> --EXPECTF-- Strict Standards: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d array(1) { [%d]=> int(42) }