Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
php-7.2
/
share
/
test
/
mongodb
/
tests
/
bson
/
//proc/self/root/proc/self/root/opt/php-7.2/share/test/mongodb/tests/bson/bson-decimal128-002.phpt
--TEST-- MongoDB\BSON\Decimal128 NaN values --SKIPIF-- <?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?> --FILE-- <?php $tests = [ acos(8), NAN, 'nan', 'Nan', 'NaN', 'NAN', ]; foreach ($tests as $test) { printf("%s\n", new MongoDB\BSON\Decimal128($test)); } ?> ===DONE=== <?php exit(0); ?> --EXPECT-- NaN NaN NaN NaN NaN NaN ===DONE===