Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/phar/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/phar/tests/bug13786.phpt |
--TEST-- Phar: bug #13786: "PHP crashes on phar recreate after unlink" --SKIPIF-- <?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 --FILE-- <?php try { for ($i = 0; $i < 2; $i++) { $fname = "DataArchive.phar"; $path = dirname(__FILE__) . DIRECTORY_SEPARATOR . $fname; $phar = new Phar($path); $phar->addFromString($i, "file $i in $fname"); var_dump(file_get_contents($phar[$i])); unset($phar); unlink($path); } echo("\nWritten files: $i\n"); } catch (Exception $e) { echo $e->getMessage() . "\n"; } ?> ===DONE=== --EXPECTF-- string(26) "file 0 in DataArchive.phar" unable to seek to start of file "0" while creating new phar "%sDataArchive.phar" ===DONE===
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare