1--TEST--
2shadowing a global core constant with a local version
3--FILE--
4<?php
5
6require 'includes/foo_php_version.php';
7
8use const foo\PHP_VERSION;
9
10var_dump(PHP_VERSION);
11echo "Done\n";
12
13?>
14--EXPECTF--
15int(42)
16Done
17