Create packer with recursive inclusion and deduplication

This commit is contained in:
Tim
2025-03-18 23:31:28 +01:00
parent c4845ed7c6
commit 61a4dcd370
11 changed files with 108 additions and 11 deletions

5
test/test.include.php Normal file
View File

@ -0,0 +1,5 @@
<?php
include 'test.include2.php';
echo 'test.include' . PHP_EOL;

3
test/test.include2.php Normal file
View File

@ -0,0 +1,3 @@
<?php
echo 'test.include2' . PHP_EOL;

11
test/test.php Normal file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env php
<?php
include 'test.include.php';
include 'test2.include.php';
include 'test2.include.php';
include 'test.include.php';
include 'test2.include.php';
include 'test2.include.php';
echo 'test' . PHP_EOL;