📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 08:35:19
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php80-pecl-bitset_3.2.0-1.el8
/
tests
📍 /opt/alt/tests/alt-php80-pecl-bitset_3.2.0-1.el8/tests
🔄 Refresh
✏️
Editing: BitSet_fromRawValue.phpt
Read Only
--TEST-- BitSet BitSet::fromRawValue() - Verifies the provided input raw value is represented in set bits --SKIPIF-- <?php if (!extension_loaded('bitset')) die('skipping missing extension'); ?> --FILE-- <?php $b = BitSet::fromRawValue(base64_decode('AA==')); var_dump($b->__toString()); $b = BitSet::fromRawValue(base64_decode('IA==')); var_dump($b->__toString()); var_dump(base64_encode($b->getRawValue())); ?> --EXPECT-- string(8) "00000000" string(8) "00000100" string(4) "IA=="
💾 Save Changes
❌ Cancel