/PHP-8.4/tests/lang/integer_literals/ |
H A D | binary_32bit.phpt | 12 var_dump($binary); 17 var_dump($binary); 20 $binary = 0b1010110; 21 var_dump($binary); 24 $binary = 0b1_010110; 25 var_dump($binary); 29 var_dump($binary); 31 var_dump($binary); 35 var_dump($binary); 40 var_dump($binary); [all …]
|
H A D | binary_64bit.phpt | 12 var_dump($binary); 17 var_dump($binary); 20 $binary = 0b1010110; 21 var_dump($binary); 24 $binary = 0b1_010110; 25 var_dump($binary); 29 var_dump($binary); 31 var_dump($binary); 35 var_dump($binary); 40 var_dump($binary); [all …]
|
/PHP-8.4/ext/standard/tests/array/ |
H A D | array_merge_recursive_variation8.phpt | 2 Test array_merge_recursive() function : usage variations - binary safe checking 6 * Testing the functionality of array_merge_recursive() by passing an array having binary values. 9 echo "*** Testing array_merge_recursive() : array with binary data for \$arr1 argument ***\n"; 11 // array with binary values 15 $arr2 = array(b"str1" => b"binary", b"hello" => "binary", b"str2" => b"binary"); 26 *** Testing array_merge_recursive() : array with binary data for $arr1 argument *** 49 string(6) "binary" 58 string(6) "binary" 65 string(6) "binary"
|
H A D | array_intersect_assoc_variation10.phpt | 2 Test array_intersect_assoc() function : usage variations - binary safe checking 7 * binary values for $arr1 and $arr2 argument. 10 echo "*** Testing array_intersect_assoc() : binary safe checking ***\n"; 12 // array with binary values 17 // array with binary value for $arr1 argument 20 // array with binary value for $arr2 argument 23 // array with binary value for both $arr1 and $arr2 argument 29 *** Testing array_intersect_assoc() : binary safe checking ***
|
H A D | array_intersect_variation10.phpt | 2 Test array_intersect() function : usage variations - binary safe checking 7 * binary values for $arr1 and $arr2 argument. 10 echo "*** Testing array_intersect() : binary safe checking ***\n"; 12 // array with binary values 17 // array with binary value for $arr1 argument 20 // array with binary value for $arr2 argument 23 // array with binary value for both $arr1 and $arr2 argument 29 *** Testing array_intersect() : binary safe checking ***
|
H A D | array_combine_variation6.phpt | 2 Test array_combine() function : usage variations - binary safe checking 7 * binary values for $keys and $values argument. 10 echo "*** Testing array_combine() : binary safe checking ***\n"; 12 // array with binary values 16 // array with binary value for $keys and $values argument 19 // array with binary value for $values argument 22 // array with binary value for $keys argument 28 *** Testing array_combine() : binary safe checking ***
|
H A D | array_map_variation9.phpt | 2 Test array_map() function : usage variations - binary safe checking 6 * Test array_map() by passing array having binary values for $arr1 argument 9 echo "*** Testing array_map() : array with binary data for 'arr1' argument ***\n"; 20 // array with binary data 23 echo "-- checking binary safe array with one parameter callback function --\n"; 26 echo "-- checking binary safe array with two parameter callback function --\n"; 36 *** Testing array_map() : array with binary data for 'arr1' argument *** 37 -- checking binary safe array with one parameter callback function -- 48 -- checking binary safe array with two parameter callback function --
|
H A D | array_pad_variation4.phpt | 2 Test array_pad() function : usage variations - binary safe checking 6 * Passing binary values to $pad_value argument and testing whether 11 echo "*** Testing array_pad() : Passing binary values to \$pad_value argument ***\n"; 18 $binary = b"hello"; 20 var_dump( array_pad($input, $pad_size, $binary) ); // positive 'pad_size' 21 var_dump( array_pad($input, -$pad_size, $binary) ); // negative 'pad_size' 26 *** Testing array_pad() : Passing binary values to $pad_value argument ***
|
H A D | array_unique_variation7.phpt | 2 Test array_unique() function : usage variations - binary safe checking 6 * Testing the functionality of array_unique() by passing an array having binary values. 9 echo "*** Testing array_unique() : array with binary data for \$input argument ***\n"; 11 // array with binary values 19 *** Testing array_unique() : array with binary data for $input argument ***
|
H A D | array_diff_assoc_variation4.phpt | 61 // binary data 63 'binary' => array( 64 b"binary1" => 'binary 1', 65 (binary)"binary2" => 'binary 2'), 135 string(8) "binary 1" 137 string(8) "binary 2"
|
H A D | array_diff_variation3.phpt | 74 "binary" => array( 75 // binary data 76 b"binary", 77 (binary)"binary"), 168 string(6) "binary" 170 string(6) "binary"
|
H A D | array_diff_assoc_variation3.phpt | 77 // binary data 79 'binary' => array( 80 b"binary", 81 (binary)"binary"), 176 string(6) "binary" 178 string(6) "binary"
|
H A D | array_diff_variation4.phpt | 74 "binary" => array( 75 // binary data 76 b"binary", 77 (binary)"binary"),
|
/PHP-8.4/ext/spl/tests/ |
H A D | recursive_tree_iterator_005.phpt | 2 SPL: RecursiveTreeIterator and binary vs unicode (PHP 6.0+) 10 (binary) "binary", 14 (binary) "binary" => array( 44 string(10) "| |-binary" 63 string(8) "\-binary" 80 string(6) "binary" 81 string(10) "| |-binary" 88 string(8) "\-binary"
|
/PHP-8.4/ext/standard/tests/file/ |
H A D | popen_pclose_basic-win32-mb.phpt | 38 fwrite($file_handle, (binary)$str); 39 …fwrite($file_handle, (binary)(binary)(binary)(binary)(binary)(binary)(binary)(binary)(binary)$newl…
|
H A D | popen_pclose_basic-win32.phpt | 38 fwrite($file_handle, (binary)$str); 39 …fwrite($file_handle, (binary)(binary)(binary)(binary)(binary)(binary)(binary)(binary)(binary)$newl…
|
/PHP-8.4/ext/phar/tests/files/ |
H A D | phar_test.inc | 5 $manifest = (binary)''; 37 if (empty($crc32))$crc32= crc32((binary)$cont); 41 $manifest .= pack('V', strlen($name)) . (binary)$name; 42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 53 …ir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) . (binary)$alias . pack('V', strlen($pmeta)) . (bi… 54 $file = (binary)$file; 59 $file .= (binary)$cont;
|
/PHP-8.4/ext/phar/tests/cache_list/files/ |
H A D | phar_test.inc | 5 $manifest = (binary)''; 37 if (empty($crc32))$crc32= crc32((binary)$cont); 41 $manifest .= pack('V', strlen($name)) . (binary)$name; 42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m… 53 …ir) ? 0x1110 : 0x1000, $gflags, strlen($alias)) . (binary)$alias . pack('V', strlen($pmeta)) . (bi… 54 $file = (binary)$file; 59 $file .= (binary)$cont;
|
/PHP-8.4/ext/standard/tests/strings/ |
H A D | strncasecmp_variation7.phpt | 2 Test strncasecmp() function : usage variations - binary safe 5 /* Test strncasecmp() function with null terminated strings and binary values passed to 'str1' & 's… 7 echo "*** Test strncasecmp() function: with null terminated strings and binary inputs ***\n"; 9 /* A binary function should not expect a null terminated string, and it should treat input as a raw… 19 *** Test strncasecmp() function: with null terminated strings and binary inputs ***
|
H A D | join_variation6.phpt | 2 Test join() function : usage variations - binary safe 6 * check the working of join() when given binary input given 9 echo "*** Testing join() : usage variationsi - binary safe ***\n"; 23 *** Testing join() : usage variationsi - binary safe ***
|
H A D | strrchr_variation12.phpt | 2 Test strrchr() function : usage variations - binary safe 5 /* Test strrchr() function: with binary values & null terminated strings passed to 'str1' & 'str2' … 7 echo "*** Test strrchr() function: binary safe ***\n"; 27 *** Test strrchr() function: binary safe ***
|
H A D | strrpos_variation12.phpt | 2 Test strrpos() function : usage variations - checking binary safe with 'haystack' argument 6 * in order to check the binary safe 9 echo "*** Test strrpos() function: binary safe ***\n"; 27 *** Test strrpos() function: binary safe ***
|
H A D | fprintf_variation_003.phpt | 17 /* binary type variations */ 18 fprintf($fp, "\n*** Testing fprintf() with binary ***\n"); 33 *** Testing fprintf() with binary ***
|
H A D | fprintf_variation_003_64bit.phpt | 17 /* binary type variations */ 18 fprintf($fp, "\n*** Testing fprintf() with binary ***\n"); 33 *** Testing fprintf() with binary ***
|
/PHP-8.4/ext/standard/ |
H A D | crypt_blowfish.c | 649 } binary; in BF_crypt() member 680 BF_swap(data.binary.salt, 4); in BF_crypt() 689 L ^= data.binary.salt[i & 2]; in BF_crypt() 690 R ^= data.binary.salt[(i & 2) + 1]; in BF_crypt() 727 tmp1 = data.binary.salt[0]; in BF_crypt() 728 tmp2 = data.binary.salt[1]; in BF_crypt() 729 tmp3 = data.binary.salt[2]; in BF_crypt() 730 tmp4 = data.binary.salt[3]; in BF_crypt() 751 data.binary.output[i] = L; in BF_crypt() 752 data.binary.output[i + 1] = R; in BF_crypt() [all …]
|