Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
214 changes: 0 additions & 214 deletions ext/ftp/tests/007.phpt

This file was deleted.

6 changes: 0 additions & 6 deletions ext/readline/tests/readline_callback_handler_install_001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@ function foo() {
}

var_dump(readline_callback_handler_install('testing: ', 'foo'));
try {
var_dump(readline_callback_handler_install('testing: ', 'foobar!'));
} catch (\TypeError $e) {
echo $e::class, ': ', $e->getMessage(), PHP_EOL;
}

?>
--EXPECT--
testing: bool(true)
TypeError: readline_callback_handler_install(): Argument #2 ($callback) must be a valid callback, function "foobar!" not found or invalid function name
8 changes: 0 additions & 8 deletions ext/zlib/tests/deflate_add_error.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ Test incremental deflate_add() error functionality
zlib
--FILE--
<?php
$badResource = fopen("php://memory", "r+");

try {
var_dump(deflate_add($badResource, "test"));
} catch (\TypeError $e) {
echo $e::class, ': ', $e->getMessage(), PHP_EOL;
}

$resource = deflate_init(ZLIB_ENCODING_DEFLATE);
$badFlushType = 6789;
Expand All @@ -23,5 +16,4 @@ try {

?>
--EXPECT--
TypeError: deflate_add(): Argument #1 ($context) must be of type DeflateContext, resource given
ValueError: deflate_add(): Argument #3 ($flush_mode) must be one of ZLIB_NO_FLUSH, ZLIB_PARTIAL_FLUSH, ZLIB_SYNC_FLUSH, ZLIB_FULL_FLUSH, ZLIB_BLOCK, or ZLIB_FINISH
8 changes: 0 additions & 8 deletions ext/zlib/tests/inflate_add_error.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@ zlib
--FILE--
<?php

$badResource = fopen("php://memory", "r+");
try {
var_dump(inflate_add($badResource, "test"));
} catch (\TypeError $e) {
echo $e::class, ': ', $e->getMessage(), PHP_EOL;
}

$resource = inflate_init(ZLIB_ENCODING_DEFLATE);
$badFlushType = 6789;
try {
Expand All @@ -22,5 +15,4 @@ try {

?>
--EXPECT--
TypeError: inflate_add(): Argument #1 ($context) must be of type InflateContext, resource given
ValueError: inflate_add(): Argument #3 ($flush_mode) must be one of ZLIB_NO_FLUSH, ZLIB_PARTIAL_FLUSH, ZLIB_SYNC_FLUSH, ZLIB_FULL_FLUSH, ZLIB_BLOCK, or ZLIB_FINISH
Loading