summaryrefslogtreecommitdiff
path: root/ext/phar/tests/phar_running.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/phar_running.phpt')
-rw-r--r--ext/phar/tests/phar_running.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/phar/tests/phar_running.phpt b/ext/phar/tests/phar_running.phpt
index 74f26f0cd6..7b74921a3e 100644
--- a/ext/phar/tests/phar_running.phpt
+++ b/ext/phar/tests/phar_running.phpt
@@ -11,7 +11,6 @@ $pname = 'phar://' . $fname;
$phar = new Phar($fname);
$phar['index.php'] = '<?php
-Phar::running(array());
var_dump(Phar::running());
var_dump(Phar::running(false));
?>';
@@ -22,7 +21,6 @@ var_dump(Phar::running());
--CLEAN--
<?php unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
--EXPECTF--
-Warning: Phar::running() expects parameter 1 to be bool, array given in phar://%sphar_running.phar.php/index.php on line 2
string(%d) "phar://%sphar_running.phar.php"
string(%d) "%sphar_running.phar.php"
string(0) ""