Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
php-8.2
/
share
/
test
/
mongodb
/
tests
/
bson
/
//proc/thread-self/root/opt/php-8.2/share/test/mongodb/tests/bson/bson-int64-operation-003.phpt
--TEST-- MongoDB\BSON\Int64 operations: increment/decrement --FILE-- <?php $value = new MongoDB\BSON\Int64(10); var_dump($value++); var_dump($value); var_dump(++$value); var_dump($value); var_dump($value--); var_dump($value); var_dump(--$value); var_dump($value); ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- object(MongoDB\BSON\Int64)#%d (%d) { ["integer"]=> string(2) "10" } object(MongoDB\BSON\Int64)#%d (%d) { ["integer"]=> string(2) "11" } object(MongoDB\BSON\Int64)#%d (%d) { ["integer"]=> string(2) "12" } object(MongoDB\BSON\Int64)#%d (%d) { ["integer"]=> string(2) "12" } object(MongoDB\BSON\Int64)#%d (%d) { ["integer"]=> string(2) "12" } object(MongoDB\BSON\Int64)#%d (%d) { ["integer"]=> string(2) "11" } object(MongoDB\BSON\Int64)#%d (%d) { ["integer"]=> string(2) "10" } object(MongoDB\BSON\Int64)#%d (%d) { ["integer"]=> string(2) "10" } ===DONE===