/PHP-5.5/ext/zlib/tests/ |
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);
|
H A D | gzseek_basic.phpt | 12 $h = gzopen($f, 'r'); 15 var_dump(gzseek( $h, 50 ) ); 16 echo "tell=".gztell($h)."\n"; 18 var_dump(gzread($h, 10)); 21 var_dump(gzseek( $h, 100 ) ); 22 echo "tell=".gztell($h)."\n"; 24 var_dump(gzread($h, 10)); 27 var_dump(gzseek( $h, 20 ) ); 28 echo "tell=".gztell($h)."\n"; 30 var_dump(gzread($h, 10)); [all …]
|
H A D | gzseek_variation2.phpt | 12 $h = gzopen($f, 'r'); 15 var_dump(gzseek( $h, 50, SEEK_SET ) ); 16 echo "tell=".gztell($h)."\n"; 18 var_dump(gzread($h, 10)); 21 var_dump(gzseek( $h, 100, SEEK_SET ) ); 22 echo "tell=".gztell($h)."\n"; 24 var_dump(gzread($h, 10)); 27 var_dump(gzseek( $h, 20, SEEK_SET ) ); 28 echo "tell=".gztell($h)."\n"; 30 var_dump(gzread($h, 10)); [all …]
|
H A D | gzseek_variation3.phpt | 12 $h = gzopen($f, 'r'); 15 var_dump(gzseek( $h, 50, SEEK_CUR ) ); 16 echo "tell=".gztell($h)."\n"; 18 var_dump(gzread($h, 10)); 21 var_dump(gzseek( $h, 34, SEEK_CUR ) ); 22 echo "tell=".gztell($h)."\n"; 24 var_dump(gzread($h, 10)); 27 var_dump(gzseek( $h, -27, SEEK_CUR ) ); 28 echo "tell=".gztell($h)."\n"; 30 var_dump(gzread($h, 10)); [all …]
|
H A D | gzrewind_variation1.phpt | 12 $h = gzopen($f, 'w'); 13 gzwrite($h, b'The first string.'); 14 var_dump(gzrewind($h)); 15 gzwrite($h, b'The second string.'); 16 gzclose($h); 18 $h = gzopen($f, 'r'); 19 gzpassthru($h); 20 gzclose($h);
|
H A D | gzeof_basic.phpt | 17 $h = gzopen($f, 'r'); 18 var_dump(gzeof($h)); 19 gzpassthru($h); 20 var_dump(gzeof($h)); 21 gzclose($h); 24 $h = gzopen($f, 'r'); 26 gzread($h, 50)."\n"; 27 var_dump(gzeof($h)); 30 var_dump(gzeof($h)); 32 gzread($h, 20)."\n"; [all …]
|
H A D | gzrewind_basic2.phpt | 12 $h = gzopen($f, 'r'); 16 gzread($h, 10000); 17 var_dump(gzeof($h)); 18 var_dump(gztell($h)); 19 gzrewind($h); 20 var_dump(gzeof($h)); 21 var_dump(gztell($h)); 22 echo "first 20 characters=".gzread($h,20)."\n"; 24 gzclose($h);
|
H A D | gzseek_variation7.phpt | 12 $h = gzopen($f, 'w'); 15 gzwrite($h, $str1); 17 var_dump(gztell($h)); 21 var_dump(gzseek($h, 0, SEEK_END)); 23 var_dump(gztell($h)); 24 gzwrite($h, $str2); 26 var_dump(gztell($h)); 27 gzclose($h); 29 $h = gzopen($f, 'r'); 30 gzpassthru($h); [all …]
|
H A D | gzwrite_error2.phpt | 13 $h = gzopen($filename, 'w'); 15 var_dump(gzwrite( $h, $str, 0 ) ); 16 var_dump(gzwrite( $h, $str, -1 ) ); 17 gzclose($h); 19 $h = gzopen($filename, 'r'); 20 gzpassthru($h); 21 gzclose($h);
|
H A D | gzwrite_basic.phpt | 13 $h = gzopen($filename, 'w'); 16 var_dump(gzwrite( $h, $str ) ); 17 var_dump(gzwrite( $h, $str, $length ) ); 18 gzclose($h); 20 $h = gzopen($filename, 'r'); 21 gzpassthru($h); 22 gzclose($h);
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fopen_variation6.phpt | 17 $h = fopen($absfile, "w"); 18 fwrite($h, "This is an absolute file"); 19 fclose($h); 21 $h = fopen($relfile, "w"); 22 fwrite($h, "This is a relative file"); 23 fclose($h); 26 $h = fopen($absfile, "r", true, $ctx); 27 fpassthru($h); 28 fclose($h); 32 fpassthru($h); [all …]
|
H A D | fseek_variation3.phpt | 17 $h = fopen($outputfile, "wb+"); 19 fwrite($h, chr(0x30 + $i)); 23 var_dump(fseek($h, -4, SEEK_SET)); 24 echo "after -4 seek: ".bin2hex(fread($h,1))."\n"; 25 var_dump(fseek($h, -1, SEEK_CUR)); 27 var_dump(fseek($h, -20, SEEK_CUR)); 31 var_dump(fseek($h, 16, SEEK_SET)); 32 fwrite($h, b"end"); 33 fseek($h ,0, SEEK_SET); 34 $data = fread($h, 4096); [all …]
|
H A D | feof_basic.phpt | 20 fclose($h); 29 while (!feof($h)) { 35 fclose($h); 43 var_dump(feof($h)); 48 fread($h, 100); 49 var_dump(feof($h)); 55 var_dump(feof($h)); 59 var_dump(feof($h)); 63 var_dump(feof($h)); 66 fclose($h); [all …]
|
/PHP-5.5/ext/mbstring/ |
H A D | config.w32 | 14 CHECK_HEADER_ADD_INCLUDE("mbfl/mbfilter.h", "CFLAGS_LIBMBFL", PHP_LIBMBFL + "\\include") && 24 …PHP_INSTALL_HEADERS("ext/mbstring", "mbstring.h oniguruma/oniguruma.h php_mbregex.h php_onig_compa… 33 FSO.CopyFile("ext\\mbstring\\libmbfl\\config.h.w32", 34 "ext\\mbstring\\libmbfl\\config.h", true); 67 …h oniguruma/oniguruma.h php_mbregex.h php_onig_compat.h libmbfl/config.h libmbfl/mbfl/eaw_table.h … 77 FSO.CopyFile("ext\\mbstring\\oniguruma\\win32\\config.h", 78 "ext\\mbstring\\oniguruma\\config.h", true); 81 AC_DEFINE('HAVE_STDARG_PROTOTYPES', 1, 'have stdarg.h'); 98 PHP_INSTALL_HEADERS("ext/mbstring", "php_mbregex.h");
|
/PHP-5.5/ext/sockets/ |
H A D | config.m4 | 13 #include <sys/types.h> 14 #include <sys/socket.h>], [struct cmsghdr s; s], ac_cv_cmsghdr=yes, ac_cv_cmsghdr=no) 22 AC_CHECK_HEADERS([netdb.h netinet/tcp.h sys/un.h sys/sockio.h errno.h]) 24 #include <sys/types.h> 25 #include <sys/socket.h> 35 #include <sys/socket.h> 36 #include <sys/types.h> 37 #include <netdb.h> 50 #include <netdb.h> 60 PHP_INSTALL_HEADERS([ext/sockets/], [php_sockets.h])
|
/PHP-5.5/TSRM/ |
H A D | configure.in | 8 AM_CONFIG_HEADER(tsrm_config.h) 27 utime.h \ 28 dirent.h \ 29 stdarg.h \ 30 alloca.h \ 31 unistd.h \ 32 limits.h
|
/PHP-5.5/ext/date/tests/ |
H A D | bug27719.phpt | 11 echo "$a ".date("m/d/y h:i:s\n",$a); 12 echo "$b ".date("m/d/y h:i:s\n",$b); 13 echo "$c ".date("m/d/y h:i:s\n",$c); 19 echo "$a ".date("m/d/y h:i:s\n",$a); 20 echo "$b ".date("m/d/y h:i:s\n",$b); 21 echo "$c ".date("m/d/y h:i:s\n",$c); 27 echo "$a ".date("m/d/y h:i:s\n",$a); 28 echo "$b ".date("m/d/y h:i:s\n",$b); 29 echo "$c ".date("m/d/y h:i:s\n",$c); 35 echo "$a ".date("m/d/y h:i:s\n",$a); [all …]
|
/PHP-5.5/ext/bcmath/libbcmath/ |
H A D | config.h.in | 1 /* config.h.in. Generated automatically from configure.in by autoheader. */ 6 /* Define to `unsigned' if <sys/types.h> doesn't define. */ 12 /* Define to `size_t' if <sys/types.h> and <stddef.h> don't define. */ 15 /* Define if you have the <lib.h> header file. */ 18 /* Define if you have the <limits.h> header file. */ 21 /* Define if you have the <stdarg.h> header file. */ 24 /* Define if you have the <stddef.h> header file. */ 27 /* Define if you have the <stdlib.h> header file. */ 30 /* Define if you have the <string.h> header file. */ 33 /* Define if you have the <unistd.h> header file. */
|
/PHP-5.5/ext/spl/tests/ |
H A D | heap_008.phpt | 5 $h = new SplMaxHeap(); 7 $h->insert(1); 8 $h->insert(5); 9 $h->insert(0); 10 $h->insert(4); 12 var_dump($h);
|
H A D | heap_004.phpt | 11 $h = new myHeap; 14 $h->insert(1); 16 $h->insert(2); 18 $h->insert(3); 25 $h->insert(4); 32 var_dump($h->extract()); 37 var_dump($h->extract()); 43 $h->recoverFromCorruption(); 46 var_dump($h->extract()); 51 var_dump($h->extract());
|
H A D | pqueue_002.phpt | 11 $h = new myPQueue; 14 $h->insert(1, 1); 16 $h->insert(2, 1); 18 $h->insert(3, 1); 25 $h->insert(4, 1); 32 var_dump($h->extract()); 37 var_dump($h->extract()); 43 $h->recoverFromCorruption(); 46 var_dump($h->extract()); 51 var_dump($h->extract());
|
/PHP-5.5/ |
H A D | .gitignore | 45 acconfig.h 51 confdefs.h 52 config.h 55 config.h.in 91 php_version.h 94 stamp-h 99 stamp-h.in 101 TSRM/tsrm_config.h 102 Zend/zend_config.h 114 main/php_config.h [all …]
|
/PHP-5.5/ext/opcache/ |
H A D | config.m4 | 16 #include <sys/types.h> 17 #include <sys/wait.h> 18 #include <sys/ipc.h> 19 #include <sys/shm.h> 20 #include <unistd.h> 21 #include <string.h> 89 #include <unistd.h> 90 #include <string.h> 142 #include <fcntl.h> 197 #include <fcntl.h> [all …]
|
/PHP-5.5/ext/ereg/regex/ |
H A D | regex.mak | 185 ".\cname.h"\ 187 ".\regex.h"\ 189 ".\utils.h"\ 199 ".\cname.h"\ 201 ".\regex.h"\ 203 ".\utils.h"\ 219 ".\regex.h"\ 220 ".\utils.h"\ 230 ".\regex.h"\ 231 ".\utils.h"\ [all …]
|