1--TEST--
2__DIR__ constant test with includes
3--FILE--
4<?php
5echo __DIR__ . "\n";
6echo dirname(__FILE__) . "\n";
7include 'fixtures/folder1/fixture.inc';
8include 'fixtures/folder2/fixture.inc';
9include 'fixtures/folder3/fixture.inc';
10include 'fixtures/folder4/fixture.inc';
11?>
12--EXPECTF--
13%stests%sconstants
14%stests%sconstants
15%stests%sconstants%sfixtures%sfolder1
16%stests%sconstants%sfixtures%sfolder1
17%stests%sconstants%sfixtures%sfolder2
18%stests%sconstants%sfixtures%sfolder2
19%stests%sconstants%sfixtures%sfolder3
20%stests%sconstants%sfixtures%sfolder3
21%stests%sconstants%sfixtures%sfolder4
22%stests%sconstants%sfixtures%sfolder4
23