Some tests for PSharp/psharp#2
This commit is contained in:
5
test/a.php
Normal file
5
test/a.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
echo '[a] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
||||
require_once 'b.php';
|
||||
echo '[a] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
6
test/b.php
Normal file
6
test/b.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
|
||||
echo '[b] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
||||
require_once 'c.php';
|
||||
echo '[b] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
7
test/c.php
Normal file
7
test/c.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
echo '[c] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
||||
require_once 'more/a.php';
|
||||
echo '[c] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
4
test/main.php
Normal file
4
test/main.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
echo '[main] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
||||
require_once 'a.php';
|
||||
echo '[main] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
8
test/more/a.php
Normal file
8
test/more/a.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
|
||||
echo '[more/a] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
||||
require_once 'b.php';
|
||||
echo '[more/a] file: ' . __FILE__ . ', line: ' . __LINE__ . ', dir: ' . __DIR__ . PHP_EOL;
|
Reference in New Issue
Block a user