Download src/php/php-src/ext/phar/tests/zip/files/frontcontroller6.phar.inc from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/phar/tests/zip/files/frontcontroller6.phar.inc
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/phar/tests/zip/files/frontcontroller6.phar.inc
-
curl -L -o frontcontroller6.phar.inc https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/phar/tests/zip/files/frontcontroller6.phar.inc
378 Bytes
| @unlink(dirname(__FILE__) . '/frontcontroller6.phar.zip'); | |
| $a = new Phar(dirname(__FILE__) . '/frontcontroller6.phar.zip'); | |
| $a['a.php'] = 'hio'; | |
| $a['a.jpg'] = 'hio'; | |
| $a['a.phps'] = '<?php function hio(){}'; | |
| $a->setStub('<?php | |
| Phar::webPhar("whatever", "index.php", null, array("php" => 100)); | |
| echo "oops did not run\n"; | |
| var_dump($_ENV, $_SERVER); | |
| __HALT_COMPILER();'); | |