1--TEST--
2__DIR__ constant test with includes
3--FILE--
4<?php
5echo __DIR__ . "\n";
6echo dirname(__FILE__) . "\n";
7include 'fixtures/folder1/fixture.php';
8include 'fixtures/folder2/fixture.php';
9include 'fixtures/folder3/fixture.php';
10include 'fixtures/folder4/fixture.php';
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