/PHP-8.0/ext/standard/tests/file/ |
H A D | fread_variation1.phpt | 107 Reading 1024 bytes from file, expecting 1024 bytes ... OK 114 Reading 1000 bytes from file, expecting 1000 bytes ... OK 122 Reading 1024 bytes from file, expecting 1024 bytes ... OK 129 Reading 1000 bytes from file, expecting 1000 bytes ... OK 137 Reading 1024 bytes from file, expecting 1024 bytes ... OK 144 Reading 1000 bytes from file, expecting 1000 bytes ... OK 152 Reading 1024 bytes from file, expecting 1024 bytes ... OK 159 Reading 1000 bytes from file, expecting 1000 bytes ... OK 167 Reading 1024 bytes from file, expecting 1024 bytes ... OK 174 Reading 1000 bytes from file, expecting 1000 bytes ... OK [all …]
|
H A D | fread_variation3-win32-mb.phpt | 119 Reading 10 bytes from file, expecting 0 bytes ... OK 133 Reading 10 bytes from file, expecting 0 bytes ... OK 147 Reading 10 bytes from file, expecting 0 bytes ... OK 161 Reading 10 bytes from file, expecting 0 bytes ... OK 175 Reading 10 bytes from file, expecting 0 bytes ... OK 189 Reading 10 bytes from file, expecting 0 bytes ... OK 203 Reading 10 bytes from file, expecting 0 bytes ... OK 217 Reading 10 bytes from file, expecting 0 bytes ... OK 231 Reading 10 bytes from file, expecting 0 bytes ... OK 247 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation3-win32.phpt | 119 Reading 10 bytes from file, expecting 0 bytes ... OK 133 Reading 10 bytes from file, expecting 0 bytes ... OK 147 Reading 10 bytes from file, expecting 0 bytes ... OK 161 Reading 10 bytes from file, expecting 0 bytes ... OK 175 Reading 10 bytes from file, expecting 0 bytes ... OK 189 Reading 10 bytes from file, expecting 0 bytes ... OK 203 Reading 10 bytes from file, expecting 0 bytes ... OK 217 Reading 10 bytes from file, expecting 0 bytes ... OK 231 Reading 10 bytes from file, expecting 0 bytes ... OK 247 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation3.phpt | 119 Reading 10 bytes from file, expecting 0 bytes ... OK 133 Reading 10 bytes from file, expecting 0 bytes ... OK 147 Reading 10 bytes from file, expecting 0 bytes ... OK 161 Reading 10 bytes from file, expecting 0 bytes ... OK 175 Reading 10 bytes from file, expecting 0 bytes ... OK 189 Reading 10 bytes from file, expecting 0 bytes ... OK 203 Reading 10 bytes from file, expecting 0 bytes ... OK 217 Reading 10 bytes from file, expecting 0 bytes ... OK 231 Reading 10 bytes from file, expecting 0 bytes ... OK 247 Reading 10 bytes from file, expecting 0 bytes ... OK [all …]
|
H A D | fread_variation2.phpt | 106 Reading 1024 bytes from file, expecting 0 bytes ... 115 Reading 1000 bytes from file, expecting 0 bytes ... 125 Reading 1024 bytes from file, expecting 0 bytes ... 134 Reading 1000 bytes from file, expecting 0 bytes ... 144 Reading 1024 bytes from file, expecting 0 bytes ... 153 Reading 1000 bytes from file, expecting 0 bytes ... 163 Reading 1024 bytes from file, expecting 0 bytes ... 172 Reading 1000 bytes from file, expecting 0 bytes ... 182 Reading 1024 bytes from file, expecting 0 bytes ... 191 Reading 1000 bytes from file, expecting 0 bytes ... [all …]
|
H A D | fread_variation4.phpt | 104 Reading 1030 bytes from file, expecting 0 bytes ... 112 Reading 10 bytes from file, expecting 0 bytes ... 121 Reading 1030 bytes from file, expecting 0 bytes ... 129 Reading 10 bytes from file, expecting 0 bytes ... 146 Reading 10 bytes from file, expecting 0 bytes ... 163 Reading 10 bytes from file, expecting 0 bytes ... 180 Reading 10 bytes from file, expecting 0 bytes ... 197 Reading 10 bytes from file, expecting 0 bytes ... 214 Reading 10 bytes from file, expecting 0 bytes ... 231 Reading 10 bytes from file, expecting 0 bytes ... [all …]
|
H A D | fread_basic.phpt | 101 Reading 1024 bytes from file, expecting 1024 bytes ... OK 108 Reading 1030 bytes from file, expecting 1024 bytes ... OK 115 Reading 1000 bytes from file, expecting 1000 bytes ... OK 123 Reading 1024 bytes from file, expecting 1024 bytes ... OK 130 Reading 1030 bytes from file, expecting 1024 bytes ... OK 137 Reading 1000 bytes from file, expecting 1000 bytes ... OK 145 Reading 1024 bytes from file, expecting 1024 bytes ... OK 152 Reading 1030 bytes from file, expecting 1024 bytes ... OK 159 Reading 1000 bytes from file, expecting 1000 bytes ... OK 167 Reading 1024 bytes from file, expecting 1024 bytes ... OK [all …]
|
H A D | fscanf_variation51.phpt | 68 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 71 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 74 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 77 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 80 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 83 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 86 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 91 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 94 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d 97 Notice: fscanf(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d [all …]
|
H A D | fnmatch_variation.phpt | 190 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 192 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 272 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 273 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 274 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 275 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 276 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 277 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 286 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 287 fnmatch(): Argument #1 ($pattern) must not contain any null bytes [all …]
|
/PHP-8.0/ext/openssl/tests/ |
H A D | bug81713.phpt | 147 openssl_pkey_export(): Argument #1 ($key) must not contain any null bytes 154 openssl_sign(): Argument #3 ($private_key) must not contain any null bytes 155 openssl_verify(): Argument #3 ($public_key) must not contain any null bytes 156 openssl_seal(): Argument #4 ($public_key) must not contain any null bytes 157 openssl_open(): Argument #4 ($private_key) must not contain any null bytes 158 openssl_csr_new(): Argument #2 ($private_key) must not contain any null bytes 159 openssl_csr_get_subject(): Argument #1 ($csr) must not contain any null bytes 195 openssl_cms_sign(): Argument #3 ($certificate) must not contain any null bytes 196 openssl_cms_sign(): Argument #4 ($private_key) must not contain any null bytes 202 openssl_cms_verify(): Argument #6 ($content) must not contain any null bytes [all …]
|
/PHP-8.0/ext/zlib/tests/ |
H A D | gztell_basic2.phpt | 18 echo "bytes written=".gzwrite($h, str_repeat('1', $size))."\n"; 27 bytes written=7 29 bytes written=22 31 bytes written=54 33 bytes written=17 35 bytes written=27 37 bytes written=15 39 bytes written=1000
|
/PHP-8.0/ext/standard/tests/serialize/ |
H A D | invalid_signs_in_lengths.phpt | 21 Notice: unserialize(): Error at offset 0 of 9 bytes in %s on line %d 24 Notice: unserialize(): Error at offset 0 of 9 bytes in %s on line %d 27 Notice: unserialize(): Error at offset 0 of 7 bytes in %s on line %d 30 Notice: unserialize(): Error at offset 0 of 7 bytes in %s on line %d 33 Notice: unserialize(): Error at offset 0 of 20 bytes in %s on line %d 36 Notice: unserialize(): Error at offset 0 of 20 bytes in %s on line %d 39 Notice: unserialize(): Error at offset 0 of 24 bytes in %s on line %d 42 Notice: unserialize(): Error at offset 0 of 24 bytes in %s on line %d 45 Notice: unserialize(): Error at offset 9 of 15 bytes in %s on line %d 48 Notice: unserialize(): Error at offset 9 of 15 bytes in %s on line %d [all …]
|
H A D | bug25378.phpt | 20 Notice: unserialize(): Error at offset 0 of 8 bytes in %sbug25378.php on line %d 23 Notice: unserialize(): Error at offset 0 of 5 bytes in %sbug25378.php on line %d 26 Notice: unserialize(): Error at offset 13 of 19 bytes in %sbug25378.php on line %d 29 Notice: unserialize(): Error at offset 14 of 19 bytes in %sbug25378.php on line %d 32 Notice: unserialize(): Error at offset 2 of 22 bytes in %sbug25378.php on line %d 35 Notice: unserialize(): Error at offset 17 of 18 bytes in %sbug25378.php on line %d 38 Notice: unserialize(): Error at offset 24 of 33 bytes in %sbug25378.php on line %d 47 Notice: unserialize(): Error at offset 2 of 13 bytes in %sbug25378.php on line %d 50 Notice: unserialize(): Error at offset 2 of 11 bytes in %sbug25378.php on line %d 53 Notice: unserialize(): Error at offset 8 of 9 bytes in %sbug25378.php on line %d [all …]
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_io.c | 60 if (bytes <= 0) { in ZEND_EXTERN_MODULE_GLOBALS() 66 if (i != len + bytes - 1) { in ZEND_EXTERN_MODULE_GLOBALS() 85 len += bytes; in ZEND_EXTERN_MODULE_GLOBALS() 88 if (bytes <= 0) { in ZEND_EXTERN_MODULE_GLOBALS() 93 return bytes; in ZEND_EXTERN_MODULE_GLOBALS() 192 int count = 0, bytes = 0; local 200 bytes += write(sock, ptr + bytes, (p - ptr) - bytes); 214 bytes += write(sock, ptr + bytes, len - bytes); 215 } else if (!bytes) { 216 bytes += write(sock, ptr, len); [all …]
|
/PHP-8.0/ext/standard/ |
H A D | random.c | 95 if (php_win32_get_random_bytes(bytes, size) == FAILURE) { in php_random_bytes() 108 if (CCRandomGenerateBytes(bytes, size) != kCCSuccess) { in php_random_bytes() 115 arc4random_buf(bytes, size); in php_random_bytes() 136 n = getrandom(bytes + read_bytes, amount_to_read, 0); in php_random_bytes() 157 __msan_unpoison(bytes + read_bytes, n); in php_random_bytes() 194 n = read(fd, bytes + read_bytes, size - read_bytes); in php_random_bytes() 217 zend_string *bytes; in PHP_FUNCTION() local 228 bytes = zend_string_alloc(size, 0); in PHP_FUNCTION() 231 zend_string_release_ex(bytes, 0); in PHP_FUNCTION() 235 ZSTR_VAL(bytes)[size] = '\0'; in PHP_FUNCTION() local [all …]
|
/PHP-8.0/ext/pcre/pcre2lib/ |
H A D | pcre2_serialize.c | 76 uint8_t *bytes; in pcre2_serialize_encode() local 110 if (bytes == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_serialize_encode() 113 memcpy(bytes, memctl, sizeof(pcre2_memctl)); in pcre2_serialize_encode() 114 bytes += sizeof(pcre2_memctl); in pcre2_serialize_encode() 116 data = (pcre2_serialized_data *)bytes; in pcre2_serialize_encode() 123 dst_bytes = bytes + sizeof(pcre2_serialized_data); in pcre2_serialize_encode() 152 *serialized_bytes = bytes; in pcre2_serialize_encode() 164 const uint8_t *bytes, pcre2_general_context *gcontext) in pcre2_serialize_decode() argument 187 src_bytes = bytes + sizeof(pcre2_serialized_data); in pcre2_serialize_decode() 277 pcre2_serialize_free(uint8_t *bytes) in pcre2_serialize_free() argument [all …]
|
/PHP-8.0/ext/oci8/tests/ |
H A D | lob_030.phpt | 42 echo "Test 1: A CLOB with an even number of bytes\n"; 45 echo "Test 2: A CLOB with an odd number of bytes\n"; 51 echo "Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code)\n"; 54 echo "Test 5: A CLOB of 1049028-1 bytes\n"; 57 echo "Test 6: A CLOB of 1049028+1 bytes\n"; 66 Test 1: A CLOB with an even number of bytes 68 Test 2: A CLOB with an odd number of bytes 70 Test 3: A CLOB of 1048576 bytes (== size of PHP_OCI_LOB_BUFFER_SIZE at time of test creation) 72 Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code) 74 Test 5: A CLOB of 1049028-1 bytes [all …]
|
H A D | bug70700.phpt | 52 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes) 83 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes) 114 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes) 160 size of string1 is 1000006 bytes, 1000006 chars. 161 size of stream1a is 1000006 bytes, 1000006 chars. 166 size of string2 is 8194 bytes, 4100 chars. 167 size of stream2a is 8194 bytes, 4100 chars. 172 size of string3 is 8194 bytes, 4100 chars. 173 size of stream3a is 8194 bytes, 4100 chars. 178 size of string4 is 8193 bytes, 2735 chars. [all …]
|
/PHP-8.0/ext/pdo_oci/tests/ |
H A D | bug60994.phpt | 32 $insert->bindParam(':data', $string1, \PDO::PARAM_STR, strlen($string1)); // length in bytes 49 $insert->bindParam(':data', $string2, \PDO::PARAM_STR, strlen($string2)); // length in bytes 66 $insert->bindParam(':data', $string3, \PDO::PARAM_STR, strlen($string3)); // length in bytes 100 size of string1 is 1000006 bytes, 1000006 chars. 101 size of stream1 is 1000006 bytes, 1000006 chars. 106 size of string2 is 16380 bytes, 8193 chars. 107 size of stream2 is 16380 bytes, 8193 chars. 112 size of string3 is 16380 bytes, 8193 chars. 113 size of stream3 is 16380 bytes, 8193 chars. 118 size of string4 is 24567 bytes, 8193 chars. [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | bug78340.phpt | 9 private $bytes, $pos; 12 $this->bytes= self::$files[$path]; 19 $chunk= substr($this->bytes, $this->pos, $count); 25 return $this->pos >= strlen($this->bytes); 29 $this->bytes= null; 35 'size' => strlen($this->bytes),
|
/PHP-8.0/ext/sockets/tests/ |
H A D | socket_sentto_recvfrom_ipv4_udp.phpt | 33 '%d bytes have been sent instead of the %d bytes expected', 42 $bytes = socket_recvfrom( 45 if (($bytes === false) && ($errno = socket_last_error($socket))) { 56 $recvd += $bytes; 57 $wants -= $bytes; 63 '%d bytes have been received instead of the %d bytes expected',
|
H A D | socket_sentto_recvfrom_ipv6_udp.phpt | 37 '%d bytes have been sent instead of the %d bytes expected', 46 $bytes = socket_recvfrom( 49 if (($bytes === false) && ($errno = socket_last_error($socket))) { 60 $recvd += $bytes; 61 $wants -= $bytes; 67 '%d bytes have been received instead of the %d bytes expected',
|
/PHP-8.0/ext/standard/tests/mail/ |
H A D | mail_null_bytes.phpt | 2 mail() with null bytes in arguments 34 mail(): Argument #1 ($to) must not contain any null bytes 35 mail(): Argument #2 ($subject) must not contain any null bytes 36 mail(): Argument #3 ($message) must not contain any null bytes 37 mail(): Argument #4 ($additional_headers) must not contain any null bytes 38 mail(): Argument #5 ($additional_params) must not contain any null bytes
|
/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_send_mail_null_bytes.phpt | 2 mb_send_mail() with null bytes in arguments 34 mb_send_mail(): Argument #1 ($to) must not contain any null bytes 35 mb_send_mail(): Argument #2 ($subject) must not contain any null bytes 36 mb_send_mail(): Argument #3 ($message) must not contain any null bytes 37 mb_send_mail(): Argument #4 ($additional_headers) must not contain any null bytes 38 mb_send_mail(): Argument #5 ($additional_params) must not contain any null bytes
|
/PHP-8.0/ext/spl/tests/ |
H A D | SplObjectStorage_unserialize_invalid_parameter2.phpt | 29 Error at offset %d of %d bytes 30 Error at offset %d of %d bytes 31 Error at offset %d of %d bytes 32 Error at offset %d of %d bytes 33 Error at offset %d of %d bytes
|