/php-src/ext/ffi/tests/ |
H A D | 032.phpt | 38 -5 => 3-bit int 3, 3-bit uint 3 39 -4 => 3-bit int -4, 3-bit uint 4 40 -3 => 3-bit int -3, 3-bit uint 5 41 -2 => 3-bit int -2, 3-bit uint 6 43 0 => 3-bit int 0, 3-bit uint 0 44 1 => 3-bit int 1, 3-bit uint 1 45 2 => 3-bit int 2, 3-bit uint 2 46 3 => 3-bit int 3, 3-bit uint 3 47 4 => 3-bit int -4, 3-bit uint 4 48 5 => 3-bit int -3, 3-bit uint 5 [all …]
|
/php-src/ext/mbstring/tests/ |
H A D | other_encodings.phpt | 13 // "7bit". This is not a real text encoding. 14 var_dump(mb_convert_encoding("ABC", "7bit", "ASCII")); 15 var_dump(mb_convert_encoding("\x80", "7bit", "ASCII")); 16 var_dump(mb_convert_encoding("ABC", "8bit", "7bit")); 17 var_dump(mb_check_encoding(chr(255), '7bit')); 19 echo "7bit done\n"; 21 // "8bit" 22 var_dump(mb_convert_encoding("\x01\x00", "8bit", "UTF-16BE")); // codepoints over 0xFF are illegal … 23 echo "8bit done\n"; 32 7bit done [all …]
|
H A D | bug81298.phpt | 2 Bug #81298: mb_detect_encoding() segfaults when 7bit encoding is specified 8 var_dump(mb_detect_encoding("foobar.", "7bit")); 9 var_dump(mb_detect_encoding("foobar.", "7bit,ascii")); 10 var_dump(mb_detect_encoding("foobar.", "7bit,ascii,utf8"));
|
H A D | gh10648.phpt | 11 'JIS X 0201 7bit kana with escape sequence' => '1b2849311b2842', // 'ア' in JIS 12 'JIS X 0201 7bit kana with SO/SI' => '0e310f', // 'ア' in JIS 13 'JIS X 0201 8bit kana' => 'b1', // 'ア' in JIS 14 'JIS X 0201 7bit kana with SO and ESC' => '0e311b2842', // 'ア' in JIS 15 'JIS X 0201 7bit kana with ESC and SI' => '1b2849310f', // 'ア' in JIS 57 JIS X 0201 7bit kana with escape sequence 67 JIS X 0201 7bit kana with SO/SI 77 JIS X 0201 8bit kana 87 JIS X 0201 7bit kana with SO and ESC 97 JIS X 0201 7bit kana with ESC and SI
|
H A D | bug81693.phpt | 2 Bug #81693 (mb_check_encoding(7bit) segfaults) 7 var_dump(mb_check_encoding('Hello world', '7bit'));
|
H A D | bug77025.phpt | 8 var_dump(mb_strpos('Hello', 'e', 0, '8bit')); 9 var_dump(mb_stripos('Hello', 'e', 0, '8bit'));
|
H A D | mb_list_encodings.phpt | 7 var_dump(in_array("7bit", mb_list_encodings())); 8 var_dump(in_array("8bit", mb_list_encodings()));
|
/php-src/ext/standard/tests/strings/ |
H A D | bug47842.phpt | 2 Bug #47842 sscanf() does not support 64-bit values 12 echo "sscanf 32-bit signed int '2147483647' (2^31)-1 = ",$int,"\n"; 14 echo "sscanf 32-bit unsign int '4294967295' (2^32)-1 = ",$int,"\n"; 17 echo "sscanf 64-bit signed int '9223372036854775807' (2^63)-1 = ",$int,"\n"; 19 echo "sscanf 64-bit unsign int '18446744073709551615' (2^64)-1 = ",$int,"\n"; 28 sscanf 32-bit signed int '2147483647' (2^31)-1 = 2147483647 29 sscanf 32-bit unsign int '4294967295' (2^32)-1 = 4294967295 30 sscanf 64-bit signed int '9223372036854775807' (2^63)-1 = 9223372036854775807 31 sscanf 64-bit unsign int '18446744073709551615' (2^64)-1 = 18446744073709551615 32 printf 64-bit signed int '9223372036854775807' (2^63)-1 = 9223372036854775807 [all …]
|
H A D | pack64_32.phpt | 2 64bit pack()/unpack() tests 6 die("skip 32bit test only"); 55 64-bit format codes are not available for 32-bit versions of PHP 56 64-bit format codes are not available for 32-bit versions of PHP 57 64-bit format codes are not available for 32-bit versions of PHP 58 64-bit format codes are not available for 32-bit versions of PHP 59 64-bit format codes are not available for 32-bit versions of PHP 60 64-bit format codes are not available for 32-bit versions of PHP 61 64-bit format codes are not available for 32-bit versions of PHP 62 64-bit format codes are not available for 32-bit versions of PHP
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug75177.phpt | 2 PDO MySQL Bug #75177 Type 'bit' is fetched as unexpected string 16 $pdo->query("CREATE TABLE test_75177 (`bit` BIT(8)) ENGINE=InnoDB"); 17 $pdo->query("INSERT INTO test_75177 (`bit`) VALUES (1), (0b011), (0b01100)"); 22 var_dump($i["bit"]); 28 var_dump($i["bit"]);
|
/php-src/ext/hash/tests/ |
H A D | hash_serialize_003.phpt | 205 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDA7aTo0O2E6MDp7fX0=", /* 64-bit fast LE */ 206 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDE7aTo0O2E6MDp7fX0=", /* 32-bit fast LE */ 211 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDA7aTo0O2E6MDp7fX0=", /* 64-bit fast LE */ 212 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDE7aTo0O2E6MDp7fX0=", /* 32-bit fast LE */ 217 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDA7aTo0O2E6MDp7fX0=", /* 64-bit fast LE */ 218 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDE7aTo0O2E6MDp7fX0=", /* 32-bit fast LE */ 223 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDA7aTo0O2E6MDp7fX0=", /* 64-bit fast LE */ 224 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDE7aTo0O2E6MDp7fX0=", /* 32-bit fast LE */
|
/php-src/ext/standard/tests/math/ |
H A D | bug30695.phpt | 2 Bug #30695 (32 bit issues) 5 if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); 16 case !($char_code & 0xffffff80): // 7 bit 19 case !($char_code & 0xfffff800): // 11 bit 23 case !($char_code & 0xffff0000): // 16 bit 28 case !($char_code & 0xffe00000): // 21 bit 34 case !($char_code & 0xfc000000): // 26 bit 41 default: // 31 bit
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | nextInt_64_engine_on_32_platform.phpt | 2 Random: Randomizer: nextInt(): Throws for 64 bit engines on 32 bit platforms 4 <?php if (PHP_INT_SIZE == 8) die("skip 32-bit only"); ?>
|
/php-src/ext/gd/tests/ |
H A D | imageinterlace_variation2.phpt | 2 Testing setting the interlace bit off with imageinterlace() of GD library 13 //setting the interlace bit to on 16 //setting de interlace bit to off
|
H A D | bug66005.phpt | 2 Bug #66005 (imagecopy does not support 1bit transparency on truecolor images) 22 // 24 bit with transparent color 25 // 32 bit with full alpha channel
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug_63916-2.phpt | 2 Bug #63916 PDO::PARAM_INT casts to 32bit int internally even on 64bit builds in pdo_sqlite 7 if (PHP_INT_SIZE > 4) die('skip 32-bit only');
|
/php-src/Zend/tests/ |
H A D | bug70173.phpt | 2 Bug #70173 (ZVAL_COPY_VALUE_EX broken for 32bit Solaris Sparc) 5 if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platforms only");
|
H A D | zend_signed_multiply-32bit.phpt | 2 Zend signed multiply 32-bit 4 <?php if ((1 << 31) > 0) print "skip Running on 64-bit target"; ?>
|
H A D | zend_signed_multiply-64bit.phpt | 2 Zend signed multiply 64-bit, variation 1 4 <?php if ((1 << 31) < 0) print "skip Running on 32-bit target"; ?>
|
H A D | bug62097.phpt | 2 Bug #62097: fix for bug #54547 is wrong for 32-bit machines 6 die('skip for system with 32-bit wide longs only');
|
/php-src/ext/gd/libgd/ |
H A D | gd_xbm.c | 44 int bit, x = 0, y = 0; in gdImageCreateFromXbm() local 142 for (bit = 1; bit <= max_bit; bit = bit << 1) { in gdImageCreateFromXbm() 143 gdImageSetPixel(im, x++, y, (b & bit) ? 1 : 0); in gdImageCreateFromXbm()
|
/php-src/tests/lang/constants/ |
H A D | PHP_INT_32bit.phpt | 2 Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (32-bit) 5 die("skip this test is for 32-bit platforms only"); ?>
|
H A D | PHP_INT_64bit.phpt | 2 Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (64-bit) 5 die("skip this test is for 64-bit platforms only"); ?>
|
/php-src/ext/opcache/tests/jit/ |
H A D | add_012.phpt | 2 JIT ADD: 012 register allocation for 64-bit constant 8 <?php if (PHP_INT_SIZE != 8) die("skip: 64-bit only"); ?>
|
/php-src/ext/xml/tests/ |
H A D | bug81481.phpt | 2 Bug #81481 (xml_get_current_byte_index limited to 32-bit numbers on 64-bit builds) 14 if (PHP_INT_SIZE != 8) die("skip 64-bit only");
|