1--TEST--
2Defined on private constant should not raise exception
3--FILE--
4<?php
5
6class Foo
7{
8    private const BAR = 1;
9}
10echo (int)defined('Foo::BAR');
11?>
12--EXPECT--
130
14