Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
tests /
mongodb /
tests /
server /
Delete
Unzip
Name
Size
Permission
Date
Action
bug0671-002.phpt
669
B
-rw-r--r--
2025-04-09 02:56
server-constants.phpt
682
B
-rw-r--r--
2025-04-09 02:56
server-construct-001.phpt
908
B
-rw-r--r--
2025-04-09 02:56
server-debug.phpt
781
B
-rw-r--r--
2025-04-09 02:56
server-errors.phpt
2.39
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-001.phpt
2
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-002.phpt
1.07
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-003.phpt
1.18
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-004.phpt
1.33
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-005.phpt
1.7
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-006.phpt
1.21
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-007.phpt
1.36
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-008.phpt
2.14
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-009.phpt
1.07
KB
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite-010.phpt
709
B
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite_error-001.phpt
716
B
-rw-r--r--
2025-04-09 02:56
server-executeBulkWrite_error-002.phpt
1.91
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand-001.phpt
1.29
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand-002.phpt
2.05
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand-003.phpt
1.03
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand-004.phpt
1.47
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand-005.phpt
1.72
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand-006.phpt
1.6
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand-007.phpt
976
B
-rw-r--r--
2025-04-09 02:56
server-executeCommand-008.phpt
1.65
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand-009.phpt
2.26
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand-010.phpt
1.39
KB
-rw-r--r--
2025-04-09 02:56
server-executeCommand_error-001.phpt
3.09
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-001.phpt
1.08
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-002.phpt
1.3
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-003.phpt
1.46
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-004.phpt
740
B
-rw-r--r--
2025-04-09 02:56
server-executeQuery-006.phpt
1.81
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-007.phpt
1.32
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-008.phpt
1.52
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-009.phpt
1.63
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-010.phpt
1.89
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-011.phpt
953
B
-rw-r--r--
2025-04-09 02:56
server-executeQuery-012.phpt
1.99
KB
-rw-r--r--
2025-04-09 02:56
server-executeQuery-013.phpt
974
B
-rw-r--r--
2025-04-09 02:56
server-executeQuery_error-001.phpt
1.72
KB
-rw-r--r--
2025-04-09 02:56
server-executeReadCommand-001.phpt
1.4
KB
-rw-r--r--
2025-04-09 02:56
server-executeReadCommand-002.phpt
2.31
KB
-rw-r--r--
2025-04-09 02:56
server-executeReadCommand-003.phpt
1.12
KB
-rw-r--r--
2025-04-09 02:56
server-executeReadCommand_error-001.phpt
2.54
KB
-rw-r--r--
2025-04-09 02:56
server-executeReadWriteCommand-001.phpt
1.25
KB
-rw-r--r--
2025-04-09 02:56
server-executeReadWriteCommand-002.phpt
2.32
KB
-rw-r--r--
2025-04-09 02:56
server-executeReadWriteCommand-003.phpt
1.43
KB
-rw-r--r--
2025-04-09 02:56
server-executeReadWriteCommand_error-001.phpt
2.56
KB
-rw-r--r--
2025-04-09 02:56
server-executeWriteCommand-001.phpt
1.1
KB
-rw-r--r--
2025-04-09 02:56
server-executeWriteCommand-002.phpt
2.37
KB
-rw-r--r--
2025-04-09 02:56
server-executeWriteCommand-003.phpt
1.14
KB
-rw-r--r--
2025-04-09 02:56
server-executeWriteCommand_error-001.phpt
1.91
KB
-rw-r--r--
2025-04-09 02:56
server-getInfo-001.phpt
461
B
-rw-r--r--
2025-04-09 02:56
server-getLatency-001.phpt
489
B
-rw-r--r--
2025-04-09 02:56
server-getLatency-002.phpt
465
B
-rw-r--r--
2025-04-09 02:56
server-getServerDescription-001.phpt
481
B
-rw-r--r--
2025-04-09 02:56
server-getTags-001.phpt
506
B
-rw-r--r--
2025-04-09 02:56
server-getTags-002.phpt
1.24
KB
-rw-r--r--
2025-04-09 02:56
server_error-001.phpt
245
B
-rw-r--r--
2025-04-09 02:56
Save
Rename
--TEST-- MongoDB\Driver\Server::executeReadCommand() with invalid options --SKIPIF-- <?php require __DIR__ . "/../utils/basic-skipif.inc"; ?> <?php skip_if_not_live(); ?> <?php skip_if_not_replica_set(); ?> <?php skip_if_no_secondary(); ?> <?php skip_if_not_clean(); ?> --FILE-- <?php require_once __DIR__ . "/../utils/basic.inc"; $manager = create_test_manager(); $server = $manager->selectServer(new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::SECONDARY)); $command = new MongoDB\Driver\Command(['ping' => 1]); echo throws(function() use ($server, $command) { $server->executeReadCommand(DATABASE_NAME, $command, ['readConcern' => 'foo']); }, 'MongoDB\Driver\Exception\InvalidArgumentException'), "\n"; echo throws(function() use ($server, $command) { $server->executeReadCommand(DATABASE_NAME, $command, ['readConcern' => new stdClass]); }, 'MongoDB\Driver\Exception\InvalidArgumentException'), "\n"; echo throws(function() use ($server, $command) { $server->executeReadCommand(DATABASE_NAME, $command, ['readPreference' => 'foo']); }, 'MongoDB\Driver\Exception\InvalidArgumentException'), "\n"; echo throws(function() use ($server, $command) { $server->executeReadCommand(DATABASE_NAME, $command, ['readPreference' => new stdClass]); }, 'MongoDB\Driver\Exception\InvalidArgumentException'), "\n"; echo throws(function() use ($server, $command) { $server->executeReadCommand(DATABASE_NAME, $command, ['session' => 'foo']); }, 'MongoDB\Driver\Exception\InvalidArgumentException'), "\n"; echo throws(function() use ($server, $command) { $server->executeReadCommand(DATABASE_NAME, $command, ['session' => new stdClass]); }, 'MongoDB\Driver\Exception\InvalidArgumentException'), "\n"; ?> ===DONE=== <?php exit(0); ?> --EXPECT-- OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected "readConcern" option to be MongoDB\Driver\ReadConcern, string given OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected "readConcern" option to be MongoDB\Driver\ReadConcern, stdClass given OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected "readPreference" option to be MongoDB\Driver\ReadPreference, string given OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected "readPreference" option to be MongoDB\Driver\ReadPreference, stdClass given OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected "session" option to be MongoDB\Driver\Session, string given OK: Got MongoDB\Driver\Exception\InvalidArgumentException Expected "session" option to be MongoDB\Driver\Session, stdClass given ===DONE===