We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77603d6 commit 831b036Copy full SHA for 831b036
ext/spl/tests/gh14687.phpt
@@ -9,7 +9,7 @@ phar.require_hash=0
9
phar.readonly=0
10
--FILE--
11
<?php
12
-$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.zip';
+$fname = __DIR__ . '/gh14687.phar.zip';
13
$phar = new Phar($fname);
14
class HasDestructor {
15
public function __destruct() {
@@ -21,6 +21,11 @@ $s[$phar] = new HasDestructor();
21
register_shutdown_function(function() {
22
global $s;
23
});
24
+?>
25
+--CLEAN--
26
+<?php
27
+@unlink(__DIR__ . '/gh14687.phar.zip');
28
29
--EXPECT--
30
object(SplObjectStorage)#2 (1) {
31
["storage":"SplObjectStorage":private]=>
0 commit comments