diff options
Diffstat (limited to 'ext/phar/tests')
-rw-r--r-- | ext/phar/tests/badparameters.phpt | 4 | ||||
-rw-r--r-- | ext/phar/tests/bug46032.phpt | 4 | ||||
-rw-r--r-- | ext/phar/tests/cache_list/copyonwrite17.phar.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/cache_list/copyonwrite19.phar.phpt | 2 | ||||
-rw-r--r-- | ext/phar/tests/cache_list/frontcontroller22.phpt | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/ext/phar/tests/badparameters.phpt b/ext/phar/tests/badparameters.phpt index 8564d4f17e..e8ddb1f62a 100644 --- a/ext/phar/tests/badparameters.phpt +++ b/ext/phar/tests/badparameters.phpt @@ -145,13 +145,13 @@ echo $e->getMessage() . "\n"; ?> ===DONE=== --EXPECTF-- -Warning: Phar::mungServer() expects parameter 1 to be array, %string given in %sbadparameters.php on line %d +Warning: Phar::mungServer() expects parameter 1 to be array, string given in %sbadparameters.php on line %d Warning: Phar::createDefaultStub() expects parameter 1 to be a valid path, array given in %sbadparameters.php on line %d Warning: Phar::loadPhar() expects parameter 1 to be a valid path, array given in %sbadparameters.php on line %d -Warning: Phar::canCompress() expects parameter 1 to be int, %string given in %sbadparameters.php on line %d +Warning: Phar::canCompress() expects parameter 1 to be int, string given in %sbadparameters.php on line %d Exception: Phar::__construct() expects parameter 1 to be a valid path, array given in %sbadparameters.php on line %d diff --git a/ext/phar/tests/bug46032.phpt b/ext/phar/tests/bug46032.phpt index a59ddadd43..57f3fc2daf 100644 --- a/ext/phar/tests/bug46032.phpt +++ b/ext/phar/tests/bug46032.phpt @@ -24,8 +24,8 @@ new phardata('0000000000000000000'); ?> ===DONE=== --EXPECTF-- -%string|unicode%(%d) "%smytest" -%string|unicode%(%d) "%smytest" +string(%d) "%smytest" +string(%d) "%smytest" Fatal error: Uncaught UnexpectedValueException: Cannot create phar '0000000000000000000', file extension (or combination) not recognised or the directory does not exist in %sbug46032.php:%d Stack trace: diff --git a/ext/phar/tests/cache_list/copyonwrite17.phar.phpt b/ext/phar/tests/cache_list/copyonwrite17.phar.phpt index 158c049b14..6e13088512 100644 --- a/ext/phar/tests/cache_list/copyonwrite17.phar.phpt +++ b/ext/phar/tests/cache_list/copyonwrite17.phar.phpt @@ -10,5 +10,5 @@ phar.readonly=0 files/write17.phar --EXPECTF-- NULL -%string|unicode%(2) "hi" +string(2) "hi" ok
\ No newline at end of file diff --git a/ext/phar/tests/cache_list/copyonwrite19.phar.phpt b/ext/phar/tests/cache_list/copyonwrite19.phar.phpt index 6e03554d96..4870550c4d 100644 --- a/ext/phar/tests/cache_list/copyonwrite19.phar.phpt +++ b/ext/phar/tests/cache_list/copyonwrite19.phar.phpt @@ -10,5 +10,5 @@ phar.readonly=0 files/write19.phar --EXPECTF-- string(2) "hi" -%string|unicode%(3) "hi2" +string(3) "hi2" ok
\ No newline at end of file diff --git a/ext/phar/tests/cache_list/frontcontroller22.phpt b/ext/phar/tests/cache_list/frontcontroller22.phpt index 2769b01f2f..82a8389ad5 100644 --- a/ext/phar/tests/cache_list/frontcontroller22.phpt +++ b/ext/phar/tests/cache_list/frontcontroller22.phpt @@ -14,8 +14,8 @@ files/frontcontroller13.phar --EXPECTHEADERS-- Content-type: text/html; charset=UTF-8 --EXPECTF-- -%string|unicode%(4) "test" -%string|unicode%(12) "oof/test.php" +string(4) "test" +string(12) "oof/test.php" Warning: include(./hi.php): failed to open stream: No such file or directory in phar://%s/oof/test.php on line %d |