Skip to content

Instantly share code, notes, and snippets.

@carbolymer
Created September 10, 2010 14:19
Show Gist options
  • Save carbolymer/573707 to your computer and use it in GitHub Desktop.
Save carbolymer/573707 to your computer and use it in GitHub Desktop.
[carbolymer@nucleon]:~/httpd/vhosts/phar$ cat index.php
<?php
phpinfo();
error_reporting(E_ALL);
echo 'BEFORE';
include 'phar:///home/carbolymer/httpd/vhosts/phar/lib/lib.phar/root.php';
include 'phar:///home/carbolymer/httpd/vhosts/phar/lib/lib.phar/main.php';
echo 'AFTER';
?>
Wynik:
BEFORE
w lib.phar mam spakowane pliki ktore wyswietlaja tylko tekst. Wykonywanie skryptu urywa sie na include.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment