/PHP-8.0/ext/spl/tests/ |
H A D | heap_007.phpt | 5 $h = new SplMaxHeap(); 7 $h->insert(1); 8 $h->insert(5); 9 $h->insert(0); 10 $h->insert(4); 12 $h->rewind(); 13 echo "count(\$h) = ".count($h)."\n"; 14 echo "\$h->count() = ".$h->count()."\n"; 20 $h->next(); 24 count($h) = 4 [all …]
|
H A D | pqueue_003.phpt | 7 $h->insert(1, 1); 8 $h->insert(5, 5); 9 $h->insert(0, 0); 10 $h->insert(4, 4); 12 $h->rewind(); 13 echo "count(\$h) = ".count($h)."\n"; 14 echo "\$h->count() = ".$h->count()."\n"; 16 $k = $h->key(); 19 $h->next(); 23 count($h) = 4 [all …]
|
H A D | heap_001.phpt | 5 $h = new SplMaxHeap(); 9 $h->extract(); 15 $h->insert(1); 16 $h->insert(2); 17 $h->insert(3); 18 $h->insert(3); 19 $h->insert(3); 21 echo $h->count()."\n"; 27 echo $h->count()."\n"; 32 $h->insert($b); [all …]
|
H A D | heap_002.phpt | 5 $h = new SplMinHeap(); 9 $h->extract(); 15 $h->insert(1); 16 $h->insert(2); 17 $h->insert(3); 18 $h->insert(3); 19 $h->insert(3); 21 echo $h->count()."\n"; 22 echo $h->extract()."\n"; 27 echo $h->count()."\n"; [all …]
|
H A D | heap_011.phpt | 10 $h = new SplMinHeap2(); 11 $h->insert(1); 12 $h->insert(6); 13 $h->insert(5); 14 $h->insert(2); 15 var_dump($h->top()); 23 $h->insert(1); 24 $h->insert(6); 25 $h->insert(5); 26 $h->insert(2); [all …]
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | fread_fwrite_basic.phpt | 19 fwrite($h, $out1); 22 fwrite($h, $out2); 24 var_dump(feof($h)); 26 fwrite($h, $out3); 29 fclose($h); 33 fread($h,1024); 34 var_dump(feof($h)); 35 fread($h,1); 38 fwrite($h, $out); 40 fread($h,1); [all …]
|
H A D | fopen_variation6.phpt | 11 $h = fopen($absfile, "w"); 12 fwrite($h, "This is an absolute file"); 13 fclose($h); 15 $h = fopen($relfile, "w"); 16 fwrite($h, "This is a relative file"); 17 fclose($h); 20 $h = fopen($absfile, "r", true, $ctx); 21 fpassthru($h); 22 fclose($h); 26 fpassthru($h); [all …]
|
H A D | fopen_variation8.phpt | 57 fclose($h); 62 fpassthru($h); 63 fclose($h); 69 fclose($h); 73 fpassthru($h); 74 fclose($h); 80 fclose($h); 85 fclose($h); 94 fclose($h); 100 fclose($h); [all …]
|
H A D | fopen_variation5.phpt | 58 fclose($h); 63 fpassthru($h); 64 fclose($h); 70 fclose($h); 74 fpassthru($h); 75 fclose($h); 81 fclose($h); 86 fclose($h); 95 fclose($h); 101 fclose($h); [all …]
|
H A D | fseek_variation3.phpt | 11 $h = fopen($outputfile, "wb+"); 13 fwrite($h, chr(0x30 + $i)); 17 var_dump(fseek($h, -4, SEEK_SET)); 18 echo "after -4 seek: ".bin2hex(fread($h,1))."\n"; 19 var_dump(fseek($h, -1, SEEK_CUR)); 21 var_dump(fseek($h, -20, SEEK_CUR)); 25 var_dump(fseek($h, 16, SEEK_SET)); 26 fwrite($h, "end"); 27 fseek($h ,0, SEEK_SET); 28 $data = fread($h, 4096); [all …]
|
/PHP-8.0/ext/opcache/jit/vtune/ |
H A D | ittnotify_config.h | 468 if (h != NULL) { \ 469 h->tid = t; \ 485 if (h != NULL) { \ 502 if (h != NULL) { \ 518 if (h != NULL) { \ 534 if (h != NULL) { \ 549 if (h != NULL) { \ 564 if (h != NULL) { \ 570 h->index = 0; \ 581 if (h != NULL) { \ [all …]
|
/PHP-8.0/ext/spl/ |
H A D | config.m4 | 2 …pl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl…
|
H A D | config.w32 | 5 …pl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl…
|
/PHP-8.0/Zend/ |
H A D | Makefile.frag | 5 $(builddir)/zend_language_scanner.lo: $(srcdir)/zend_language_parser.h 6 $(builddir)/zend_ini_scanner.lo: $(srcdir)/zend_ini_parser.h 11 $(srcdir)/zend_language_parser.h: $(srcdir)/zend_language_parser.c 20 @$(SED) -e 's,^int zendparse\(.*\),ZEND_API int zendparse\1,g' < $(srcdir)/zend_language_parser.h \ 21 > $(srcdir)/zend_language_parser.h.tmp && \ 22 mv $(srcdir)/zend_language_parser.h.tmp $(srcdir)/zend_language_parser.h 25 > $(srcdir)/zend_language_parser.h.tmp && \ 26 mv $(srcdir)/zend_language_parser.h.tmp $(srcdir)/zend_language_parser.h 28 $(srcdir)/zend_ini_parser.h: $(srcdir)/zend_ini_parser.c 35 $(builddir)/zend_highlight.lo $(builddir)/zend_compile.lo: $(srcdir)/zend_language_parser.h [all …]
|
/PHP-8.0/ext/zlib/tests/ |
H A D | gzopen_variation6.phpt | 15 $h = gzopen($absfile, "w"); 17 gzclose($h); 19 $h = gzopen($relfile, "w"); 20 gzwrite($h, "This is a relative file"); 21 gzclose($h); 23 $h = gzopen($absfile, "r"); 24 gzpassthru($h); 25 fclose($h); 28 $h = gzopen($relfile, "r"); 29 gzpassthru($h); [all …]
|
H A D | gzseek_basic2.phpt | 12 $h = gzopen($f, 'w'); 15 gzwrite($h, $str1); 16 echo "tell=".gztell($h)."\n"; 19 gzseek($h, strlen($str1) + 20); 20 echo "tell=".gztell($h)."\n"; 21 gzwrite($h, $str2); 22 echo "tell=".gztell($h)."\n"; 23 gzclose($h); 25 $h = gzopen($f, 'r'); 27 var_dump(bin2hex(gzread($h, 20))); [all …]
|
H A D | gzseek_variation4.phpt | 12 $h = gzopen($f, 'w'); 15 gzwrite($h, $str1); 16 echo "tell=".gztell($h)."\n"; 20 echo "tell=".gztell($h)."\n"; 21 gzwrite($h, $str2); 22 echo "tell=".gztell($h)."\n"; 23 gzclose($h); 25 $h = gzopen($f, 'r'); 26 echo gzread($h, strlen($str1))."\n"; 27 var_dump(bin2hex(gzread($h, 20))); [all …]
|
H A D | gzseek_variation5.phpt | 12 $h = gzopen($f, 'w'); 15 gzwrite($h, $str1); 16 echo "tell=".gztell($h)."\n"; 19 gzseek($h, 20, SEEK_CUR); 20 echo "tell=".gztell($h)."\n"; 21 gzwrite($h, $str2); 22 echo "tell=".gztell($h)."\n"; 23 gzclose($h); 25 $h = gzopen($f, 'r'); 27 var_dump(bin2hex(gzread($h, 20))); [all …]
|
H A D | gzread_variation1.phpt | 13 $h = gzopen($filename, 'w'); 15 var_dump(gzread($h, 100)); 16 gzwrite( $h, $str); 17 var_dump(gzread($h, 100)); 18 gzrewind($h); 19 var_dump(gzread($h, 100)); 20 gzclose($h); 22 $h = gzopen($filename, 'r'); 23 gzpassthru($h); 24 gzclose($h);
|
H A D | gzopen_variation4.phpt | 40 gzclose($h); 45 if ($h) { 47 gzclose($h); 54 gzclose($h); 58 if ($h) { 60 gzclose($h); 67 gzclose($h); 71 if ($h) { 82 if ($h) { 91 gzclose($h); [all …]
|
H A D | gzrewind_basic.phpt | 12 $h = gzopen($f, 'r'); 14 var_dump(gzrewind($h)); 15 var_dump(gztell($h)); 16 echo "\nfirst 30 characters=".gzread($h, 30)."\n"; 17 var_dump(gztell($h)); 18 gzrewind($h); 19 var_dump(gztell($h)); 20 echo "first 10 characters=".gzread($h, 10)."\n"; 21 gzrewind($h); 22 echo "first 20 characters=".gzread($h, 20)."\n"; [all …]
|
H A D | gzseek_variation1.phpt | 12 $h = gzopen($f, 'w'); 15 gzwrite($h, $str1); 18 gzseek($h, strlen($str1) + 20); 19 gzwrite($h, $str2); 20 gzclose($h); 21 $h = gzopen($f, 'r'); 22 echo gzread($h, strlen($str1))."\n"; 23 var_dump(bin2hex(gzread($h, 20))); 24 echo gzread($h, strlen($str2))."\n"; 25 gzclose($h);
|
H A D | zlib_wrapper_fflush_basic.phpt | 13 $h = gzopen($filename, 'w'); 16 var_dump(fflush($h)); 17 gzwrite( $h, $str); 18 gzwrite( $h, $str); 19 var_dump(fflush($h)); 20 gzclose($h); 22 $h = gzopen($filename, 'r'); 23 gzpassthru($h); 24 gzclose($h);
|
/PHP-8.0/ext/hash/ |
H A D | config.w32 | 24 if (!CHECK_HEADER_ADD_INCLUDE('KeccakHash.h', 'CFLAGS_HASH', hash_sha3_dir)) { 31 PHP_INSTALL_HEADERS('ext/hash/', 'php_hash.h php_hash_md.h php_hash_sha.h ' + 32 'php_hash_ripemd.h php_hash_haval.h php_hash_tiger.h ' + 33 'php_hash_gost.h php_hash_snefru.h php_hash_whirlpool.h ' + 34 'php_hash_adler32.h php_hash_crc32.h php_hash_sha3.h');
|
H A D | config.m4 | 39 EXT_HASH_HEADERS="php_hash.h php_hash_md.h php_hash_sha.h php_hash_ripemd.h \ 40 php_hash_haval.h php_hash_tiger.h php_hash_gost.h php_hash_snefru.h \ 41 php_hash_whirlpool.h php_hash_adler32.h php_hash_crc32.h \ 42 php_hash_fnv.h php_hash_joaat.h php_hash_sha3.h"
|