1--TEST--
2Bug #72920 (Accessing a private constant using constant() creates an exception AND warning)
3--FILE--
4<?php
5class Foo {
6	private const C1 = "a";
7}
8
9var_dump(constant('Foo::C1'));
10--EXPECTF--
11Warning: constant(): Couldn't find constant Foo::C1 in %s on line %d
12NULL
13