![]() ![]() | ![]() |
1.1 misho 1: <?php 2: set_include_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar' ); 3: include 'phar://' . __FILE__ . '/hello/test.php'; 4: set_include_path('.' . PATH_SEPARATOR . 'phar://' . dirname(__FILE__) . '/files/include_path2.phar/test'); 5: include 'phar://' . __FILE__ . '/hello/test.php'; 6: echo "ok\n"; 7: __HALT_COMPILER(); ?> 8: <