PATH:
opt
/
alt
/
tests
/
alt-php52-pecl-bitset_1.0.1-1.el8
/
tests
--TEST-- bitset_to_array --SKIPIF-- <?php if (!extension_loaded("bitset")) print "skip"; ?> --FILE-- <?php if( count(bitset_to_array( bitset_empty() )) == 0 ) echo "empty input - ok\n"; $bit_array = bitset_to_array( bitset_from_string("01101101") ); $test_array = array(1,2,4,5,7); if( count(array_diff( $bit_array, $test_array )) == 0 ) echo "non-trivial input - ok\n"; ?> --EXPECT-- empty input - ok non-trivial input - ok
[-] 009.phpt
[edit]
[-] 014.phpt
[edit]
[-] 016.phpt
[edit]
[-] 005.phpt
[edit]
[-] 012.phpt
[edit]
[-] 013.phpt
[edit]
[-] 003.phpt
[edit]
[-] 018.phpt
[edit]
[-] 007.phpt
[edit]
[-] 008.phpt
[edit]
[-] 001.phpt
[edit]
[-] 015.phpt
[edit]
[-] 002.phpt
[edit]
[-] 017.phpt
[edit]
[-] 006.phpt
[edit]
[-] 004.phpt
[edit]
[+]
..
[-] 010.phpt
[edit]
[-] 011.phpt
[edit]