1--TEST--
2There should be no namespace fallback when using the defined() function
3--FILE--
4<?php
5
6namespace Foo;
7
8var_dump(\defined('Foo\PHP_INT_MAX'));
9
10$const = 'Foo\PHP_INT_MAX';
11var_dump(\defined($const));
12
13?>
14--EXPECT--
15bool(false)
16bool(false)
17