1--TEST--
2Test use of magic constants in the global scope
3--FILE--
4<?php
5
6var_dump(
7    __LINE__,
8    __FILE__,
9    __DIR__,
10    __FUNCTION__,
11    __METHOD__,
12    __CLASS__,
13    __TRAIT__,
14    __NAMESPACE__
15);
16
17?>
18--EXPECTF--
19int(4)
20string(%d) "%s"
21string(%d) "%s"
22string(0) ""
23string(0) ""
24string(0) ""
25string(0) ""
26string(0) ""
27