/PHP-8.2/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 | 188 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 190 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 270 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 271 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 284 fnmatch(): Argument #1 ($pattern) must not contain any null bytes 285 fnmatch(): Argument #1 ($pattern) must not contain any null bytes [all …]
|
/PHP-8.2/sapi/phpdbg/ |
H A D | phpdbg_io.c | 37 if (bytes <= 0) { in ZEND_EXTERN_MODULE_GLOBALS() 43 if (i != len + bytes - 1) { in ZEND_EXTERN_MODULE_GLOBALS() 62 len += bytes; in ZEND_EXTERN_MODULE_GLOBALS() 65 if (bytes <= 0) { in ZEND_EXTERN_MODULE_GLOBALS() 70 return bytes; in ZEND_EXTERN_MODULE_GLOBALS() 84 int count = 0, bytes = 0; in phpdbg_output_pager() local 92 bytes += write(fd, ptr + bytes, (p - ptr) - bytes); in phpdbg_output_pager() 106 bytes += write(fd, ptr + bytes, len - bytes); in phpdbg_output_pager() 107 } else if (!bytes) { in phpdbg_output_pager() 108 bytes += write(fd, ptr, len); in phpdbg_output_pager() [all …]
|
/PHP-8.2/ext/openssl/tests/ |
H A D | bug81713.phpt | 149 openssl_pkey_export(): Argument #1 ($key) must not contain any null bytes 156 openssl_sign(): Argument #3 ($private_key) must not contain any null bytes 157 openssl_verify(): Argument #3 ($public_key) must not contain any null bytes 158 openssl_seal(): Argument #4 ($public_key) must not contain any null bytes 159 openssl_open(): Argument #4 ($private_key) must not contain any null bytes 160 openssl_csr_new(): Argument #2 ($private_key) must not contain any null bytes 161 openssl_csr_get_subject(): Argument #1 ($csr) must not contain any null bytes 197 openssl_cms_sign(): Argument #3 ($certificate) must not contain any null bytes 198 openssl_cms_sign(): Argument #4 ($private_key) must not contain any null bytes 204 openssl_cms_verify(): Argument #6 ($content) must not contain any null bytes [all …]
|
/PHP-8.2/ext/zlib/tests/ |
H A D | gztell_basic2.phpt | 14 echo "bytes written=".gzwrite($h, str_repeat('1', $size))."\n"; 23 bytes written=7 25 bytes written=22 27 bytes written=54 29 bytes written=17 31 bytes written=27 33 bytes written=15 35 bytes written=1000
|
/PHP-8.2/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.2/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.2/ext/oci8/tests/ |
H A D | lob_030.phpt | 44 echo "Test 1: A CLOB with an even number of bytes\n"; 47 echo "Test 2: A CLOB with an odd number of bytes\n"; 53 echo "Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code)\n"; 56 echo "Test 5: A CLOB of 1049028-1 bytes\n"; 59 echo "Test 6: A CLOB of 1049028+1 bytes\n"; 68 Test 1: A CLOB with an even number of bytes 70 Test 2: A CLOB with an odd number of bytes 72 Test 3: A CLOB of 1048576 bytes (== size of PHP_OCI_LOB_BUFFER_SIZE at time of test creation) 74 Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code) 76 Test 5: A CLOB of 1049028-1 bytes [all …]
|
H A D | bug70700.phpt | 54 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes) 85 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes) 116 fwrite($fh, $data, strlen($data)); // fwrite(a, b, $bytes) 162 size of string1 is 1000006 bytes, 1000006 chars. 163 size of stream1a is 1000006 bytes, 1000006 chars. 168 size of string2 is 8194 bytes, 4100 chars. 169 size of stream2a is 8194 bytes, 4100 chars. 174 size of string3 is 8194 bytes, 4100 chars. 175 size of stream3a is 8194 bytes, 4100 chars. 180 size of string4 is 8193 bytes, 2735 chars. [all …]
|
/PHP-8.2/ext/random/tests/03_randomizer/methods/ |
H A D | shuffleBytes.phpt | 24 function sort_bytes(string $bytes): string 26 $bytes = str_split($bytes); 27 sort($bytes); 28 return implode('', $bytes); 38 $bytes = sort_bytes(random_bytes($i)); 40 $result = $randomizer->shuffleBytes($bytes); 44 if ($result !== $bytes) {
|
/PHP-8.2/ext/sockets/tests/ |
H A D | socket_sentto_recvfrom_ipv4_udp.phpt | 29 '%d bytes have been sent instead of the %d bytes expected', 38 $bytes = socket_recvfrom( 41 if (($bytes === false) && ($errno = socket_last_error($socket))) { 52 $recvd += $bytes; 53 $wants -= $bytes; 59 '%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.2/Zend/tests/ |
H A D | bug78340.phpt | 10 private $bytes, $pos, $ino; 13 $this->bytes= self::$files[$path]; 20 $chunk= substr($this->bytes, $this->pos, $count); 26 return $this->pos >= strlen($this->bytes); 30 $this->bytes= null; 36 'size' => strlen($this->bytes),
|
/PHP-8.2/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.2/ext/mbstring/tests/ |
H A D | mb_send_mail_null_bytes.phpt | 2 mb_send_mail() with null bytes in arguments 36 mb_send_mail(): Argument #1 ($to) must not contain any null bytes 37 mb_send_mail(): Argument #2 ($subject) must not contain any null bytes 38 mb_send_mail(): Argument #3 ($message) must not contain any null bytes 39 mb_send_mail(): Argument #4 ($additional_headers) must not contain any null bytes 40 mb_send_mail(): Argument #5 ($additional_params) must not contain any null bytes
|
/PHP-8.2/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
|
/PHP-8.2/ext/pdo_oci/tests/ |
H A D | bug60994.phpt | 35 $insert->bindParam(':data', $string1, \PDO::PARAM_STR, strlen($string1)); // length in bytes 55 $insert->bindParam(':data', $string2, \PDO::PARAM_STR, strlen($string2)); // length in bytes 75 $insert->bindParam(':data', $string3, \PDO::PARAM_STR, strlen($string3)); // length in bytes 114 size of string1 is 8193 bytes, 8193 chars. 115 size of stream1 is 8193 bytes, 8193 chars. 120 size of string2 is 16380 bytes, 8193 chars. 121 size of stream2 is 16380 bytes, 8193 chars. 126 size of string3 is 16380 bytes, 8193 chars. 127 size of stream3 is 16380 bytes, 8193 chars. 132 size of string4 is 24567 bytes, 8193 chars. [all …]
|