mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-25 17:32:28 +01:00
23 lines
489 B
PHP
23 lines
489 B
PHP
--TEST--
|
|
MongoDB\Driver\CursorId debug output on 32-bit platform
|
|
--SKIPIF--
|
|
<?php if (4 !== PHP_INT_SIZE) { die('skip Only for 32-bit platform'); } ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
require_once __DIR__ . '/../utils/basic.inc';
|
|
|
|
$cursorId = unserialize('C:23:"MongoDB\Driver\CursorId":42:{a:1:{s:2:"id";s:19:"7250031947823432848";}}');
|
|
|
|
var_dump($cursorId);
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECTF--
|
|
object(MongoDB\Driver\CursorId)#%d (%d) {
|
|
["id"]=>
|
|
string(19) "7250031947823432848"
|
|
}
|
|
===DONE===
|