diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:12:55 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:12:55 +0200 |
commit | 7f6387b59ae1b5d642b0d05afbb14cab07061a9a (patch) | |
tree | d09f6f4674163b6a57d8805408877b05294f6931 /ext | |
parent | 3f72c77ce47ee0906905b83161d9c1d24e425d89 (diff) | |
download | php-git-7f6387b59ae1b5d642b0d05afbb14cab07061a9a.tar.gz |
Trim trailing whitespace in source code files
Diffstat (limited to 'ext')
273 files changed, 3452 insertions, 3455 deletions
diff --git a/ext/bcmath/libbcmath/FAQ b/ext/bcmath/libbcmath/FAQ index 6499b1cffb..1b06b301ba 100644 --- a/ext/bcmath/libbcmath/FAQ +++ b/ext/bcmath/libbcmath/FAQ @@ -1,4 +1,4 @@ -BCMATH FAQ: +BCMATH FAQ: 1) Why BCMATH? diff --git a/ext/bcmath/libbcmath/configure b/ext/bcmath/libbcmath/configure index 026fd039c7..0b74129785 100644 --- a/ext/bcmath/libbcmath/configure +++ b/ext/bcmath/libbcmath/configure @@ -1,7 +1,7 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 +# Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation @@ -1236,7 +1236,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then cat >> confdefs.h <<EOF #define $ac_tr_hdr 1 EOF - + else echo "$ac_t""no" 1>&6 fi @@ -1312,7 +1312,7 @@ fi echo "$ac_t""$ac_cv_c_const" 1>&6 if test $ac_cv_c_const = no; then cat >> confdefs.h <<\EOF -#define const +#define const EOF fi diff --git a/ext/bcmath/libbcmath/install-sh b/ext/bcmath/libbcmath/install-sh index ab74c882e9..9ad48a82cc 100644 --- a/ext/bcmath/libbcmath/install-sh +++ b/ext/bcmath/libbcmath/install-sh @@ -103,7 +103,7 @@ fi if [ x"$dir_arg" != x ]; then dst=$src src="" - + if [ -d $dst ]; then instcmd=: else @@ -112,7 +112,7 @@ if [ x"$dir_arg" != x ]; then else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad +# might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f $src -o -d $src ] @@ -122,7 +122,7 @@ else echo "install: $src does not exist" exit 1 fi - + if [ x"$dst" = x ] then echo "install: no destination specified" @@ -150,7 +150,7 @@ dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then -defaultIFS=' +defaultIFS=' ' IFS="${IFS-${defaultIFS}}" @@ -189,17 +189,17 @@ else # If we're going to rename the final executable, determine the name now. - if [ x"$transformarg" = x ] + if [ x"$transformarg" = x ] then dstfile=`basename $dst` else - dstfile=`basename $dst $transformbasename | + dstfile=`basename $dst $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename - if [ x"$dstfile" = x ] + if [ x"$dstfile" = x ] then dstfile=`basename $dst` else @@ -230,7 +230,7 @@ else # Now rename the file to the real destination. $doit $rmcmd -f $dstdir/$dstfile && - $doit $mvcmd $dsttmp $dstdir/$dstfile + $doit $mvcmd $dsttmp $dstdir/$dstfile fi && diff --git a/ext/bcmath/libbcmath/mkinstalldirs b/ext/bcmath/libbcmath/mkinstalldirs index cc8783edce..fef1eb9418 100644 --- a/ext/bcmath/libbcmath/mkinstalldirs +++ b/ext/bcmath/libbcmath/mkinstalldirs @@ -7,7 +7,7 @@ errstatus=0 -for file in ${1+"$@"} ; do +for file in ${1+"$@"} ; do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift diff --git a/ext/bcmath/package.xml b/ext/bcmath/package.xml index 3ef9773fe7..1b6072b60c 100644 --- a/ext/bcmath/package.xml +++ b/ext/bcmath/package.xml @@ -12,7 +12,7 @@ </maintainer> </maintainers> <description> -For arbitrary precision mathematics PHP offers the Binary Calculator +For arbitrary precision mathematics PHP offers the Binary Calculator which supports numbers of any size and precision, represented as strings. </description> <license>PHP</license> diff --git a/ext/bz2/config.m4 b/ext/bz2/config.m4 index 55917c07f4..9a4851e0d1 100644 --- a/ext/bz2/config.m4 +++ b/ext/bz2/config.m4 @@ -24,7 +24,7 @@ if test "$PHP_BZ2" != "no"; then AC_MSG_ERROR(Please reinstall the BZip2 distribution) fi - PHP_CHECK_LIBRARY(bz2, BZ2_bzerror, + PHP_CHECK_LIBRARY(bz2, BZ2_bzerror, [ PHP_ADD_INCLUDE($BZIP_DIR/include) PHP_ADD_LIBRARY_WITH_PATH(bz2, $BZIP_DIR/$PHP_LIBDIR, BZ2_SHARED_LIBADD) diff --git a/ext/bz2/package.xml b/ext/bz2/package.xml index b1b3688b56..996ebf9640 100644 --- a/ext/bz2/package.xml +++ b/ext/bz2/package.xml @@ -33,5 +33,5 @@ Bz2 is an extension to create and parse bzip2 compressed data. <file role="doc">php_bz2.h</file> <file role="src">bz2.c</file> </dir> - </filelist> + </filelist> </package> diff --git a/ext/calendar/calendar.c b/ext/calendar/calendar.c index 7932cda31d..2857e77055 100644 --- a/ext/calendar/calendar.c +++ b/ext/calendar/calendar.c @@ -278,13 +278,13 @@ static void _php_cal_info(int cal, zval *ret) add_index_string(&months, i, calendar->month_name_long[i]); add_index_string(&smonths, i, calendar->month_name_short[i]); } - + add_assoc_zval(ret, "months", &months); add_assoc_zval(ret, "abbrevmonths", &smonths); add_assoc_long(ret, "maxdaysinmonth", calendar->max_days_in_month); add_assoc_string(ret, "calname", calendar->name); add_assoc_string(ret, "calsymbol", calendar->symbol); - + } /* {{{ proto array cal_info([int calendar]) @@ -512,21 +512,21 @@ PHP_FUNCTION(juliantojd) /* caution: the Hebrew format produces non unique result. for example both: year '5' and year '5000' produce 'ä'. -use the numeric one for calculations. +use the numeric one for calculations. */ static char *heb_number_to_chars(int n, int fl, char **ret) { char *p, old[18], *endofalafim; p = endofalafim = old; -/* - prevents the option breaking the jewish beliefs, and some other +/* + prevents the option breaking the jewish beliefs, and some other critical resources ;) */ if (n > 9999 || n < 1) { *ret = NULL; return NULL; - } + } /* alafim (thousands) case */ if (n / 1000) { diff --git a/ext/calendar/jewish.c b/ext/calendar/jewish.c index 61c3c22299..6aa8bb8a55 100644 --- a/ext/calendar/jewish.c +++ b/ext/calendar/jewish.c @@ -301,7 +301,7 @@ static int yearOffset[19] = /* names for leap (13-month) year */ char *JewishMonthNameLeap[14] = { - "", + "", "Tishri", "Heshvan", "Kislev", @@ -320,7 +320,7 @@ char *JewishMonthNameLeap[14] = /* names for regular year */ char *JewishMonthName[14] = { - "", + "", "Tishri", "Heshvan", "Kislev", @@ -339,7 +339,7 @@ char *JewishMonthName[14] = /* names for leap (13-month) year */ char *JewishMonthHebNameLeap[14] = { - "", + "", "\xFA\xF9\xF8\xE9", "\xE7\xF9\xE5\xEF", "\xEB\xF1\xEC\xE5", @@ -358,7 +358,7 @@ char *JewishMonthHebNameLeap[14] = /* names for regular year */ char *JewishMonthHebName[14] = { - "", + "", "\xFA\xF9\xF8\xE9", "\xE7\xF9\xE5\xEF", "\xEB\xF1\xEC\xE5", diff --git a/ext/calendar/package.xml b/ext/calendar/package.xml index 82d0675290..4b4514d1c1 100644 --- a/ext/calendar/package.xml +++ b/ext/calendar/package.xml @@ -36,7 +36,7 @@ standard it is based on is the Julian Day Count. The Julian Day Count is a count of days starting from January 1st, 4713 B.C. To convert between calendar systems, you must first convert to Julian Day Count, then to the calendar system of your choice. Julian Day Count is very -different from the Julian Calendar! +different from the Julian Calendar! </description> <license>PHP</license> <release> diff --git a/ext/calendar/tests/skipif.inc b/ext/calendar/tests/skipif.inc index de8e4ae930..71cdc73630 100644 --- a/ext/calendar/tests/skipif.inc +++ b/ext/calendar/tests/skipif.inc @@ -1,4 +1,4 @@ -<?php -if(!extension_loaded("calendar")) - print "skip - CALENDAR extension not available"; +<?php +if(!extension_loaded("calendar")) + print "skip - CALENDAR extension not available"; ?> diff --git a/ext/com_dotnet/README b/ext/com_dotnet/README index 0d9db40d98..6cf14c0bea 100644 --- a/ext/com_dotnet/README +++ b/ext/com_dotnet/README @@ -55,12 +55,12 @@ Sample Script: <?php $word = new COM("word.application"); -print "Loaded Word, version {$word->Version}\n"; -$word->Visible = 1; -$word->Documents->Add(); -$word->Selection->TypeText("This is a test..."); -$word->Documents[1]->SaveAs("Useless test.doc"); -$word->Quit(); +print "Loaded Word, version {$word->Version}\n"; +$word->Visible = 1; +$word->Documents->Add(); +$word->Selection->TypeText("This is a test..."); +$word->Documents[1]->SaveAs("Useless test.doc"); +$word->Quit(); ?> TODO: diff --git a/ext/ctype/ctype.xml b/ext/ctype/ctype.xml index 0e7c714b70..312c195e05 100644 --- a/ext/ctype/ctype.xml +++ b/ext/ctype/ctype.xml @@ -9,7 +9,7 @@ current locale. </para> <para> - When called with an integer argument these functions + When called with an integer argument these functions behave exactly like their C counterparts. </para> <para> @@ -19,7 +19,7 @@ requested criteria. </para> <para> - Passing anything else but a string or integer will + Passing anything else but a string or integer will return false immediately. </para> </partintro> diff --git a/ext/ctype/package.xml b/ext/ctype/package.xml index 62a9812be7..adf9fac624 100644 --- a/ext/ctype/package.xml +++ b/ext/ctype/package.xml @@ -12,8 +12,8 @@ </maintainer> </maintainers> <description> -The functions provided by this extension check whether a -character or string falls into a certain character class +The functions provided by this extension check whether a +character or string falls into a certain character class according to the current locale. </description> <license>PHP</license> diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index a7c2238ae8..1ad688f7aa 100644 --- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -1,5 +1,5 @@ dnl -dnl $Id$ +dnl $Id$ dnl PHP_ARG_WITH(curl, for cURL support, @@ -64,18 +64,18 @@ if test "$PHP_CURL" != "no"; then fi PHP_EVAL_LIBLINE($CURL_LIBS, CURL_SHARED_LIBADD) PHP_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/$PHP_LIBDIR, CURL_SHARED_LIBADD) - + AC_MSG_CHECKING([for SSL support in libcurl]) CURL_SSL=`$CURL_CONFIG --feature | $EGREP SSL` if test "$CURL_SSL" = "SSL"; then AC_MSG_RESULT([yes]) AC_DEFINE([HAVE_CURL_SSL], [1], [Have cURL with SSL support]) - + save_CFLAGS="$CFLAGS" CFLAGS="`$CURL_CONFIG --cflags`" save_LDFLAGS="$LDFLAGS" LDFLAGS="`$CURL_CONFIG --libs`" - + AC_PROG_CPP AC_MSG_CHECKING([for openssl support in libcurl]) AC_TRY_RUN([ @@ -103,7 +103,7 @@ int main(int argc, char *argv[]) ], [ AC_MSG_RESULT([no]) ]) - + AC_MSG_CHECKING([for gnutls support in libcurl]) AC_TRY_RUN([ #include <curl/curl.h> @@ -111,7 +111,7 @@ int main(int argc, char *argv[]) int main(int argc, char *argv[]) { curl_version_info_data *data = curl_version_info(CURLVERSION_NOW); - + if (data && data->ssl_version && *data->ssl_version) { const char *ptr = data->ssl_version; @@ -130,15 +130,15 @@ int main(int argc, char *argv[]) ], [ AC_MSG_RESULT([no]) ]) - + CFLAGS="$save_CFLAGS" LDFLAGS="$save_LDFLAGS" else AC_MSG_RESULT([no]) fi - PHP_CHECK_LIBRARY(curl,curl_easy_perform, - [ + PHP_CHECK_LIBRARY(curl,curl_easy_perform, + [ AC_DEFINE(HAVE_CURL,1,[ ]) ],[ AC_MSG_ERROR(There is something wrong. Please check config.log for more information.) diff --git a/ext/curl/config.w32 b/ext/curl/config.w32 index 112e5ea8f4..814c7ada74 100644 --- a/ext/curl/config.w32 +++ b/ext/curl/config.w32 @@ -19,7 +19,7 @@ if (PHP_CURL != "no") { SETUP_OPENSSL("curl", PHP_CURL) > 0 && CHECK_LIB("winmm.lib", "curl", PHP_CURL) && CHECK_LIB("wldap32.lib", "curl", PHP_CURL) && - (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "curl", PHP_CURL))) || + (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "curl", PHP_CURL))) || (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "curl", PHP_CURL)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))) && !isNaN(ver_num) && (ver_num <= parseInt("0x073b00") || ver_num > parseInt("0x073b00") && diff --git a/ext/curl/package.xml b/ext/curl/package.xml index f54abaf872..24f62b1f66 100644 --- a/ext/curl/package.xml +++ b/ext/curl/package.xml @@ -12,13 +12,13 @@ </maintainer> </maintainers> <description> -PHP supports libcurl, a library created by Daniel Stenberg, -that allows you to connect and communicate to many different -types of servers with many different types of protocols. -libcurl currently supports the http, https, ftp, gopher, -telnet, dict, file, and ldap protocols. libcurl also supports -HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this -can also be done with PHP's ftp extension), HTTP form based +PHP supports libcurl, a library created by Daniel Stenberg, +that allows you to connect and communicate to many different +types of servers with many different types of protocols. +libcurl currently supports the http, https, ftp, gopher, +telnet, dict, file, and ldap protocols. libcurl also supports +HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this +can also be done with PHP's ftp extension), HTTP form based upload, proxies, cookies, and user+password authentication. </description> <license>PHP</license> diff --git a/ext/curl/tests/responder/get.php b/ext/curl/tests/responder/get.php index 60aafc03d4..f9269745f6 100644 --- a/ext/curl/tests/responder/get.php +++ b/ext/curl/tests/responder/get.php @@ -21,7 +21,7 @@ echo $_COOKIE['foo']; break; case 'encoding': - echo $_SERVER['HTTP_ACCEPT_ENCODING']; + echo $_SERVER['HTTP_ACCEPT_ENCODING']; break; case 'contenttype': header('Content-Type: text/plain;charset=utf-8'); diff --git a/ext/curl/tests/server.inc b/ext/curl/tests/server.inc index 27f0cbbc84..124e0f898c 100644 --- a/ext/curl/tests/server.inc +++ b/ext/curl/tests/server.inc @@ -8,7 +8,7 @@ function curl_cli_server_start() { if(getenv('PHP_CURL_HTTP_REMOTE_SERVER')) { return getenv('PHP_CURL_HTTP_REMOTE_SERVER'); } - + $php_executable = getenv('TEST_PHP_EXECUTABLE'); $doc_root = __DIR__; $router = "responder/get.php"; @@ -36,7 +36,7 @@ function curl_cli_server_start() { $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root); } - + // note: even when server prints 'Listening on localhost:8964...Press Ctrl-C to quit.' // it might not be listening yet...need to wait until fsockopen() call returns $error = "Unable to connect to server\n"; diff --git a/ext/date/config0.m4 b/ext/date/config0.m4 index ca895379f2..efc54262bd 100644 --- a/ext/date/config0.m4 +++ b/ext/date/config0.m4 @@ -5,7 +5,7 @@ sinclude(ext/date/lib/timelib.m4) sinclude(lib/timelib.m4) PHP_DATE_CFLAGS="-I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1" -timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c +timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c" PHP_NEW_EXTENSION(date, php_date.c $timelib_sources, no,, $PHP_DATE_CFLAGS) diff --git a/ext/dba/README b/ext/dba/README index a79413f100..3d23fb914c 100755 --- a/ext/dba/README +++ b/ext/dba/README @@ -1,54 +1,54 @@ -These functions build the foundation for accessing Berkeley DB style -databases. +These functions build the foundation for accessing Berkeley DB style +databases. This is a general abstraction layer for several file-based databases. As -such, functionality is limited to a common subset of features supported -by modern databases such as Sleepycat Software's DB2. (This is not to be -confused with IBM's DB2 software, which is supported through the ODBC -functions.) +such, functionality is limited to a common subset of features supported +by modern databases such as Sleepycat Software's DB2. (This is not to be +confused with IBM's DB2 software, which is supported through the ODBC +functions.) This extensions allows to work with the following databases: dbm DBM is the oldest (original) type of Berkeley DB style databases. - You should avoid it, if possible. We do not support the - compatibility functions built into DB2 and gdbm, because they are - only compatible on the source code level, but cannot handle the - original dbm format. -ndbm NDBM is a newer type and more flexible than dbm. It still has - most of the arbitrary limits of dbm (therefore it is deprecated). -gdbm GDBM is the GNU database manager. + You should avoid it, if possible. We do not support the + compatibility functions built into DB2 and gdbm, because they are + only compatible on the source code level, but cannot handle the + original dbm format. +ndbm NDBM is a newer type and more flexible than dbm. It still has + most of the arbitrary limits of dbm (therefore it is deprecated). +gdbm GDBM is the GNU database manager. db2 DB2 is Sleepycat Software's DB2. It's described as "a programmatic - toolkit that provides high-performance built-in database support - for both standalone and client/server applications. -db3 DB3 is Sleepycat Software's DB3. + toolkit that provides high-performance built-in database support + for both standalone and client/server applications. +db3 DB3 is Sleepycat Software's DB3. db4 DB4 is Sleepycat Software's DB4. This is available since PHP 5.0. -cdb CDB is "a fast, reliable, lightweight package for creating and - reading constant databases." It is from the author of qmail and - can be found at http://cr.yp.to/cdb.html. Since it is constant, - we support only reading operations. And since PHP 4.3.0 we support - writing (not updating) through the internal cdb library. -cdb_make Since PHP 4.3.0 we support creation (not updating) of cdb files - when the bundled cdb library is used. -flatfile This is available since PHP 4.3.0 for compatibility with the - deprecated dbm extension only and should be avoided. However you - may use this where files were created in this format. That happens - when configure could not find any external library. -inifile This is available since PHP 4.3.3 to be able to modify php.ini - files from within PHP scripts. When working with ini files you - can pass arrays of the form array(0=>group,1=>value_name) or - strings of the form "[group]value_name" where group is optional. - As the functions dba_firstkey() and dba_nextkey() return string - representations of the key there is a new function dba_key_split() - available since PHP 5 which allows to convert the string keys into - array keys without losing FALSE. -qdbm This is available since PHP 5.0.0. The qdbm library can be loaded - from http://qdbm.sourceforge.net. +cdb CDB is "a fast, reliable, lightweight package for creating and + reading constant databases." It is from the author of qmail and + can be found at http://cr.yp.to/cdb.html. Since it is constant, + we support only reading operations. And since PHP 4.3.0 we support + writing (not updating) through the internal cdb library. +cdb_make Since PHP 4.3.0 we support creation (not updating) of cdb files + when the bundled cdb library is used. +flatfile This is available since PHP 4.3.0 for compatibility with the + deprecated dbm extension only and should be avoided. However you + may use this where files were created in this format. That happens + when configure could not find any external library. +inifile This is available since PHP 4.3.3 to be able to modify php.ini + files from within PHP scripts. When working with ini files you + can pass arrays of the form array(0=>group,1=>value_name) or + strings of the form "[group]value_name" where group is optional. + As the functions dba_firstkey() and dba_nextkey() return string + representations of the key there is a new function dba_key_split() + available since PHP 5 which allows to convert the string keys into + array keys without losing FALSE. +qdbm This is available since PHP 5.0.0. The qdbm library can be loaded + from http://qdbm.sourceforge.net. After configuring and compiling PHP you must execute the following test -from commandline: - php run-tests.php ext/dba. -This shows whether your combination of handlers works. Most problematic -are dbm and ndbm which conflict with many installations. The reason for +from commandline: + php run-tests.php ext/dba. +This shows whether your combination of handlers works. Most problematic +are dbm and ndbm which conflict with many installations. The reason for this is that on several systems these libraries are part of more than one -other library. The configuration test only prevents you from configuring +other library. The configuration test only prevents you from configuring malfaunctioning single handlers but not combinations.
\ No newline at end of file diff --git a/ext/dba/config.m4 b/ext/dba/config.m4 index 740cf14e39..ced02de38a 100644 --- a/ext/dba/config.m4 +++ b/ext/dba/config.m4 @@ -152,11 +152,11 @@ if test "$PHP_GDBM" != "no"; then if test -n "$THIS_INCLUDE"; then PHP_CHECK_LIBRARY(gdbm, gdbm_open, [ AC_DEFINE_UNQUOTED(GDBM_INCLUDE_FILE, "$THIS_INCLUDE", [ ]) - AC_DEFINE(DBA_GDBM, 1, [ ]) + AC_DEFINE(DBA_GDBM, 1, [ ]) THIS_LIBS=gdbm ], [], [-L$THIS_PREFIX/$PHP_LIBDIR]) fi - + PHP_DBA_STD_ASSIGN PHP_DBA_STD_CHECK PHP_DBA_STD_ATTACH @@ -177,12 +177,12 @@ if test "$PHP_NDBM" != "no"; then break fi done - + if test -n "$THIS_INCLUDE"; then for LIB in ndbm db1 c; do PHP_CHECK_LIBRARY($LIB, dbm_open, [ AC_DEFINE_UNQUOTED(NDBM_INCLUDE_FILE, "$THIS_INCLUDE", [ ]) - AC_DEFINE(DBA_NDBM, 1, [ ]) + AC_DEFINE(DBA_NDBM, 1, [ ]) THIS_LIBS=$LIB ], [], [-L$THIS_PREFIX/$PHP_LIBDIR]) if test -n "$THIS_LIBS"; then @@ -291,7 +291,7 @@ AC_DEFUN([PHP_DBA_DB_CHECK],[ ]) fi if test -n "$THIS_LIBS"; then - AC_DEFINE(DBA_DB$1, 1, [ ]) + AC_DEFINE(DBA_DB$1, 1, [ ]) if test -n "$THIS_INCLUDE"; then AC_DEFINE_UNQUOTED(DB$1_INCLUDE_FILE, "$THIS_INCLUDE", [ ]) fi @@ -533,7 +533,7 @@ if test "$PHP_DBM" != "no"; then AC_DEFINE_UNQUOTED(DBM_VERSION, "DBM", [ ]) AC_MSG_RESULT(no) fi - AC_DEFINE(DBA_DBM, 1, [ ]) + AC_DEFINE(DBA_DBM, 1, [ ]) THIS_LIBS=$LIB ], [], [-L$THIS_PREFIX/$PHP_LIBDIR]) if test -n "$THIS_LIBS"; then @@ -541,7 +541,7 @@ if test "$PHP_DBM" != "no"; then fi done fi - + PHP_DBA_STD_ASSIGN PHP_DBA_STD_CHECK PHP_DBA_STD_ATTACH @@ -587,7 +587,7 @@ elif test "$PHP_CDB" != "no"; then for LIB in cdb c; do PHP_CHECK_LIBRARY($LIB, cdb_read, [ AC_DEFINE_UNQUOTED(CDB_INCLUDE_FILE, "$THIS_INCLUDE", [ ]) - AC_DEFINE(DBA_CDB, 1, [ ]) + AC_DEFINE(DBA_CDB, 1, [ ]) THIS_LIBS=$LIB ], [], [-L$THIS_PREFIX/$PHP_LIBDIR]) if test -n "$THIS_LIBS"; then @@ -620,7 +620,7 @@ PHP_DBA_STD_RESULT(FlatFile, FlatFile) dnl dnl Extension setup -dnl +dnl AC_MSG_CHECKING([whether to enable DBA interface]) if test "$HAVE_DBA" = "1"; then if test "$ext_shared" = "yes"; then diff --git a/ext/dba/install_cdb.sh b/ext/dba/install_cdb.sh index ce5f3cc856..86961614b0 100755 --- a/ext/dba/install_cdb.sh +++ b/ext/dba/install_cdb.sh @@ -1,10 +1,10 @@ #! /bin/sh # You can use this script if you want to use an external cdb lib. If you -# compile php using --with-cdb the internal functions will be used and no +# compile php using --with-cdb the internal functions will be used and no # external library is used so that this script is not necessary. # -# cdb-0.75 lacks support for installing header files and creating a +# cdb-0.75 lacks support for installing header files and creating a # library which programs can link against. This shell script fills # the gap. # diff --git a/ext/dom/config.m4 b/ext/dom/config.m4 index 5ea62ad24c..ea3cb03793 100644 --- a/ext/dom/config.m4 +++ b/ext/dom/config.m4 @@ -12,7 +12,7 @@ fi if test "$PHP_DOM" != "no"; then - if test "$PHP_LIBXML" = "no"; then + if test "$PHP_LIBXML" = "no"; then AC_MSG_ERROR([DOM extension requires LIBXML extension, add --enable-libxml]) fi @@ -27,7 +27,7 @@ if test "$PHP_DOM" != "no"; then nodelist.c text.c comment.c domconfiguration.c \ domimplementationsource.c entityreference.c \ notation.c xpath.c dom_iterators.c \ - typeinfo.c domerror.c domlocator.c namednodemap.c userdatahandler.c], + typeinfo.c domerror.c domlocator.c namednodemap.c userdatahandler.c], $ext_shared) PHP_SUBST(DOM_SHARED_LIBADD) PHP_INSTALL_HEADERS([ext/dom/xml_common.h]) diff --git a/ext/dom/document.c b/ext/dom/document.c index fdb71f6738..c9e1802f78 100644 --- a/ext/dom/document.c +++ b/ext/dom/document.c @@ -2038,7 +2038,7 @@ static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ RETURN_FALSE; } - + ctxt->vctxt.error = php_libxml_ctx_error; ctxt->vctxt.warning = php_libxml_ctx_warning; if (ctxt->sax != NULL) { @@ -2247,7 +2247,7 @@ PHP_METHOD(domdocument, registerNodeClass) dom_set_doc_classmap(intern->document, basece, ce); RETURN_TRUE; } - + zend_throw_error(NULL, "Class %s is not derived from %s.", ZSTR_VAL(ce->name), ZSTR_VAL(basece->name)); RETURN_FALSE; } diff --git a/ext/dom/examples/dom1.php b/ext/dom/examples/dom1.php index 8ea367458d..ca55739c8a 100644 --- a/ext/dom/examples/dom1.php +++ b/ext/dom/examples/dom1.php @@ -41,7 +41,7 @@ echo "--------- creating a new attribute\n"; //$attr = $dom->createAttribute("src", "picture.gif"); //print_r($attr); -//$rootnode->set_attributeNode($attr); +//$rootnode->set_attributeNode($attr); $attr = $rootnode->setAttribute("src", "picture.gif"); $attr = $rootnode->getAttribute("src"); print_r($attr); diff --git a/ext/dom/examples/note-invalid.xml b/ext/dom/examples/note-invalid.xml index 58d4e65044..0f4611c6a2 100644 --- a/ext/dom/examples/note-invalid.xml +++ b/ext/dom/examples/note-invalid.xml @@ -6,4 +6,4 @@ <heading>Reminder</heading> <body>Don't forget the meeting tonight!</body> <footer>Or I'll clobber you!</footer> -</note> +</note> diff --git a/ext/dom/examples/note.xml b/ext/dom/examples/note.xml index 49614a1b52..f580ef1c25 100644 --- a/ext/dom/examples/note.xml +++ b/ext/dom/examples/note.xml @@ -5,4 +5,4 @@ <from>Shane</from> <heading>Reminder</heading> <body>Don't forget the meeting tonight!</body> -</note> +</note> diff --git a/ext/dom/tests/domdocumentload_utilities.php b/ext/dom/tests/domdocumentload_utilities.php index efd1e5a1a5..d40f7639ff 100644 --- a/ext/dom/tests/domdocumentload_utilities.php +++ b/ext/dom/tests/domdocumentload_utilities.php @@ -1,13 +1,13 @@ <?php function libxml_options_to_int($libxmlOptions) { - + $defined_constants = get_defined_constants(true); $env_array = explode('|', $libxmlOptions); $libxml_constants = array_intersect_key($defined_constants['libxml'], array_flip($env_array)); $sum = 0; - foreach($libxml_constants as $value) { + foreach($libxml_constants as $value) { $sum = $sum|$value; } diff --git a/ext/dom/tests/domdocumentloadxml_test_method.php b/ext/dom/tests/domdocumentloadxml_test_method.php index 7c4be85cf1..502a111178 100644 --- a/ext/dom/tests/domdocumentloadxml_test_method.php +++ b/ext/dom/tests/domdocumentloadxml_test_method.php @@ -4,7 +4,7 @@ include(dirname(__FILE__) . '/domdocumentload_utilities.php'); $doc = new DOMDocument(); $libxml_options = libxml_options_to_int(getenv('LOAD_OPTIONS')); -$result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')), +$result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')), $libxml_options); $expectedResult = (bool) getenv('EXPECTED_RESULT'); diff --git a/ext/dom/tests/domdocumentloadxml_test_method_savexml.php b/ext/dom/tests/domdocumentloadxml_test_method_savexml.php index 550219fb78..a5e5ca782c 100644 --- a/ext/dom/tests/domdocumentloadxml_test_method_savexml.php +++ b/ext/dom/tests/domdocumentloadxml_test_method_savexml.php @@ -4,7 +4,7 @@ include(dirname(__FILE__) . '/domdocumentload_utilities.php'); $doc = new DOMDocument(); $libxml_options = libxml_options_to_int(getenv('LOAD_OPTIONS')); -$result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')), +$result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')), $libxml_options); $expectedResult = (bool) getenv('EXPECTED_RESULT'); diff --git a/ext/dom/tests/note.xml b/ext/dom/tests/note.xml index 49614a1b52..f580ef1c25 100644 --- a/ext/dom/tests/note.xml +++ b/ext/dom/tests/note.xml @@ -5,4 +5,4 @@ <from>Shane</from> <heading>Reminder</heading> <body>Don't forget the meeting tonight!</body> -</note> +</note> diff --git a/ext/enchant/package.xml b/ext/enchant/package.xml index 1012839382..26b79f4950 100755 --- a/ext/enchant/package.xml +++ b/ext/enchant/package.xml @@ -7,7 +7,7 @@ API for many spell libraries: - aspell/pspell (intended to replace ispell) - hspell (hebrew) -- ispell +- ispell - myspell/hunspell (OpenOffice project, mozilla) - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A plugin system allows to add custom spell support. diff --git a/ext/exif/package.xml b/ext/exif/package.xml index 68ba9c1bbf..ecb7c40562 100644 --- a/ext/exif/package.xml +++ b/ext/exif/package.xml @@ -18,8 +18,8 @@ </maintainer> </maintainers> <description> -The EXIF functions provide access to information stored in headers -of JPEG and TIFF images. This way you can read meta data generated +The EXIF functions provide access to information stored in headers +of JPEG and TIFF images. This way you can read meta data generated by digital cameras and certain image processing applications. </description> <license>PHP</license> diff --git a/ext/ext_skel_win32.php b/ext/ext_skel_win32.php index 770c6f48bb..ba44ae6089 100644 --- a/ext/ext_skel_win32.php +++ b/ext/ext_skel_win32.php @@ -7,12 +7,12 @@ if (php_sapi_name() != "cli") { } /* This script can be used on Win32 systems - + 1) Make sure you have CygWin installed 2) Adjust the $cygwin_path to match your installation 3) Change the environment cariable PATHEXT to include .PHP 4) run ext_skel --extname=... - the first time you run this script you will be asked to + the first time you run this script you will be asked to associate it with a program. chooses the CLI version of php. */ @@ -39,7 +39,7 @@ $fp = fopen("$extname/$extname.php", "rb"); if ($fp) { $php_file = fread($fp, filesize("$extname/$extname.php")); fclose($fp); - + $php_file = str_replace("dl('", "dl('php_", $php_file); $fp = fopen("$extname/$extname.php", "wb"); if ($fp) { diff --git a/ext/fileinfo/package.xml b/ext/fileinfo/package.xml index a274e47161..2129336b61 100644 --- a/ext/fileinfo/package.xml +++ b/ext/fileinfo/package.xml @@ -12,10 +12,10 @@ </maintainer> </maintainers> <description> -This extension allows retrieval of information regarding vast majority of file. +This extension allows retrieval of information regarding vast majority of file. This information may include dimensions, quality, length etc... -Additionally it can also be used to retrieve the mime type for a particular +Additionally it can also be used to retrieve the mime type for a particular file and for text files proper language encoding. </description> <license>PHP</license> diff --git a/ext/filter/docs/filter.txt b/ext/filter/docs/filter.txt index 48aae0c8d5..a5d4bce41f 100644 --- a/ext/filter/docs/filter.txt +++ b/ext/filter/docs/filter.txt @@ -6,7 +6,7 @@ Introduction We all know that you should always check input variables, but PHP does not offer really good functionality for doing this in a safe way. The Input Filter extension is meant to address this issue by implementing a set of filters and -mechanisms that users can use to safely access their input data. +mechanisms that users can use to safely access their input data. Change Log @@ -51,7 +51,7 @@ General Considerations * All flags mentioned here should be prepended with `FILTER_FLAG_` when used with PHP. - + API === mixed *input_get* (int *source*, string *name*, [, int *filter* [, mixed *filter_options*, [ string *characterset* ] ]); @@ -62,7 +62,7 @@ mixed *input_get* (int *source*, string *name*, [, int *filter* [, mixed *filter mixed *input_get_args* (array *definitions*, int *source*, [, array *data*]); Returns an array with all filtered variables defined in 'definition'. The keys are used as the name of the argument. The value can be either - an integer (flags) or an array of options. This array can contain + an integer (flags) or an array of options. This array can contain the 'filter' type, the 'flags', the 'otptions' or the 'charset' bool *input_has_variable (int *source*, string *name*); @@ -110,7 +110,7 @@ application by returning false. The constants should be prepended by `FILTER_VALIDATE_` when used with php. ================ ========== =========== ================================================== -Name Constant Return Type Description +Name Constant Return Type Description ================ ========== =========== ================================================== int INT integer Returns the input variable as an integer @@ -122,7 +122,7 @@ int INT integer Returns the input variable as an integer * max_range: Maximum number that is allowed (inclusive) * flags: A bitmask supporting the following flags: - + - ALLOW_OCTAL: allow octal numbers with the format 0nn as input too. - ALLOW_HEX: allow hexadecimal numbers with the @@ -144,7 +144,7 @@ validate_url URL string Validates an URL's format. $filter_options - an bitmask that supports the following flags: - + * SCHEME_REQUIRED: The 'schema' part of the URL needs to in the passed URL. * HOST_REQUIRED: The 'host' part of the URL @@ -180,9 +180,9 @@ set rules for this specific filter. Instead of taking an *options* array, they use this parameter for flags for the specific filter. The constants should be prepended by `FILTER_SANITIZE_` when used with php. - + ============= ================ =========== ===================================================== -Name Constant Return Type Description +Name Constant Return Type Description ============= ================ =========== ===================================================== string STRING string Returns the input variable as a string after it has been stripped of XML/HTML tags and other evil things @@ -190,7 +190,7 @@ string STRING string Returns the input variable as a strin $filter_options - an bitmask that supports the following flags: - + * NO_ENCODE_QUOTES: Prevents single and double quotes from being encoded as numerical HTML entities. @@ -228,10 +228,10 @@ encoded ENCODED string Encodes all characters outside the ra special_chars SPECIAL_CHARS string Encodes the 'special' characters ' " < > &, \0 and everything below 0x20 as numerical HTML entities. - + $filter_options - an bitmask that supports the following flags: - + * STRIP_LOW: excludes all characters < 0x20 from the allowed character list. If this is not set, then those characters are encoded as numerical HTML @@ -243,10 +243,10 @@ special_chars SPECIAL_CHARS string Encodes the 'special' characters ' " unsafe_raw UNSAFE_RAW string Returns the input variable as a string without XML/HTML being stripped from the input value. - + $filter_options - an bitmask that supports the following flags: - + * STRIP_LOW: excludes all characters < 0x20 from the allowed character list * STRIP_HIGH: excludes all characters >= 0x80 from @@ -256,7 +256,7 @@ unsafe_raw UNSAFE_RAW string Returns the input variable as a strin * ENCODE_HIGH: allows characters >= 0x80 but encodes them as numerical HTML entities * ENCODE_AMP: encodes & as & - + The flags STRIP_LOW and ENCODE_LOW are mutual exclusive, and so are STRIP_HIGH and ENCODE_HIGH. In the case they clash, the characters will be @@ -269,20 +269,20 @@ email EMAIL string Removes all characters that can not b filter does `not` validate if the e-mail address has the correct format, use the validate_email filter for that. - + url URL string Removes all characters that can not be part of a correctly formed URI. (a-z A-Z 0-9 $ - _ . + ! * ' ( ) , { } | \ ^ ~ [ ] ` < > # % " ; / ? : @ & =) This filter does `not` validate if a URI has the correct format, use the validate_url filter for that. - + number_int NUMBER_INT int Removes all characters that are [^0-9+-]. number_float NUMBER_FLOAT float Removes all characters that are [^0-9+-]. $filter_options - an bitmask that supports the following flags: - + * ALLOW_FRACTION: adds "." to the characters that are not stripped. * ALLOW_THOUSAND: adds "," to the characters that @@ -308,7 +308,7 @@ supported: The constants should be prepended by `FILTER_` when used with php. ============= =========== =========== ===================================================== -Name Constant Return Type Description +Name Constant Return Type Description ============= =========== =========== ===================================================== callback CALLBACK mixed Calls the callback function/method with the input variable's value by reference which can do filtering diff --git a/ext/ftp/package.xml b/ext/ftp/package.xml index 9b70e33229..860fb2b290 100644 --- a/ext/ftp/package.xml +++ b/ext/ftp/package.xml @@ -18,13 +18,13 @@ </maintainer> </maintainers> <description> -The functions in this extension implement client access to file -servers speaking the File Transfer Protocol (FTP) as defined in -http://www.faqs.org/rfcs/rfc959. This extension is meant for -detailed access to an FTP server providing a wide range of -control to the executing script. If you only wish to read from -or write to a file on an FTP server, consider using the ftp:// -wrapper with the filesystem functions which provide a simpler +The functions in this extension implement client access to file +servers speaking the File Transfer Protocol (FTP) as defined in +http://www.faqs.org/rfcs/rfc959. This extension is meant for +detailed access to an FTP server providing a wide range of +control to the executing script. If you only wish to read from +or write to a file on an FTP server, consider using the ftp:// +wrapper with the filesystem functions which provide a simpler and more intuitive interface. </description> <license>PHP</license> diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 1bc5f98ccf..7ed155e66d 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -356,7 +356,7 @@ dnl if test "$PHP_GD" != "no"; then PHP_NEW_EXTENSION(gd, gd.c $extra_sources, $ext_shared,, \\$(GDLIB_CFLAGS)) - if test "$GD_MODULE_TYPE" = "builtin"; then + if test "$GD_MODULE_TYPE" = "builtin"; then PHP_ADD_BUILD_DIR($ext_builddir/libgd) GDLIB_CFLAGS="-I$ext_srcdir/libgd $GDLIB_CFLAGS" GD_HEADER_DIRS="ext/gd/ ext/gd/libgd/" diff --git a/ext/gd/config.w32 b/ext/gd/config.w32 index 71cbe9c4ae..d912110fc1 100644 --- a/ext/gd/config.w32 +++ b/ext/gd/config.w32 @@ -15,8 +15,8 @@ if (PHP_GD != "no") { CHECK_HEADER_ADD_INCLUDE("png.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\libpng15") || CHECK_HEADER_ADD_INCLUDE("png.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\libpng12")) && (CHECK_LIB("libiconv_a.lib;libiconv.lib", "gd", PHP_GD) || CHECK_LIB("iconv_a.lib;iconv.lib", "gd", PHP_GD)) && - CHECK_HEADER_ADD_INCLUDE("iconv.h", "CFLAGS_GD", PHP_GD) && - (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "gd", PHP_GD) )) || + CHECK_HEADER_ADD_INCLUDE("iconv.h", "CFLAGS_GD", PHP_GD) && + (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "gd", PHP_GD) )) || (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "gd", PHP_GD)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))) && CHECK_LIB("libXpm_a.lib", "gd", PHP_GD) && CHECK_HEADER_ADD_INCLUDE("xpm.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\X11") @@ -78,7 +78,7 @@ if (PHP_GD != "no") { if (ICC_TOOLSET) { ADD_FLAG("LDFLAGS_GD", "/nodefaultlib:libcmt"); } - + PHP_INSTALL_HEADERS("", "ext/gd ext/gd/libgd" ); } else { WARNING("gd not enabled; libraries and headers not found"); diff --git a/ext/gd/tests/func.inc b/ext/gd/tests/func.inc index 1928ff696a..014d2e1644 100644 --- a/ext/gd/tests/func.inc +++ b/ext/gd/tests/func.inc @@ -18,44 +18,44 @@ function get_php_info() function get_freetype_version() { $version = 0; - + if (preg_match(',FreeType Version => (\d+\.\d+\.\d+),s', get_php_info(), $match)) { $version = $match[1]; } - + return $version; } function get_libjpeg_version() { $version = 0; - + if (preg_match(',libJPEG Version => ([a-z0-9]+),s', get_php_info(), $match)) { $version = $match[1]; } - + return $version; } function get_libpng_version() { $version = 0; - + if (preg_match(',libPNG Version => (\d+\.\d+\.\d+),s', get_php_info(), $match)) { $version = $match[1]; } - + return $version; } function get_libxpm_version() { $version = 0; - + if (preg_match(',libXpm Version => (\d+),s', get_php_info(), $match)) { $version = $match[1]; } - + return $version; } diff --git a/ext/gettext/config.m4 b/ext/gettext/config.m4 index 59a6d077de..08f5015340 100644 --- a/ext/gettext/config.m4 +++ b/ext/gettext/config.m4 @@ -16,7 +16,7 @@ if test "$PHP_GETTEXT" != "no"; then GETTEXT_LIBDIR=$GETTEXT_DIR/$PHP_LIBDIR GETTEXT_INCDIR=$GETTEXT_DIR/include - + O_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -L$GETTEXT_LIBDIR" AC_CHECK_LIB(intl, bindtextdomain, [ @@ -42,7 +42,7 @@ if test "$PHP_GETTEXT" != "no"; then AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dcngettext, [AC_DEFINE(HAVE_DCNGETTEXT, 1, [ ])]) AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, bind_textdomain_codeset, [AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET, 1, [ ])]) LDFLAGS=$O_LDFLAGS - + if test -n "$GETTEXT_LIBS"; then PHP_ADD_LIBRARY_WITH_PATH($GETTEXT_LIBS, $GETTEXT_LIBDIR, GETTEXT_SHARED_LIBADD) fi diff --git a/ext/gmp/README b/ext/gmp/README index e142e2e031..2213237f76 100644 --- a/ext/gmp/README +++ b/ext/gmp/README @@ -1,5 +1,5 @@ Arbitrary length number support with GNU MP library. Please see the PGP manual for more documentation. See also GNU MP home page at http://www.swox.com/gmp/. -GNU MP library is available under the tems of GNU LGPL +GNU MP library is available under the tems of GNU LGPL license. Please see http://www.swox.com/gmp/lgpl.html diff --git a/ext/gmp/config.m4 b/ext/gmp/config.m4 index 22cca7eaf2..1567d30cac 100644 --- a/ext/gmp/config.m4 +++ b/ext/gmp/config.m4 @@ -13,7 +13,7 @@ if test "$PHP_GMP" != "no"; then if test -z "$GMP_DIR"; then AC_MSG_ERROR(Unable to locate gmp.h) fi - + PHP_CHECK_LIBRARY(gmp, __gmpz_rootrem, [],[ AC_MSG_ERROR([GNU MP Library version 4.2 or greater required.]) diff --git a/ext/hash/README b/ext/hash/README index 97eb206d02..8c01afa6b1 100644 --- a/ext/hash/README +++ b/ext/hash/README @@ -15,5 +15,5 @@ $context = hash_init($algoname); hash_update($context, $message); $digest = hash_final($context); -hash(), hash_file(), and hash_final() each support an optional boolean parameter $raw_output which behaves in the same +hash(), hash_file(), and hash_final() each support an optional boolean parameter $raw_output which behaves in the same manner as sha1()'s optional parameter. diff --git a/ext/hash/bench.php b/ext/hash/bench.php index a433af0178..280190f767 100644 --- a/ext/hash/bench.php +++ b/ext/hash/bench.php @@ -3,7 +3,7 @@ /* This gives rather interesting results :) - + Measures on a Notebook P4M-1.7 256MB Windows 2000: sha1 0.556691 tiger160,3 0.774469 diff --git a/ext/hash/config.m4 b/ext/hash/config.m4 index 703cf14a30..1e01923e5b 100644 --- a/ext/hash/config.m4 +++ b/ext/hash/config.m4 @@ -24,7 +24,7 @@ if test "$PHP_HASH" != "no"; then AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(long, 4) AC_CHECK_SIZEOF(long long, 8) - + EXT_HASH_SOURCES="hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c \ hash_tiger.c hash_gost.c hash_snefru.c hash_whirlpool.c hash_adler32.c \ hash_crc32.c hash_fnv.c hash_joaat.c hash_sha3.c" @@ -32,7 +32,7 @@ if test "$PHP_HASH" != "no"; then php_hash_haval.h php_hash_tiger.h php_hash_gost.h php_hash_snefru.h \ php_hash_whirlpool.h php_hash_adler32.h php_hash_crc32.h \ php_hash_fnv.h php_hash_joaat.h php_hash_sha3.h" - + PHP_NEW_EXTENSION(hash, $EXT_HASH_SOURCES, $ext_shared) ifdef([PHP_INSTALL_HEADERS], [ PHP_INSTALL_HEADERS(ext/hash, $EXT_HASH_HEADERS) diff --git a/ext/hash/config.w32 b/ext/hash/config.w32 index 17711facd8..1c06a0af19 100644 --- a/ext/hash/config.w32 +++ b/ext/hash/config.w32 @@ -2,7 +2,7 @@ // vim:ft=javascript ARG_ENABLE("hash", "enable hash support", "yes"); -ARG_WITH("mhash", "mhash support", "no"); +ARG_WITH("mhash", "mhash support", "no"); if (PHP_MHASH != "no") { if (PHP_HASH == "no") { @@ -18,7 +18,7 @@ if (PHP_HASH != "no") { + "hash_adler32.c hash_crc32.c hash_joaat.c hash_fnv.c hash_sha3.c"); PHP_INSTALL_HEADERS("ext/hash/", "php_hash.h php_hash_md.h php_hash_sha.h php_hash_ripemd.h " + - "php_hash_haval.h php_hash_tiger.h php_hash_gost.h php_hash_snefru.h " + + "php_hash_haval.h php_hash_tiger.h php_hash_gost.h php_hash_snefru.h " + "php_hash_whirlpool.h php_hash_adler32.h php_hash_crc32.h php_hash_sha3.h"); } diff --git a/ext/hash/hash.c b/ext/hash/hash.c index e8c554e88d..39033d9d92 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -636,7 +636,7 @@ PHP_FUNCTION(hash_hkdf) php_error_docref(NULL, E_WARNING, "Unknown hashing algorithm: %s", ZSTR_VAL(algo)); RETURN_FALSE; } - + if (!php_hash_is_crypto(ZSTR_VAL(algo), ZSTR_LEN(algo))) { php_error_docref(NULL, E_WARNING, "Non-cryptographic hashing algorithm: %s", ZSTR_VAL(algo)); RETURN_FALSE; diff --git a/ext/hash/package.xml b/ext/hash/package.xml index 25a598a4a1..50d28a274d 100644 --- a/ext/hash/package.xml +++ b/ext/hash/package.xml @@ -89,6 +89,6 @@ Supported Algorithms: </filelist> </package> -<!-- +<!-- vim: et ts=1 sw=1 --> diff --git a/ext/iconv/CREDITS b/ext/iconv/CREDITS index 70d3825ac3..990abde45a 100644 --- a/ext/iconv/CREDITS +++ b/ext/iconv/CREDITS @@ -1,2 +1,2 @@ Iconv -Rui Hirokawa, Stig Bakken, Moriyoshi Koizumi +Rui Hirokawa, Stig Bakken, Moriyoshi Koizumi diff --git a/ext/iconv/config.w32 b/ext/iconv/config.w32 index 05281e07e7..3fd91038b0 100644 --- a/ext/iconv/config.w32 +++ b/ext/iconv/config.w32 @@ -9,7 +9,7 @@ if (PHP_ICONV != "no") { CHECK_HEADER_ADD_INCLUDE("iconv.h", "CFLAGS_ICONV", PHP_ICONV)) { EXTENSION("iconv", "iconv.c", PHP_ICONV_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); - + AC_DEFINE("HAVE_ICONV", 1, "Define if iconv extension is enabled"); AC_DEFINE("HAVE_LIBICONV", 1, "Define if libiconv is available"); AC_DEFINE("ICONV_ALIASED_LIBICONV", 1, "The iconv function is called iconv() in libiconv"); diff --git a/ext/imap/IMAP_Win32_HOWTO.txt b/ext/imap/IMAP_Win32_HOWTO.txt index 5fbd859a6d..88c4669486 100644 --- a/ext/imap/IMAP_Win32_HOWTO.txt +++ b/ext/imap/IMAP_Win32_HOWTO.txt @@ -29,4 +29,3 @@ Start Visual Studio, load php_modules.dsw, select the IMAP projects, and build it. -
\ No newline at end of file diff --git a/ext/imap/config.m4 b/ext/imap/config.m4 index badb6e26b2..8c86789f25 100644 --- a/ext/imap/config.m4 +++ b/ext/imap/config.m4 @@ -7,8 +7,8 @@ AC_DEFUN([IMAP_INC_CHK],[if test -r "$i$1/c-client.h"; then IMAP_DIR=$i IMAP_INC_DIR=$i$1 break - elif test -r "$i$1/rfc822.h"; then - IMAP_DIR=$i; + elif test -r "$i$1/rfc822.h"; then + IMAP_DIR=$i; IMAP_INC_DIR=$i$1 break ]) @@ -54,14 +54,14 @@ AC_DEFUN([PHP_IMAP_KRB_CHK], [ [ AC_DEFINE(HAVE_IMAP_KRB,1,[ ]) ], [ - AC_MSG_ERROR([Kerberos libraries not found. - + AC_MSG_ERROR([Kerberos libraries not found. + Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr ) ]) ]) else AC_EGREP_HEADER(auth_gss, $IMAP_INC_DIR/linkage.h, [ - AC_MSG_ERROR([This c-client library is built with Kerberos support. + AC_MSG_ERROR([This c-client library is built with Kerberos support. Add --with-kerberos to your configure line. Check config.log for details. ]) @@ -78,14 +78,14 @@ AC_DEFUN([PHP_IMAP_SSL_CHK], [ [ AC_DEFINE(HAVE_IMAP_SSL,1,[ ]) ], [ - AC_MSG_ERROR([OpenSSL libraries not found. - + AC_MSG_ERROR([OpenSSL libraries not found. + Check the path given to --with-openssl-dir and output in config.log) ]) ]) elif test -f "$IMAP_INC_DIR/linkage.c"; then AC_EGREP_HEADER(ssl_onceonlyinit, $IMAP_INC_DIR/linkage.c, [ - AC_MSG_ERROR([This c-client library is built with SSL support. + AC_MSG_ERROR([This c-client library is built with SSL support. Add --with-imap-ssl to your configure line. Check config.log for details. ]) @@ -104,7 +104,7 @@ PHP_ARG_WITH(imap-ssl,for IMAP SSL support, [ --with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix], no, no) -if test "$PHP_IMAP" != "no"; then +if test "$PHP_IMAP" != "no"; then PHP_SUBST(IMAP_SHARED_LIBADD) PHP_NEW_EXTENSION(imap, php_imap.c, $ext_shared) AC_DEFINE(HAVE_IMAP,1,[ ]) @@ -180,18 +180,18 @@ if test "$PHP_IMAP" != "no"; then ],[]) CPPFLAGS=$old_CPPFLAGS - PHP_CHECK_LIBRARY(pam, pam_start, + PHP_CHECK_LIBRARY(pam, pam_start, [ PHP_ADD_LIBRARY(pam,, IMAP_SHARED_LIBADD) AC_DEFINE(HAVE_LIBPAM,1,[ ]) ]) - PHP_CHECK_LIBRARY(crypt, crypt, + PHP_CHECK_LIBRARY(crypt, crypt, [ PHP_ADD_LIBRARY(crypt,, IMAP_SHARED_LIBADD) AC_DEFINE(HAVE_LIBCRYPT,1,[ ]) ]) - + PHP_EXPAND_PATH($IMAP_DIR, IMAP_DIR) if test -z "$IMAP_DIR"; then diff --git a/ext/imap/tests/README b/ext/imap/tests/README index 0d222ad0b8..0e554e94c0 100644 --- a/ext/imap/tests/README +++ b/ext/imap/tests/README @@ -1,7 +1,7 @@ Many of the tests in this directory require a mail server to be running, if there is no mail server the test will skip and warn, see skipif.inc for details. -To make the tests run parameters in the skipif.inc and imap_include.inc file will need to be changed to match the local mailserver configuration. +To make the tests run parameters in the skipif.inc and imap_include.inc file will need to be changed to match the local mailserver configuration. The tests have been checked using dovecot (on Linux 32 and 64 bit systems) and hMailServer on Windows. The tests are intended to be mailserver agnostic. diff --git a/ext/imap/tests/clean.inc b/ext/imap/tests/clean.inc index f5e869ff07..2557489ba1 100644 --- a/ext/imap/tests/clean.inc +++ b/ext/imap/tests/clean.inc @@ -6,7 +6,7 @@ $imap_stream = imap_open($default_mailbox, $username, $password); // delete all msgs in default mailbox, i.e INBOX $check = imap_check($imap_stream); for ($i = 1; $i <= $check->Nmsgs; $i++) { - imap_delete($imap_stream, $i); + imap_delete($imap_stream, $i); } $mailboxes = imap_getmailboxes($imap_stream, $server, '*'); @@ -14,12 +14,12 @@ $mailboxes = imap_getmailboxes($imap_stream, $server, '*'); foreach($mailboxes as $value) { // Only delete mailboxes with our prefix if (preg_match('/\{.*?\}INBOX\.(.+)/', $value->name, $match) == 1) { - if (strlen($match[1]) >= strlen($mailbox_prefix) + if (strlen($match[1]) >= strlen($mailbox_prefix) && substr_compare($match[1], $mailbox_prefix, 0, strlen($mailbox_prefix)) == 0) { imap_deletemailbox($imap_stream, $value->name); } - } + } } -imap_close($imap_stream, CL_EXPUNGE); +imap_close($imap_stream, CL_EXPUNGE); ?>
\ No newline at end of file diff --git a/ext/imap/tests/imap_include.inc b/ext/imap/tests/imap_include.inc index 110a449cd5..ccb1685d73 100644 --- a/ext/imap/tests/imap_include.inc +++ b/ext/imap/tests/imap_include.inc @@ -3,7 +3,7 @@ $server = '{127.0.0.1/norsh}'; $default_mailbox = $server . "INBOX"; $domain = "something.com"; -$admin_user = "webmaster"; // a user with admin access +$admin_user = "webmaster"; // a user with admin access $username = "$admin_user@$domain"; $password = 'p4ssw0rd'; $users = array("webmaster", "info", "admin", "foo"); // tests require 4 valid userids @@ -56,39 +56,39 @@ function displayOverviewFields($resp, $fields=null) { /** - * Create a test mailbox and populate with msgs + * Create a test mailbox and populate with msgs * * @param string mailbox_suffix Suffix used to uniquely identify mailboxes - * @param int message_count number of test msgs to be written to new mailbox - * + * @param int message_count number of test msgs to be written to new mailbox + * * @return IMAP stream to new mailbox on success; FALSE on failure */ function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = null, $msg_type = "simple"){ global $server, $default_mailbox, $username, $password; - + // open a stream to default mailbox $imap_stream = imap_open($default_mailbox, $username, $password); if ($imap_stream === false) { echo "Cannot connect to IMAP server $server: " . imap_last_error() . "\n"; return false; - } - + } + echo "Create a temporary mailbox and add " . $message_count . " msgs\n"; $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type); if ($new_mailbox === false) { echo "Cant create a temporary mailbox: " . imap_last_error(). "\n"; return false; } - + echo ".. mailbox '$new_mailbox' created\n"; - + // reopen stream to new mailbox if (imap_reopen($imap_stream, $new_mailbox) === false) { echo "cant re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n"; return false; } - + return $imap_stream; } @@ -101,9 +101,9 @@ function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = nul function create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type= "simple"){ global $default_mailbox, $mailbox_prefix; $mailbox = $default_mailbox . "." . $mailbox_prefix . $mailbox_suffix; - + $mailboxes = imap_getmailboxes($imap_stream, $mailbox, '*'); - + // check mailbox does not already exist if ($mailboxes) { foreach($mailboxes as $value) { @@ -111,17 +111,17 @@ function create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type exit ("TEST FAILED : Mailbox '$mailbox' already exists\n"); } } - } + } if (imap_createmailbox($imap_stream, $mailbox) === false) { return false; } - + // Add number of test msgs requested if ($message_count > 0) { populate_mailbox($imap_stream, $mailbox, $message_count, $msg_type); - } - + } + return $mailbox; } @@ -146,42 +146,42 @@ function populate_mailbox($imap_stream, $mailbox, $message_count, $msg_type = "s $envelope["from"]= "foo@anywhere.com"; $envelope["to"] = "$users[0]@$domain"; $envelope["subject"] = "Test msg $i"; - + $part1["type"] = TYPEMULTIPART; $part1["subtype"] = "mixed"; - + $part2["type"] = TYPETEXT; $part2["subtype"] = "plain"; $part2["description"] = "imap_mail_compose() function"; $part2["contents.data"] = "message 1:xxxxxxxxxxxxxxxxxxxxxxxxxx"; - + $part3["type"] = TYPETEXT; $part3["subtype"] = "plain"; $part3["description"] = "Example"; $part3["contents.data"] = "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"; - + $part4["type"] = TYPETEXT; $part4["subtype"] = "plain"; $part4["description"] = "Return Values"; $part4["contents.data"] = "message 3:zzzzzzzzzzzzzzzzzzzzzzzzzz"; - + $body[1] = $part1; $body[2] = $part2; $body[3] = $part3; $body[4] = $part4; - + $msg = imap_mail_compose($envelope, $body); } - + imap_append($imap_stream, $mailbox, $msg); } } /** - * Get the mailbox name from a mailbox decription, i.e strip off server details. + * Get the mailbox name from a mailbox decription, i.e strip off server details. * - * @param string mailbox complete mailbox name - * @return mailbox name + * @param string mailbox complete mailbox name + * @return mailbox name */ function get_mailbox_name($mailbox){ diff --git a/ext/imap/tests/skipif.inc b/ext/imap/tests/skipif.inc index 47bfd08e22..19ad7893bd 100644 --- a/ext/imap/tests/skipif.inc +++ b/ext/imap/tests/skipif.inc @@ -1,6 +1,6 @@ <?php extension_loaded('imap') or die('skip imap extension not available in this build'); - + // Change these to make tests run successfully $mailbox = '{localhost/norsh}'; $username = 'webmaster@something.com'; diff --git a/ext/interbase/config.m4 b/ext/interbase/config.m4 index 5b4cde5852..1712f55788 100644 --- a/ext/interbase/config.m4 +++ b/ext/interbase/config.m4 @@ -46,7 +46,7 @@ if test "$PHP_INTERBASE" != "no"; then ], [ -L$IBASE_LIBDIR ]) - + PHP_ADD_LIBRARY_WITH_PATH($IBASE_LIBNAME, $IBASE_LIBDIR, INTERBASE_SHARED_LIBADD) PHP_ADD_INCLUDE($IBASE_INCDIR) fi diff --git a/ext/interbase/config.w32 b/ext/interbase/config.w32 index 9891fae442..c1f5a91f41 100644 --- a/ext/interbase/config.w32 +++ b/ext/interbase/config.w32 @@ -4,7 +4,7 @@ ARG_WITH("interbase", "InterBase support", "no"); if (PHP_INTERBASE != "no") { - if (CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_INTERBASE", + if (CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_INTERBASE", PHP_PHP_BUILD + "\\include\\interbase;" + PHP_PHP_BUILD + "\\interbase\\include;" + PHP_INTERBASE) && (CHECK_LIB("fbclient_ms.lib", "interbase", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_INTERBASE) || CHECK_LIB("gds32_ms.lib", "interbase", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_INTERBASE))) { diff --git a/ext/interbase/tests/interbase.inc b/ext/interbase/tests/interbase.inc index 7e58ecca74..41123e68bd 100644 --- a/ext/interbase/tests/interbase.inc +++ b/ext/interbase/tests/interbase.inc @@ -14,7 +14,7 @@ function init_db() { global $test_base, $user, $password; - $test_db = ibase_query(IBASE_CREATE, + $test_db = ibase_query(IBASE_CREATE, sprintf("CREATE SCHEMA '%s' USER '%s' PASSWORD '%s' DEFAULT CHARACTER SET %s",$test_base, $user, $password, ($charset = ini_get('ibase.default_charset')) ? $charset : 'NONE')); $tr = ibase_trans($test_db); @@ -28,7 +28,7 @@ function init_db() function cleanup_db() { global $test_base; - + $r = ibase_connect($test_base); ibase_drop_db($r); } diff --git a/ext/interbase/tests/skipif.inc b/ext/interbase/tests/skipif.inc index 11d0d80bc6..37bf023f4d 100644 --- a/ext/interbase/tests/skipif.inc +++ b/ext/interbase/tests/skipif.inc @@ -1,6 +1,6 @@ <?php -if (!extension_loaded("interbase")) print "skip interbase extension not available"; +if (!extension_loaded("interbase")) print "skip interbase extension not available"; require("interbase.inc"); if(!@ibase_connect($test_base)){ die("skip cannot connnect"); diff --git a/ext/intl/ERROR.CONVENTIONS b/ext/intl/ERROR.CONVENTIONS index a7ef53665e..7b0bbe7286 100644 --- a/ext/intl/ERROR.CONVENTIONS +++ b/ext/intl/ERROR.CONVENTIONS @@ -28,7 +28,7 @@ void intl_error_set(intl_error* err, UErrorCode code, char* msg, int copyMsg); and by passing NULL as the first parameter. The last function is a combination of the first two. If the message is not a static buffer, copyMsg should be 1. This makes the message string be copied and freed when no longer needed. There's -no way to pass ownership of the string without it being copied. +no way to pass ownership of the string without it being copied. :: The last is ALSO stored in the object whose method call triggered the error, diff --git a/ext/intl/calendar/gregoriancalendar_methods.cpp b/ext/intl/calendar/gregoriancalendar_methods.cpp index 13ff6a75a7..ab8ab76796 100644 --- a/ext/intl/calendar/gregoriancalendar_methods.cpp +++ b/ext/intl/calendar/gregoriancalendar_methods.cpp @@ -57,7 +57,7 @@ static void _php_intlgregcal_constructor_body( zend_get_parameters_array_ex(ZEND_NUM_ARGS(), args) == FAILURE) { intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: too many arguments", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -70,7 +70,7 @@ static void _php_intlgregcal_constructor_body( intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: no variant with 4 arguments " "(excluding trailing NULLs)", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -83,7 +83,7 @@ static void _php_intlgregcal_constructor_body( "|z!s!", &tz_object, &locale, &locale_len) == FAILURE) { intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: bad arguments", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -95,7 +95,7 @@ static void _php_intlgregcal_constructor_body( &largs[5]) == FAILURE) { intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: bad arguments", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -113,7 +113,7 @@ static void _php_intlgregcal_constructor_body( if (!EG(exception)) { zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); } - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -132,7 +132,7 @@ static void _php_intlgregcal_constructor_body( delete gcal; } delete tz; - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -145,7 +145,7 @@ static void _php_intlgregcal_constructor_body( intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intlgregcal_create_instance: at least one of the arguments" " has an absolute value that is too large", 0); - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -170,7 +170,7 @@ static void _php_intlgregcal_constructor_body( if (gcal) { delete gcal; } - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } @@ -190,7 +190,7 @@ static void _php_intlgregcal_constructor_body( "from PHP's default timezone name (see date_default_timezone_get())", 0); delete gcal; - if (!is_constructor) { + if (!is_constructor) { zval_dtor(return_value); RETVAL_NULL(); } diff --git a/ext/intl/config.w32 b/ext/intl/config.w32 index 328288be3d..3065ac2311 100644 --- a/ext/intl/config.w32 +++ b/ext/intl/config.w32 @@ -99,18 +99,18 @@ if (PHP_INTL != "no") { transliterator_class.c \ transliterator_methods.c", "intl"); - + ADD_SOURCES(configure_module_dirname + "/timezone", "\ timezone_class.cpp \ timezone_methods.cpp", "intl"); - + ADD_SOURCES(configure_module_dirname + "/calendar", "\ calendar_methods.cpp \ gregoriancalendar_methods.cpp \ calendar_class.cpp", "intl"); - + ADD_SOURCES(configure_module_dirname + "/breakiterator", "\ breakiterator_class.cpp \ breakiterator_methods.cpp \ @@ -119,7 +119,7 @@ if (PHP_INTL != "no") { codepointiterator_internal.cpp \ codepointiterator_methods.cpp ", "intl"); - + ADD_FLAG("LIBS_INTL", "icudt.lib icuin.lib icuio.lib"); /* Compat for ICU before 58.1.*/ diff --git a/ext/intl/doc/Tutorial.txt b/ext/intl/doc/Tutorial.txt index 3bb31b00ec..316d81357c 100644 --- a/ext/intl/doc/Tutorial.txt +++ b/ext/intl/doc/Tutorial.txt @@ -1,13 +1,13 @@ 1. Collator::getAvailableLocales(). Return the locales available at the time of the call, including registered locales. If a sever error occurs (such as out of memory condition) this will return null. -If there is no locale data, an empty enumeration will be returned. +If there is no locale data, an empty enumeration will be returned. Returned locales list is a strings in format of RFC4646 standart (see http://www.rfc-editor.org/rfc/rfc4646.txt). Examle of locales format: 'en_US', 'ru_UA', 'ua_UA' (see http://demo.icu-project.org/icu-bin/locexp). 2. Collator::getDisplayName( $obj_locale, $disp_locale ). -Get name of the object for the desired Locale, in the desired language. Both arguments +Get name of the object for the desired Locale, in the desired language. Both arguments must be from getAvailableLocales method. @param string $obj_locale Locale to get display name for. @@ -19,21 +19,21 @@ For locale format see RFC4647 standart in ftp://ftp.rfc-editor.org/in-notes/rfc4 3. Collator::getLocaleByType( $type ). Allow user to select whether she wants information on requested, valid or actual locale. Returned locale tag is a string formatted to a RFC4646 standart and normalize to normal form - -value is a string from -For example, a collator for "en_US_CALIFORNIA" was requested. In the current state of ICU (2.0), -the requested locale is "en_US_CALIFORNIA", the valid locale is "en_US" (most specific locale -supported by ICU) and the actual locale is "root" (the collation data comes unmodified from the UCA) -The locale is considered supported by ICU if there is a core ICU bundle for that locale (although -it may be empty). +value is a string from +For example, a collator for "en_US_CALIFORNIA" was requested. In the current state of ICU (2.0), +the requested locale is "en_US_CALIFORNIA", the valid locale is "en_US" (most specific locale +supported by ICU) and the actual locale is "root" (the collation data comes unmodified from the UCA) +The locale is considered supported by ICU if there is a core ICU bundle for that locale (although +it may be empty). 4. VariableTop The Variable_Top attribute is only meaningful if the Alternate attribute is not set to NonIgnorable. -In such a case, it controls which characters count as ignorable. The string value specifies +In such a case, it controls which characters count as ignorable. The string value specifies the "highest" character (in UCA order) weight that is to be considered ignorable. -Thus, for example, if a user wanted whitespace to be ignorable, but not any visible characters, -then s/he would use the value Variable_Top="\u0020" (space). The string should only be a -single character. All characters of the same primary weight are equivalent, so +Thus, for example, if a user wanted whitespace to be ignorable, but not any visible characters, +then s/he would use the value Variable_Top="\u0020" (space). The string should only be a +single character. All characters of the same primary weight are equivalent, so Variable_Top="\u3000" (ideographic space) has the same effect as Variable_Top="\u0020". This setting (alone) has little impact on string comparison performance; setting it lower or higher will make sort keys slightly shorter or longer respectively. @@ -124,7 +124,7 @@ the languages currently in use. Therefore, ICU provides a data-driven, flexible, customizable mechanism called "tailoring". Tailoring overrides the default order of code points and the values of the ICU Collation Service attributes. Collator have followed attributes: - - FRENCH_COLLATION, possible values are: + - FRENCH_COLLATION, possible values are: ON OFF (default) DEFAULT diff --git a/ext/intl/doc/collator_api.php b/ext/intl/doc/collator_api.php index ef7250243b..8005aca2ca 100644 --- a/ext/intl/doc/collator_api.php +++ b/ext/intl/doc/collator_api.php @@ -324,7 +324,7 @@ function collator_sort_with_sort_keys( $coll, $arr ) {} * Get the locale name of the collator. * * @param Collator $coll Collator object. - * @param int $type You can choose between valid and + * @param int $type You can choose between valid and * actual locale * (ULOC_VALID_LOCALE, ULOC_ACTUAL_LOCALE * respectively). diff --git a/ext/intl/doc/datefmt_api.php b/ext/intl/doc/datefmt_api.php index 6beb243863..2dba59df63 100644 --- a/ext/intl/doc/datefmt_api.php +++ b/ext/intl/doc/datefmt_api.php @@ -4,9 +4,9 @@ * Date Formatter class - locale-dependent formatting/parsing of dates using pattern strings and/or canned patterns. * * This class represents the ICU date formatting functionality. It allows users to - * display dates in a localized format or to parse strings + * display dates in a localized format or to parse strings * into PHP date values using pattern strings and/or canned patterns. - * + * * Example: * <code> * $datefmt = new DateFormatter("de-DE", LONG, SHORT, date_default_timezone_get()); @@ -38,19 +38,19 @@ class DateFormatter { const SHORT = 3; /** - * The following int constants are used to specify the calendar. - * These calendars are all based directly on the Gregorian calendar - * Non-Gregorian calendars need to be specified in locale. + * The following int constants are used to specify the calendar. + * These calendars are all based directly on the Gregorian calendar + * Non-Gregorian calendars need to be specified in locale. * Examples might include locale="hi@calendar=BUDDHIST" */ const TRADITIONAL = 0; // non-Gregorian calendar that is locale-defined, required by ICU const GREGORIAN = 1 ;// Gregorian calendar - + ############################################################################# # Object-oriented API ############################################################################# /** - * Create a date formatter + * Create a date formatter * * @param string $locale Locale to use when formatting or parsing * @param integer $datetype Date type to use (none, short, medium, long, full) @@ -66,7 +66,7 @@ class DateFormatter { public function __construct($locale, $datetype, $timetype, $timezone = null, $calendar= null , $pattern= null) {} /** - * Create a date formatter + * Create a date formatter * * @param string $locale Locale to use when formatting or parsing * @param integer $datetype Date type to use (none, short, medium, long, full) @@ -86,7 +86,7 @@ class DateFormatter { * @param mixed $value - value to format * integer: a unix timestamp value (seconds since epoch, UTC) * array: a localtime array - uses 24 hour clock in tm_hour field - * @return string a formatted string or, if an error occurred, 'null'. + * @return string a formatted string or, if an error occurred, 'null'. */ public function format($value) {} @@ -96,7 +96,7 @@ class DateFormatter { * $parse_pos and consuming as much of the input value as possible * If no error occurs before $value is consumed, $parse_pos will contain -1 * otherwise it will contain the position at which parsing ended (and the error - * occurred). + * occurred). * @param string $value string to convert to a time * @param integer $parse_pos position at which to start the parsing in $value (zero-based) * This variable will contain the end position if the parse fails @@ -105,13 +105,13 @@ class DateFormatter { */ public function parse($value, $parse_pos=0) {} - + /** * converts string $value to a field-based time value, starting at * $parse_pos and consuming as much of the input value as possible * If no error occurs before $value is consumed, $parse_pos will contain -1 * otherwise it will contain the position at which parsing ended (and the error - * occurred). + * occurred). * @param string $value string to convert to a time * @param integer $parse_pos position at which to start the parsing in $value (zero-based) * This variable will contain the end position if the parse fails @@ -122,21 +122,21 @@ class DateFormatter { /** - * Gets the datetype in use + * Gets the datetype in use * @return integer the current 'datetype' value of the formatter */ public function getDateType() {} /** - * Gets the timetype in use + * Gets the timetype in use * @return integer the current 'timetype' value of the formatter */ public function getTimeType() {} /** - * Gets the leniency in use + * Gets the leniency in use * @return boolean 'true' if parser is lenient, 'false' if parser is strict * default value for parser is 'false'. */ @@ -144,22 +144,22 @@ class DateFormatter { /** - * Sets the leniency to use + * Sets the leniency to use * @param boolean $lenient sets whether the parser is lenient or not, default is 'false' - * 'true' sets the parser to accept otherwise flawed date or + * 'true' sets the parser to accept otherwise flawed date or * time patterns, parsing as much as possible to obtain a value. - * 'false' sets the parser to strictly parse strings into dates. - * Extra space, unrecognized tokens, or invalid values + * 'false' sets the parser to strictly parse strings into dates. + * Extra space, unrecognized tokens, or invalid values * ("February 30th") are not accepted. * - * @return boolean 'true' if successful; 'false' if an error occurred. + * @return boolean 'true' if successful; 'false' if an error occurred. */ public function setLenient($lenient) {} /** - * Gets the locale in use - * @param [integer] which locale should be returned? + * Gets the locale in use + * @param [integer] which locale should be returned? * values may include ULOC_ACTUAL_LOCALE, * ULOC_VALID_LOCALE. By default the actual * locale is returned. @@ -187,33 +187,33 @@ class DateFormatter { /** - * Sets the calendar used to the appropriate calendar, which must be + * Sets the calendar used to the appropriate calendar, which must be * one of the constants defined above. Some examples include: * - Gregorian calendar * - Traditional * Default value is GREGORIAN * @param integer $which the calendar (an enumerated constant) to use. - * @return boolean 'true' if successful, 'false' if an error occurred or if the calendar was not recognized + * @return boolean 'true' if successful, 'false' if an error occurred or if the calendar was not recognized */ public function setCalendar($which) {} /** - * Gets the Calendar in use + * Gets the Calendar in use * @return integer the calendar being used by the formatter */ public function getCalendar() {} /** - * Gets the pattern in use - * @return string the pattern string being used to format/parse + * Gets the pattern in use + * @return string the pattern string being used to format/parse */ public function getPattern() {} /** - * Sets the pattern to use + * Sets the pattern to use * @param string $pattern new pattern string to use * @return boolean 'true' if successful, 'false' if an error occurred. Bad format * strings are usually the cause of the latter. @@ -247,7 +247,7 @@ class DateFormatter { /** - * Create a date formatter + * Create a date formatter * * @param string $locale Locale to use when formatting or parsing * @param integer $datetype Date type to use (none, short, medium, long, full) @@ -268,7 +268,7 @@ class DateFormatter { * @param mixed $value - value to format * integer: a unix timestamp value (seconds since epoch, UTC) * array: a localtime array - uses 24 hour clock in tm_hour field - * @return string a formatted string or, if an error occurred, 'null'. + * @return string a formatted string or, if an error occurred, 'null'. */ function datefmt_format($fmt , $value) {} @@ -278,7 +278,7 @@ class DateFormatter { * $parse_pos and consuming as much of the input value as possible * If no error occurs before $value is consumed, $parse_pos will contain -1 * otherwise it will contain the position at which parsing ended (and the error - * occurred). + * occurred). * @param DateFormatter $fmt The date formatter resource * @param string $value string to convert to a time * @param integer $parse_pos position at which to start the parsing in $value (zero-based) @@ -288,13 +288,13 @@ class DateFormatter { */ function datefmt_parse($fmt , $value, $parse_pos=0) {} - + /** * converts string $value to a field-based time value, starting at * $parse_pos and consuming as much of the input value as possible * If no error occurs before $value is consumed, $parse_pos will contain -1 * otherwise it will contain the position at which parsing ended (and the error - * occurred). + * occurred). * @param DateFormatter $fmt The date formatter resource * @param string $value string to convert to a time * @param integer $parse_pos position at which to start the parsing in $value (zero-based) @@ -322,7 +322,7 @@ class DateFormatter { /** - * Gets the leniency of the formatter + * Gets the leniency of the formatter * @param DateFormatter $fmt The date formatter resource * @return boolean 'true' if parser is lenient, 'false' if parser is strict * default value for parser is 'false'. @@ -331,16 +331,16 @@ class DateFormatter { /** - * Sets the leniency of the formatter + * Sets the leniency of the formatter * @param DateFormatter $fmt The date formatter resource * @param boolean $lenient sets whether the parser is lenient or not, default is 'false' - * 'true' sets the parser to accept otherwise flawed date or + * 'true' sets the parser to accept otherwise flawed date or * time patterns, parsing as much as possible to obtain a value. - * 'false' sets the parser to strictly parse strings into dates. - * Extra space, unrecognized tokens, or invalid values + * 'false' sets the parser to strictly parse strings into dates. + * Extra space, unrecognized tokens, or invalid values * ("February 30th") are not accepted. * - * @return boolean 'true' if successful; 'false' if an error occurred. + * @return boolean 'true' if successful; 'false' if an error occurred. */ function datefmt_set_lenient($fmt , $lenient) {} @@ -348,7 +348,7 @@ class DateFormatter { /** * Gets the locale in use * @param DateFormatter $fmt The date formatter resource - * @param [integer] which locale should be returned? + * @param [integer] which locale should be returned? * values may include ULOC_ACTUAL_LOCALE, * ULOC_VALID_LOCALE. By default the actual * locale is returned. @@ -366,14 +366,14 @@ class DateFormatter { /** - * Sets the calendar used to the appropriate calendar, which must be + * Sets the calendar used to the appropriate calendar, which must be * one of the constants defined above. Some examples include: * - Gregorian calendar * - Traditional * Default value is GREGORIAN * @param DateFormatter $fmt The date formatter resource * @param integer $which the calendar (an enumerated constant) to use. - * @return boolean 'true' if successful, 'false' if an error occurred or if the calendar was not recognized + * @return boolean 'true' if successful, 'false' if an error occurred or if the calendar was not recognized */ function datefmt_set_calendar($fmt , $which) {} diff --git a/ext/intl/doc/grapheme_api.php b/ext/intl/doc/grapheme_api.php index e22d165cbb..91f4869166 100644 --- a/ext/intl/doc/grapheme_api.php +++ b/ext/intl/doc/grapheme_api.php @@ -30,14 +30,14 @@ * Find position (in grapheme units) of first occurrence of a string * @param string $haystack The string to look in * @param string $needle The string to look for - * @param [int] $offset The optional offset parameter allows you to specify - which character in haystack to start searching. The position + * @param [int] $offset The optional offset parameter allows you to specify + which character in haystack to start searching. The position returned is still relative to the beginning of haystack. * @return int Returns the position as an integer. If needle is not found, strpos() will return boolean FALSE. */ function grapheme_strpos($haystack, $needle, $offset = 0) {} - + /** * Find position (in grapheme units) of first occurrence of a case-insensitive string * @param string $haystack The string to look in @@ -48,7 +48,7 @@ * @return int Returns the position as an integer. If needle is not found, grapheme_stripos() will return boolean FALSE. */ function grapheme_stripos($haystack, $needle, $offset = 0) {} - + /** * Find position (in grapheme units) of last occurrence of a string @@ -77,12 +77,12 @@ /** * Return part of a string * @param string $string The input string. - * @param int $start If start is non-negative, the returned string will start at the + * @param int $start If start is non-negative, the returned string will start at the start'th position in string, counting from zero. If start is negative, - the returned string will start at the start'th character from the + the returned string will start at the start'th character from the end of string. * @param [int] $length If length is given and is positive, the string returned will contain - at most length characters beginning from start (depending on the + at most length characters beginning from start (depending on the length of string). If string is less than or equal to start characters long, FALSE will be returned. If length is given and is negative, then that many characters will be omitted from the end of string (after the @@ -122,7 +122,7 @@ * @param [int] $extract_type one of GRAPHEME_EXTR_COUNT (default), GRAPHEME_EXTR_MAXBYTES, or GRAPHEME_EXTR_MAXCHARS * @param [int] $start starting position in $haystack in bytes * @param [&int] $next set to next starting position in bytes - * @return string A string starting at offset $start containing no more than $size grapheme clusters + * @return string A string starting at offset $start containing no more than $size grapheme clusters and ending on a default grapheme cluster boundary. */ function grapheme_extract($haystack, $size, $extract_type = GRAPHEME_EXTR_COUNT, $start = 0, &$next) {} diff --git a/ext/intl/doc/locale_api.php b/ext/intl/doc/locale_api.php index c6c41ede0a..4633ac1227 100644 --- a/ext/intl/doc/locale_api.php +++ b/ext/intl/doc/locale_api.php @@ -1,29 +1,29 @@ <?php /** - * A "Locale" is an identifier used to get language, culture, or regionally-specific + * A "Locale" is an identifier used to get language, culture, or regionally-specific * behavior from an API. PHP locales are organized and identified the same - * way that the CLDR locales used by ICU (and many vendors of Unix-like operating + * way that the CLDR locales used by ICU (and many vendors of Unix-like operating * systems, the Mac, Java, and so forth) use. Locales are identified using * RFC 4646 language tags (which use hyphen, not underscore) in addition to the * more traditional underscore-using identifiers. Unless otherwise noted - * the functions in this class are tolerant of both formats. + * the functions in this class are tolerant of both formats. * * Examples of identifiers include: * * * en-US (English, United States) * * zh-Hant-TW (Chinese, Traditional Script, Taiwan) - * * fr-CA, fr-FR (French for Canada and France respectively) + * * fr-CA, fr-FR (French for Canada and France respectively) * - * The Locale class (and related procedural functions) are used to interact - * with locale identifiers--to verify that an ID is well-formed, valid, - * etc. The extensions used by CLDR in UAX #35 (and inherited by ICU) are + * The Locale class (and related procedural functions) are used to interact + * with locale identifiers--to verify that an ID is well-formed, valid, + * etc. The extensions used by CLDR in UAX #35 (and inherited by ICU) are * valid and used wherever they would be in ICU normally. * - * Locales cannot be instantiated as objects. All of the functions/methods + * Locales cannot be instantiated as objects. All of the functions/methods * provided are static. * - * * The null or empty string obtains the "root" locale. + * * The null or empty string obtains the "root" locale. * The "root" locale is equivalent to "en_US_POSIX" in CLDR. * * Language tags (and thus locale identifiers) are case insensitive. There * exists a canonicalization function to make case match the specification. @@ -56,7 +56,7 @@ class Locale { const ACTUAL_LOCALE = 'ULOC_ACTUAL_LOCALE'; const VALID_LOCALE = 'ULOC_VALID_LOCALE'; - /** + /** * Valid locale tag and subtag values */ const LANG_TAG = "language"; @@ -66,7 +66,7 @@ class Locale { const VARIANT_TAG = "variant"; const GRANDFATHERED_LANG_TAG = "grandfathered"; const PRIVATE_TAG = "private"; - + ############################################################################# # Object-oriented API @@ -74,12 +74,12 @@ class Locale { /** * Gets the default locale value from the INTL global 'default_locale' - * At the PHP initilaization (MINIT) this value is set to - * 'intl.default_locale' value from php.ini if that value exists - * or from ICU's function uloc_getDefault() + * At the PHP initilaization (MINIT) this value is set to + * 'intl.default_locale' value from php.ini if that value exists + * or from ICU's function uloc_getDefault() * Then onwards picks up changes from setDefault() calls also * - * @return string the current runtime locale + * @return string the current runtime locale */ public static function getDefault() {} @@ -87,7 +87,7 @@ class Locale { * sets the default runtime locale to $locale * This changes the value of INTL global 'default_locale' * - * @param string $locale is a BCP 47 compliant language tag containing the + * @param string $locale is a BCP 47 compliant language tag containing the * locale identifier. UAX #35 extensions are accepted. * @return boolean 'true' if okay, 'false' if an error */ @@ -98,8 +98,8 @@ class Locale { * Gets the primary language for the input locale * * @param string $locale the locale to extract the primary language code from - * @return string the language code associated with the language - * or null in case of error. + * @return string the language code associated with the language + * or null in case of error. */ public static function getPrimaryLanguage($locale) {} @@ -126,7 +126,7 @@ class Locale { * Gets the variants for the input locale * * @param string $locale the locale to extract the variants from - * @return array the array containing the list of all variants + * @return array the array containing the list of all variants * subtag for the locale or null if not present */ public static function getAllVariants($locale) {} @@ -136,7 +136,7 @@ class Locale { * Gets the keywords for the input locale * * @param string $locale the locale to extract the keywords from - * @return array associative array containing the keyword-value pairs for this locale + * @return array associative array containing the keyword-value pairs for this locale */ public static function getKeywords($locale) {} @@ -146,9 +146,9 @@ class Locale { * * @param string $locale the locale to return a displayname for * @param [string] $in_locale optional format locale - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ public static function getDisplayName($locale, $in_locale = null) {} @@ -158,9 +158,9 @@ class Locale { * * @param string $locale the locale to return a display language for * @param [string] $in_locale optional format locale to use to display the language name - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the language for the $locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ public static function getDisplayLanguage($lang, $in_locale = null) {} @@ -169,9 +169,9 @@ class Locale { * * @param string $locale the locale to return a display script for * @param [string] $in_locale optional format locale to use to display the script name - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the script for the $locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ public static function getDisplayScript($script, $in_locale = null) {} @@ -181,9 +181,9 @@ class Locale { * * @param string $locale the locale to return a display region for * @param [string] $in_locale optional format locale to use to display the region name - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the region for the $locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ public static function getDisplayRegion($region, $in_locale = null) {} @@ -193,15 +193,15 @@ class Locale { * * @param string $locale the locale to return a display variant for * @param [string] $in_locale optional format locale to use to display the variant name - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the variant for the $locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ public static function getDisplayVariant($variant, $in_locale = null) {} /** - * Checks if a $langtag filter matches with $locale according to + * Checks if a $langtag filter matches with $locale according to * RFC 4647's basic filtering algorithm * * @param string $langtag the language tag to check @@ -213,24 +213,24 @@ class Locale { /** * Searchs the items in $langtag for the best match to the language - * range specified in $locale according to RFC 4647's lookup algorithm. + * range specified in $locale according to RFC 4647's lookup algorithm. * * @param array $langtag an array containing a list of language tags to compare * to $locale * @param string $locale the locale to use as the language range when matching * @param string $default the locale to use if no match is found - * @return string closest matching language tag, $default, + * @return string closest matching language tag, $default, * or empty string */ public static function lookup(array $langtag, $locale, $default = null) {} /** - * Returns a correctly ordered and delimited locale ID + * Returns a correctly ordered and delimited locale ID * - * @param array $subtags an array containing a list of key-value pairs, where - * the keys identify the particular locale ID subtags, - * and the values are the associated subtag values. + * @param array $subtags an array containing a list of key-value pairs, where + * the keys identify the particular locale ID subtags, + * and the values are the associated subtag values. * * @return string the corresponding locale identifier. */ @@ -240,11 +240,11 @@ class Locale { /** * Returns a key-value array of locale ID subtag elements. * - * @param string $locale the locale to extract the subtag array from + * @param string $locale the locale to extract the subtag array from * - * @return array $subtags an array containing a list of key-value pairs, where - * the keys identify the particular locale ID subtags, - * and the values are the associated subtag values. + * @return array $subtags an array containing a list of key-value pairs, where + * the keys identify the particular locale ID subtags, + * and the values are the associated subtag values. */ public static function parseLocale($locale) {} @@ -257,12 +257,12 @@ class Locale { /** * Gets the default locale value from the INTL global 'default_locale' - * At the PHP initilaization (MINIT) this value is set to - * 'intl.default_locale' value from php.ini if that value exists - * or from ICU's function uloc_getDefault() + * At the PHP initilaization (MINIT) this value is set to + * 'intl.default_locale' value from php.ini if that value exists + * or from ICU's function uloc_getDefault() * Then onwards picks up changes from setDefault() calls also * - * @return string the current runtime locale + * @return string the current runtime locale */ function locale_get_default() {} @@ -270,7 +270,7 @@ class Locale { * sets the default runtime locale to $locale * This changes the value of INTL global 'default_locale' * - * @param string $locale is a BCP 47 compliant language tag containing the + * @param string $locale is a BCP 47 compliant language tag containing the * locale identifier. UAX #35 extensions are accepted. * @return boolean 'true' if okay, 'false' if an error */ @@ -281,8 +281,8 @@ class Locale { * Gets the primary language for the input locale * * @param string $locale the locale to extract the primary language code from - * @return string the language code associated with the language - * or null in case of error. + * @return string the language code associated with the language + * or null in case of error. */ function locale_get_primary_language($locale) {} @@ -309,7 +309,7 @@ class Locale { * Gets the variants for the input locale * * @param string $locale the locale to extract the variants from - * @return array the array containing the list of all variants + * @return array the array containing the list of all variants * subtag for the locale or null if not present */ function locale_get_all_variants($locale) {} @@ -319,7 +319,7 @@ class Locale { * Gets the keywords for the input locale * * @param string $locale the locale to extract the keywords from - * @return array associative array containing the keyword-value pairs for this locale + * @return array associative array containing the keyword-value pairs for this locale */ function locale_get_keywords($locale) {} @@ -329,9 +329,9 @@ class Locale { * * @param string $locale the locale to return a displayname for * @param [string] $in_locale optional format locale - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ function locale_get_display_name($locale, $in_locale = null) {} @@ -341,9 +341,9 @@ class Locale { * * @param string $locale the locale to return a display language for * @param [string] $in_locale optional format locale to use to display the language name - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the language for the $locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ function locale_get_display_language($lang, $in_locale = null) {} @@ -352,9 +352,9 @@ class Locale { * * @param string $locale the locale to return a display script for * @param [string] $in_locale optional format locale to use to display the script name - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the script for the $locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ function locale_get_display_script($script, $in_locale = null) {} @@ -364,9 +364,9 @@ class Locale { * * @param string $locale the locale to return a display region for * @param [string] $in_locale optional format locale to use to display the region name - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the region for the $locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ function locale_get_display_region($region, $in_locale = null) {} @@ -376,15 +376,15 @@ class Locale { * * @param string $locale the locale to return a display variant for * @param [string] $in_locale optional format locale to use to display the variant name - * If is 'null' then the default locale is used. + * If is 'null' then the default locale is used. * @return string display name of the variant for the $locale in the format - * appropriate for $in_locale. + * appropriate for $in_locale. */ function locale_get_display_variant($variant, $in_locale = null) {} /** - * Checks if a $langtag filter matches with $locale according to + * Checks if a $langtag filter matches with $locale according to * RFC 4647's basic filtering algorithm * * @param string $langtag the language tag to check @@ -396,24 +396,24 @@ class Locale { /** * Searchs the items in $langtag for the best match to the language - * range specified in $locale according to RFC 4647's lookup algorithm. + * range specified in $locale according to RFC 4647's lookup algorithm. * * @param array $langtag an array containing a list of language tags to compare * to $locale * @param string $locale the locale to use as the language range when matching * @param string $default the locale to use if no match is found - * @return string closest matching language tag, $default, + * @return string closest matching language tag, $default, * or empty string */ function locale_lookup(array $langtag, $locale, $default = null) {} /** - * Returns a correctly ordered and delimited locale ID + * Returns a correctly ordered and delimited locale ID * - * @param array $subtags an array containing a list of key-value pairs, where - * the keys identify the particular locale ID subtags, - * and the values are the associated subtag values. + * @param array $subtags an array containing a list of key-value pairs, where + * the keys identify the particular locale ID subtags, + * and the values are the associated subtag values. * * @return string the corresponding locale identifier. */ @@ -423,11 +423,11 @@ class Locale { /** * Returns a key-value array of locale ID subtag elements. * - * @param string $locale the locale to extract the subtag array from + * @param string $locale the locale to extract the subtag array from * - * @return array $subtags an array containing a list of key-value pairs, where - * the keys identify the particular locale ID subtags, - * and the values are the associated subtag values. + * @return array $subtags an array containing a list of key-value pairs, where + * the keys identify the particular locale ID subtags, + * and the values are the associated subtag values. */ function locale_parse_locale($locale) {} diff --git a/ext/intl/doc/msgfmt_api.php b/ext/intl/doc/msgfmt_api.php index 3df6f0de11..856946c718 100644 --- a/ext/intl/doc/msgfmt_api.php +++ b/ext/intl/doc/msgfmt_api.php @@ -14,7 +14,7 @@ class MessageFormatter { /** * Constructs a new Message Formatter - * + * * @param string $locale the locale to use when formatting arguments * @param string $pattern the pattern string to stick arguments into */ @@ -22,7 +22,7 @@ class MessageFormatter { /** * Constructs a new Message Formatter - * + * * @param string $locale the locale to use when formatting arguments * @param string $pattern the pattern string to stick arguments into */ @@ -113,7 +113,7 @@ class MessageFormatter { /** * Constructs a new Message Formatter - * + * * @param string $locale the locale to use when formatting arguments * @param string $pattern the pattern string to stick arguments into * @return MessageFormatter formatter object @@ -122,7 +122,7 @@ class MessageFormatter { /** * Format the message - * @param MessageFormatter $fmt The message formatter + * @param MessageFormatter $fmt The message formatter * @param array $args arguments to insert into the pattern string * @return string the formatted string, or false if an error occurred */ @@ -134,7 +134,7 @@ class MessageFormatter { * $error will contain any error code. If an error occurs, $parse_pos contains * the position of the error. * - * @param MessageFormatter $fmt The message formatter + * @param MessageFormatter $fmt The message formatter * @param string $value string to parse for items * @return array array containing items extracted * @@ -168,7 +168,7 @@ class MessageFormatter { /** * Get the pattern used by the formatter * - * @param MessageFormatter $fmt The message formatter + * @param MessageFormatter $fmt The message formatter * @return string the pattern string for this message formatter */ function msgfmt_get_pattern($fmt) {} @@ -176,7 +176,7 @@ class MessageFormatter { /** * Set the pattern used by the formatter * - * @param MessageFormatter $fmt The message formatter + * @param MessageFormatter $fmt The message formatter * @param string $pattern the pattern string to use in this message formatter * @return boolean 'true' if successful, 'false' if an error */ @@ -187,14 +187,14 @@ class MessageFormatter { * * Returns error code from the last number formatting operation. * - * @param MessageFormatter $fmt The message formatter + * @param MessageFormatter $fmt The message formatter * @return integer the error code, one of UErrorCode values. Initial value is U_ZERO_ERROR. */ function msgfmt_get_error_code($fmt) {} /** * Get the error text from the last operation. * - * @param MessageFormatter $fmt The message formatter + * @param MessageFormatter $fmt The message formatter * @return string Description of the last error. */ function msgfmt_get_error_message($fmt) {} diff --git a/ext/intl/intl_error.c b/ext/intl/intl_error.c index a88b559572..f80eea106a 100644 --- a/ext/intl/intl_error.c +++ b/ext/intl/intl_error.c @@ -233,7 +233,7 @@ void intl_errors_set_code( intl_error* err, UErrorCode err_code ) void intl_register_IntlException_class( void ) { zend_class_entry ce; - + /* Create and register 'IntlException' class. */ INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL ); IntlException_ce_ptr = zend_register_internal_class_ex( &ce, diff --git a/ext/intl/locale/locale_methods.c b/ext/intl/locale/locale_methods.c index dba93f3fbc..4ba5e8fa1f 100644 --- a/ext/intl/locale/locale_methods.c +++ b/ext/intl/locale/locale_methods.c @@ -410,7 +410,7 @@ static void get_icu_value_src_php( char* tag_name, INTERNAL_FUNCTION_PARAMETERS) loc_name = intl_locale_get_default(); loc_name_len = strlen(loc_name); } - + INTL_CHECK_LOCALE_LEN(loc_name_len); /* Call ICU get */ @@ -439,7 +439,7 @@ static void get_icu_value_src_php( char* tag_name, INTERNAL_FUNCTION_PARAMETERS) } } -/* }}} */ +/* }}} */ /* {{{ proto static string Locale::getScript($locale) * gets the script for the $locale diff --git a/ext/json/json_scanner.re b/ext/json/json_scanner.re index 972e41fa04..db4520eed6 100644 --- a/ext/json/json_scanner.re +++ b/ext/json/json_scanner.re @@ -92,7 +92,7 @@ void php_json_scanner_init(php_json_scanner *s, char *str, size_t str_len, int o int php_json_scan(php_json_scanner *s) { ZVAL_NULL(&s->value); - + std: s->token = s->cursor; diff --git a/ext/json/php_json_scanner.h b/ext/json/php_json_scanner.h index 46857c61bb..b90c25df44 100644 --- a/ext/json/php_json_scanner.h +++ b/ext/json/php_json_scanner.h @@ -34,7 +34,7 @@ typedef struct _php_json_scanner { php_json_ctype *pstr; /* string pointer for escapes conversion */ zval value; /* value */ int str_esc; /* number of extra characters for escaping */ - int state; /* condition state */ + int state; /* condition state */ int options; /* options */ php_json_error_code errcode; /* error type if there is an error */ } php_json_scanner; diff --git a/ext/ldap/tests/README b/ext/ldap/tests/README index edc44eb4b0..8dfa12d2f9 100644 --- a/ext/ldap/tests/README +++ b/ext/ldap/tests/README @@ -63,7 +63,7 @@ export LDAP_TEST_HOST=192.168.33.10 Now you can run the test-suite by calling "make test". To test only the LDAP-Tests, run "make test TESTS=ext/ldap" -CAVEAT: The current setup does not (yet) test secure connections. +CAVEAT: The current setup does not (yet) test secure connections. ======== diff --git a/ext/mbstring/README.libmbfl b/ext/mbstring/README.libmbfl index 4f1174e2f7..de72aab440 100644 --- a/ext/mbstring/README.libmbfl +++ b/ext/mbstring/README.libmbfl @@ -3,7 +3,7 @@ libmbfl is a streamable multibyte character code filter and converter library. libmbfl is distributed under LGPL 2.1 and bundled with PHP. -The original version of libmbfl is developed and distributed +The original version of libmbfl is developed and distributed at http://sourceforge.jp/project/php-i18n/ . If you need to modify the bundled libmbfl, the change also have to be applied for diff --git a/ext/mbstring/README_PHP3-i18n-ja b/ext/mbstring/README_PHP3-i18n-ja index eabe9e90f2..ddb688d1c5 100644 --- a/ext/mbstring/README_PHP3-i18n-ja +++ b/ext/mbstring/README_PHP3-i18n-ja @@ -13,13 +13,13 @@ Location: http://www.happysize.co.jp/techie/php-ja-jp/ Currently, this I18N version of PHP only adds Japanese support to base PHP. It allows you to use Japanese in scripts, as well as conversion -between various Japanese encodings. It will work perfectly fine with -ASCII with i18n option enabled. (note: executable is bit larger due -to UNICODE table). The basic design aproach is to allow for other +between various Japanese encodings. It will work perfectly fine with +ASCII with i18n option enabled. (note: executable is bit larger due +to UNICODE table). The basic design aproach is to allow for other languages to be added in the future. Developers are encourage to join us! -For more information on Japanese encodings, please refer to the +For more information on Japanese encodings, please refer to the section "Additional Notes." @@ -27,7 +27,7 @@ o What is this package? This package allows you to handle multiple Japanese encodings (SJIS, EUC, UTF-8, JIS) in PHP. If you find any bugs in this package, please report -them to the appropriate mailing list. For now, the PHP-jp mailing list +them to the appropriate mailing list. For now, the PHP-jp mailing list is the best place for this. PHP-jp ML mailto:PHP-jp@sidecar.ics.es.osaka-u.ac.jp @@ -115,7 +115,7 @@ Previous jp-patch developers Advantages of using I18N package ========================================== -- allows you to use various character encodings for script files and +- allows you to use various character encodings for script files and http output - distinguish character encoding in POST/GET/COOKIE - proper mail output using JIS as body and MIME/Base64/JIS subject @@ -248,7 +248,7 @@ in the server log or regular http output in CGI mode. o About Japanese encodings Due to historical reason, there are multiple character encodings used -for Japanese. The most common encodings are: SJIS, EUC, JIS, and UTF-8. +for Japanese. The most common encodings are: SJIS, EUC, JIS, and UTF-8. Here are (very) brief description of them: EUC @@ -273,8 +273,8 @@ UTF-8 see http://www.unicode.org/ for more detail Because of having all these character encodings, PHP needs to translate -between these encodings on the fly. Also, the addition of the mb regex -library allows you to handle mb strings without fear of getting mb char +between these encodings on the fly. Also, the addition of the mb regex +library allows you to handle mb strings without fear of getting mb char chopped in half. Since Japanese is not the only language with multiple encodings, we @@ -300,7 +300,7 @@ o Encoding naming - UTF-8 standard: UTF-8 - alias: N/A + alias: N/A mime: UTF-8 - ASCII @@ -320,7 +320,7 @@ o Encoding naming - JIS standard: JIS - alias: N/A + alias: N/A mime: ISO-2022-JP - Quoted-Printable @@ -365,13 +365,13 @@ o i18n.internal_encoding - internal encoding SJIS: SJIS UTF-8: UTF-8 - The default is EUC-JP. + The default is EUC-JP. PHP parser is designed based on using ISO-8859-1. For other encodings, following conditions have to be satisfied in order to use them: - per byte encoding - - single byte character in range of 00h-7fh which is compatible + - single byte character in range of 00h-7fh which is compatible with ASCII - multibyte without 00h-7fh In case of Japanese, EUC-JP and UTF-8 are the only encoding that @@ -510,7 +510,7 @@ o string = i18n_convert(string, encoding) string = i18n_convert(string, encoding, pre-conversion-encoding) Returns converted string in desired encoding. If - pre-conversion-encoding is not defined, the given + pre-conversion-encoding is not defined, the given string is assumed to be in internal encoding. encoding @@ -701,9 +701,9 @@ ex: <a href="hoge.php?data=<? echo urlencode($data) ?>">Link</a> o When passing data via GET/POST/COOKIE, \ character sneaks in -When using SJIS as internal encoding, or passed-on data includes '"\, +When using SJIS as internal encoding, or passed-on data includes '"\, PHP automatically inserts escaping character, \. Set magic_quotes_gpc -in php3.ini from On to Off. An alternative work around to this problem +in php3.ini from On to Off. An alternative work around to this problem is to use StripSlashes(). If $quote_str is in SJIS and you would like to extract Japanese text, @@ -719,7 +719,7 @@ o Sometimes, encoding detection fails If i18n_http_input() returns 'pass', it's likely that PHP failed to detect whether it's SJIS or EUC. In such case, use <input type=hidden -value="some Japanese text"> to properly detect the incoming text's +value="some Japanese text"> to properly detect the incoming text's encoding. @@ -740,7 +740,7 @@ Starting 3.0.18-i18n-ja, we have removed doc-jp from tarball package. o 2000-10-28, Rui Hirokawa <hirokawa@php.net> -This patch is derived from php-3.0.15-i18n-ja as well as php-3.0.16 by +This patch is derived from php-3.0.15-i18n-ja as well as php-3.0.16 by Kuwamura applied to original php-3.0.18. It also includes following fixes: 1) allows you to set charset in mail(). @@ -765,7 +765,7 @@ gd-1.7.3-1k1, gd-devel-1.7.3-1k1, freetype-1.3.1-5, freetype-devel-1.3.1-5 For any gd libraries before 1.6.2, you need to use i18n_convert. For gd-1.5.2/3, upgrade to anything above 1.7 to use ImageTTFText without using i18n_convert. As long as you have internal_encoding set to EUC or -SJIS, ImageTTFText should work without mojibake. Again, make sure you +SJIS, ImageTTFText should work without mojibake. Again, make sure you have i18n_http_output("pass") before calling ImageGif, ImagePng, ImageJpeg! o 2000-12-09, Rui Hirokawa <hirokawa@php.net> diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4 index bd88ee4b63..c8e5629644 100644 --- a/ext/mbstring/config.m4 +++ b/ext/mbstring/config.m4 @@ -37,7 +37,7 @@ AC_DEFUN([PHP_MBSTRING_EXTENSION], [ for dir in $PHP_MBSTRING_EXTRA_BUILD_DIRS; do PHP_ADD_BUILD_DIR([$ext_builddir/$dir], 1) done - + for dir in $PHP_MBSTRING_EXTRA_INCLUDES; do PHP_ADD_INCLUDE([$ext_srcdir/$dir]) PHP_ADD_INCLUDE([$ext_builddir/$dir]) @@ -54,7 +54,7 @@ AC_DEFUN([PHP_MBSTRING_EXTENSION], [ out="php_config.h" fi fi - + for cfg in $PHP_MBSTRING_EXTRA_CONFIG_HEADERS; do cat > $ext_builddir/$cfg <<EOF #include "$out" @@ -104,14 +104,14 @@ int main() { return foo(10, "", 3.14); } AC_CHECK_SIZEOF(short, 2) AC_CHECK_SIZEOF(long, 4) AC_C_CONST - AC_HEADER_TIME + AC_HEADER_TIME AC_FUNC_ALLOCA AC_FUNC_MEMCMP AC_CHECK_HEADER([stdarg.h], [ AC_DEFINE([HAVE_STDARG_PROTOTYPES], [1], [Define to 1 if you have the <stdarg.h> header file.]) ], []) AC_DEFINE([PHP_ONIG_BUNDLED], [1], [Define to 1 if the bundled oniguruma is used]) - AC_DEFINE([HAVE_ONIG], [1], [Define to 1 if the oniguruma library is available]) + AC_DEFINE([HAVE_ONIG], [1], [Define to 1 if the oniguruma library is available]) PHP_MBSTRING_ADD_CFLAG([-DNOT_RUBY]) PHP_MBSTRING_ADD_BUILD_DIR([oniguruma]) PHP_MBSTRING_ADD_BUILD_DIR([oniguruma/enc]) @@ -171,7 +171,7 @@ int main() { return foo(10, "", 3.14); } PHP_CHECK_LIBRARY(onig, onig_init, [ PHP_ADD_LIBRARY_WITH_PATH(onig, $PHP_ONIG/$PHP_LIBDIR, MBSTRING_SHARED_LIBADD) - AC_DEFINE([HAVE_ONIG], [1], [Define to 1 if the oniguruma library is available]) + AC_DEFINE([HAVE_ONIG], [1], [Define to 1 if the oniguruma library is available]) ],[ AC_MSG_ERROR([Problem with oniguruma. Please check config.log for more information.]) ], [ @@ -312,7 +312,7 @@ AC_DEFUN([PHP_MBSTRING_SETUP_LIBMBFL], [ else dnl dnl External libmfl - dnl + dnl for inc in include include/mbfl-1.0 include/mbfl; do if test -f "$PHP_LIBMBFL/$inc/mbfilter.h"; then PHP_LIBMBFL_INCLUDE="$inc" @@ -322,7 +322,7 @@ AC_DEFUN([PHP_MBSTRING_SETUP_LIBMBFL], [ if test -z "$PHP_LIBMBFL_INCLUDE"; then AC_MSG_ERROR([mbfilter.h not found. Please reinstall libmbfl library.]) - else + else PHP_ADD_INCLUDE([$PHP_LIBMBFL_INCLUDE]) fi @@ -358,7 +358,7 @@ PHP_ARG_WITH(onig, [for external oniguruma], [ --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix. If DIR is not set, the bundled oniguruma will be used], no, no) -if test "$PHP_MBSTRING" != "no"; then +if test "$PHP_MBSTRING" != "no"; then AC_DEFINE([HAVE_MBSTRING],1,[whether to have multibyte string support]) PHP_MBSTRING_ADD_BASE_SOURCES([mbstring.c php_unicode.c mb_gpc.c]) @@ -366,7 +366,7 @@ if test "$PHP_MBSTRING" != "no"; then if test "$PHP_MBREGEX" != "no"; then PHP_MBSTRING_SETUP_MBREGEX fi - + dnl libmbfl is required PHP_MBSTRING_SETUP_LIBMBFL PHP_MBSTRING_EXTENSION diff --git a/ext/mbstring/libmbfl/INSTALL b/ext/mbstring/libmbfl/INSTALL index b07c9157cd..4a6bf169db 100644 --- a/ext/mbstring/libmbfl/INSTALL +++ b/ext/mbstring/libmbfl/INSTALL @@ -2,7 +2,7 @@ For UNIX compatible system, ./buildconf -./configure +./configure make make install diff --git a/ext/mbstring/libmbfl/LICENSE b/ext/mbstring/libmbfl/LICENSE index 3b204400cf..9a749e6855 100644 --- a/ext/mbstring/libmbfl/LICENSE +++ b/ext/mbstring/libmbfl/LICENSE @@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. - + 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an diff --git a/ext/mbstring/libmbfl/NEWS b/ext/mbstring/libmbfl/NEWS index 8217e4158f..82a763b695 100644 --- a/ext/mbstring/libmbfl/NEWS +++ b/ext/mbstring/libmbfl/NEWS @@ -10,12 +10,12 @@ version 1.3.2 August 20, 2011 version 1.3.1 August 5, 2011 - added check for invalid/obsolete utf-8 encoding (rui). - + version 1.3.0 August 1, 2011 -- added encoding conversion between Shift_JIS and Unicode (6.0 or PUA) +- added encoding conversion between Shift_JIS and Unicode (6.0 or PUA) for pictogram characters defined by mobile phone carrier in Japan (rui). - + Detailed info:https://github.com/hirokawa/libmbfl/wiki/Introduction-to-libmbflhttps:--github.com-hirokawa-libmbfl-wiki-Introduction-to-libmbfl-_edit%23 - fixed encoding conversion of cp5022x for user defined area (rui). diff --git a/ext/mbstring/libmbfl/filters/Makefile.am b/ext/mbstring/libmbfl/filters/Makefile.am index 33f9049ae9..e6327865d1 100644 --- a/ext/mbstring/libmbfl/filters/Makefile.am +++ b/ext/mbstring/libmbfl/filters/Makefile.am @@ -208,51 +208,51 @@ unicode_table_iso8859_3.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_3_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_3_H -f mk_sb_tbl.awk 8859-3.TXT > $@ -unicode_table_iso8859_4.h: mk_sb_tbl.awk +unicode_table_iso8859_4.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_4_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_4_H -f mk_sb_tbl.awk 8859-4.TXT > $@ -unicode_table_iso8859_5.h: mk_sb_tbl.awk +unicode_table_iso8859_5.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_5_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_5_H -f mk_sb_tbl.awk 8859-5.TXT > $@ -unicode_table_iso8859_6.h: mk_sb_tbl.awk +unicode_table_iso8859_6.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_6_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_6_H -f mk_sb_tbl.awk 8859-6.TXT > $@ -unicode_table_iso8859_7.h: mk_sb_tbl.awk +unicode_table_iso8859_7.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_7_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_7_H -f mk_sb_tbl.awk 8859-7.TXT > $@ -unicode_table_iso8859_8.h: mk_sb_tbl.awk +unicode_table_iso8859_8.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_8_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_8_H -f mk_sb_tbl.awk 8859-8.TXT > $@ -unicode_table_iso8859_9.h: mk_sb_tbl.awk +unicode_table_iso8859_9.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_9_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_9_H -f mk_sb_tbl.awk 8859-9.TXT > $@ -unicode_table_iso8859_10.h: mk_sb_tbl.awk +unicode_table_iso8859_10.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_10_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_10_H -f mk_sb_tbl.awk 8859-10.TXT > $@ -unicode_table_iso8859_11.h: mk_sb_tbl.awk +unicode_table_iso8859_11.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_11_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_11_H -f mk_sb_tbl.awk 8859-11.TXT > $@ -unicode_table_iso8859_13.h: mk_sb_tbl.awk +unicode_table_iso8859_13.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_13_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_13_H -f mk_sb_tbl.awk 8859-13.TXT > $@ -unicode_table_iso8859_14.h: mk_sb_tbl.awk +unicode_table_iso8859_14.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_14_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_14_H -f mk_sb_tbl.awk 8859-14.TXT > $@ -unicode_table_iso8859_15.h: mk_sb_tbl.awk +unicode_table_iso8859_15.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_15_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLE_ISO8859_15_H -f mk_sb_tbl.awk 8859-15.TXT > $@ -unicode_table_iso8859_16.h: mk_sb_tbl.awk +unicode_table_iso8859_16.h: mk_sb_tbl.awk $(AWK) -v TABLE_NAME=iso8859_16_ucs_table \ -v IFNDEF_NAME=UNICODE_TABLEISO8859_16_H -f mk_sb_tbl.awk 8859-16.TXT > $@ diff --git a/ext/mbstring/libmbfl/filters/mk_emoji_tbl.pl b/ext/mbstring/libmbfl/filters/mk_emoji_tbl.pl index 5b5c3d63ff..5bab0c602e 100755 --- a/ext/mbstring/libmbfl/filters/mk_emoji_tbl.pl +++ b/ext/mbstring/libmbfl/filters/mk_emoji_tbl.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# script to generate Shift_JIS encoded Emoji to/from Unicode conversion table. +# script to generate Shift_JIS encoded Emoji to/from Unicode conversion table. # Rui Hirokawa <hirokawa@php.net> # # usage: mktbl.pl EmojiSources.txt @@ -22,7 +22,7 @@ sub sjis2code { # Shift_JIS -> JIS $c[0] = (($c[0]-($c[0]<160?112:176))<<1)-($c[1]<159?1:0); - $c[1] -= ($c[1]<159?($c[1]>127?32:31):126); + $c[1] -= ($c[1]<159?($c[1]>127?32:31):126); $s = ($c[0] - 0x21)*94 + $c[1]-0x21; @@ -131,19 +131,19 @@ push(@r_docomo2_val, 0x00); push(@r_docomo3_key, 0x00); push(@r_docomo3_val, 0x00); -print OUT "int mb_tbl_code2uni_docomo_min = $docomo_min;\n"; -print OUT "int mb_tbl_code2uni_docomo_max = $docomo_max;\n\n"; +print OUT "int mb_tbl_code2uni_docomo_min = $docomo_min;\n"; +print OUT "int mb_tbl_code2uni_docomo_max = $docomo_max;\n\n"; print OUT "int mb_tbl_code2uni_docomo[] = {\n"; print OUT &show_code(@docomo_v); print OUT "};\n\n"; -print OUT "int mb_tbl_uni_docomo2code_min1 = $to_docomo_min1;\n"; -print OUT "int mb_tbl_uni_docomo2code_max1 = $to_docomo_max1;\n"; -print OUT "int mb_tbl_uni_docomo2code_min2 = $to_docomo_min2;\n"; -print OUT "int mb_tbl_uni_docomo2code_max2 = $to_docomo_max2;\n"; -print OUT "int mb_tbl_uni_docomo2code_min3 = $to_docomo_min3;\n"; -print OUT "int mb_tbl_uni_docomo2code_max3 = $to_docomo_max3;\n\n"; +print OUT "int mb_tbl_uni_docomo2code_min1 = $to_docomo_min1;\n"; +print OUT "int mb_tbl_uni_docomo2code_max1 = $to_docomo_max1;\n"; +print OUT "int mb_tbl_uni_docomo2code_min2 = $to_docomo_min2;\n"; +print OUT "int mb_tbl_uni_docomo2code_max2 = $to_docomo_max2;\n"; +print OUT "int mb_tbl_uni_docomo2code_min3 = $to_docomo_min3;\n"; +print OUT "int mb_tbl_uni_docomo2code_max3 = $to_docomo_max3;\n\n"; #print "DOCOMO reverse 1\n"; @@ -238,10 +238,10 @@ push(@r_kddi2_val, 0x00); push(@r_kddi3_key, 0x00); push(@r_kddi3_val, 0x00); -print OUT "int mb_tbl_code2uni_kddi1_min = $kddi_min1;\n"; -print OUT "int mb_tbl_code2uni_kddi1_max = $kddi_max1;\n"; -print OUT "int mb_tbl_code2uni_kddi2_min = $kddi_min2;\n"; -print OUT "int mb_tbl_code2uni_kddi2_max = $kddi_max2;\n\n"; +print OUT "int mb_tbl_code2uni_kddi1_min = $kddi_min1;\n"; +print OUT "int mb_tbl_code2uni_kddi1_max = $kddi_max1;\n"; +print OUT "int mb_tbl_code2uni_kddi2_min = $kddi_min2;\n"; +print OUT "int mb_tbl_code2uni_kddi2_max = $kddi_max2;\n\n"; #print "KDDI 1\n"; @@ -255,12 +255,12 @@ print OUT "int mb_tbl_code2uni_kddi2[] = {\n"; print OUT &show_code(@kddi_v2); print OUT "};\n\n"; -print OUT "int mb_tbl_uni_kddi2code_min1 = $to_kddi_min1;\n"; -print OUT "int mb_tbl_uni_kddi2code_max1 = $to_kddi_max1;\n"; -print OUT "int mb_tbl_uni_kddi2code_min2 = $to_kddi_min2;\n"; -print OUT "int mb_tbl_uni_kddi2code_max2 = $to_kddi_max2;\n"; -print OUT "int mb_tbl_uni_kddi2code_min3 = $to_kddi_min3;\n"; -print OUT "int mb_tbl_uni_kddi2code_max3 = $to_kddi_max3;\n\n"; +print OUT "int mb_tbl_uni_kddi2code_min1 = $to_kddi_min1;\n"; +print OUT "int mb_tbl_uni_kddi2code_max1 = $to_kddi_max1;\n"; +print OUT "int mb_tbl_uni_kddi2code_min2 = $to_kddi_min2;\n"; +print OUT "int mb_tbl_uni_kddi2code_max2 = $to_kddi_max2;\n"; +print OUT "int mb_tbl_uni_kddi2code_min3 = $to_kddi_min3;\n"; +print OUT "int mb_tbl_uni_kddi2code_max3 = $to_kddi_max3;\n\n"; #print "KDDI reverse 1\n"; @@ -303,7 +303,7 @@ $sb_max3 = 10153+901; if (1) { print "SoftBank\n"; - + foreach $key (sort {hex($a) <=> hex($b)} keys(%softbank)) { $s = $key; $pos = $s % 94; @@ -319,7 +319,7 @@ if (1) { $sb_v3[$key-$sb_min3] = $softbank{$key}; } } - + } $to_sb_min = 10263; @@ -362,12 +362,12 @@ push(@r_sb3_key, 0x00); push(@r_sb3_val, 0x00); -print OUT "int mb_tbl_code2uni_sb1_min = $sb_min1;\n"; -print OUT "int mb_tbl_code2uni_sb1_max = $sb_max1;\n"; -print OUT "int mb_tbl_code2uni_sb2_min = $sb_min2;\n"; -print OUT "int mb_tbl_code2uni_sb2_max = $sb_max2;\n"; -print OUT "int mb_tbl_code2uni_sb3_min = $sb_min3;\n"; -print OUT "int mb_tbl_code2uni_sb3_max = $sb_max3;\n\n"; +print OUT "int mb_tbl_code2uni_sb1_min = $sb_min1;\n"; +print OUT "int mb_tbl_code2uni_sb1_max = $sb_max1;\n"; +print OUT "int mb_tbl_code2uni_sb2_min = $sb_min2;\n"; +print OUT "int mb_tbl_code2uni_sb2_max = $sb_max2;\n"; +print OUT "int mb_tbl_code2uni_sb3_min = $sb_min3;\n"; +print OUT "int mb_tbl_code2uni_sb3_max = $sb_max3;\n\n"; #print "SoftBank 1\n"; @@ -387,12 +387,12 @@ print OUT "int mb_tbl_code2uni_sb3[] = {\n"; print OUT &show_code(@sb_v3); print OUT "};\n\n"; -print OUT "int mb_tbl_uni_sb2code_min1 = $to_sb_min1;\n"; -print OUT "int mb_tbl_uni_sb2code_max1 = $to_sb_max1;\n"; -print OUT "int mb_tbl_uni_sb2code_min2 = $to_sb_min2;\n"; -print OUT "int mb_tbl_uni_sb2code_max2 = $to_sb_max2;\n"; -print OUT "int mb_tbl_uni_sb2code_min3 = $to_sb_min3;\n"; -print OUT "int mb_tbl_uni_sb2code_max3 = $to_sb_max3;\n\n"; +print OUT "int mb_tbl_uni_sb2code_min1 = $to_sb_min1;\n"; +print OUT "int mb_tbl_uni_sb2code_max1 = $to_sb_max1;\n"; +print OUT "int mb_tbl_uni_sb2code_min2 = $to_sb_min2;\n"; +print OUT "int mb_tbl_uni_sb2code_max2 = $to_sb_max2;\n"; +print OUT "int mb_tbl_uni_sb2code_min3 = $to_sb_min3;\n"; +print OUT "int mb_tbl_uni_sb2code_max3 = $to_sb_max3;\n\n"; #print "SB reverse 1\n"; diff --git a/ext/mbstring/libmbfl/filters/mk_sb_tbl.awk b/ext/mbstring/libmbfl/filters/mk_sb_tbl.awk index f0ad290e24..8703cd199a 100755 --- a/ext/mbstring/libmbfl/filters/mk_sb_tbl.awk +++ b/ext/mbstring/libmbfl/filters/mk_sb_tbl.awk @@ -56,7 +56,7 @@ END { print "" break; } - } + } print "};" if (IFNDEF_NAME) { diff --git a/ext/mbstring/libmbfl/mbfl/mk_eaw_tbl.awk b/ext/mbstring/libmbfl/mbfl/mk_eaw_tbl.awk index 02c73f2025..d93384f9d2 100644 --- a/ext/mbstring/libmbfl/mbfl/mk_eaw_tbl.awk +++ b/ext/mbstring/libmbfl/mbfl/mk_eaw_tbl.awk @@ -78,4 +78,4 @@ END { printf("{ 0x%04x, 0x%04x }", first, prev) } print "\n};\n" -} +} diff --git a/ext/mbstring/libmbfl/tests/conv_kana.tests/conv_kana.exp b/ext/mbstring/libmbfl/tests/conv_kana.tests/conv_kana.exp index a6459fe5ac..c9b87ea961 100644 --- a/ext/mbstring/libmbfl/tests/conv_kana.tests/conv_kana.exp +++ b/ext/mbstring/libmbfl/tests/conv_kana.tests/conv_kana.exp @@ -867,7 +867,7 @@ expect { } close -set test "full-width katakanas to full-width hiragana" +set test "full-width katakanas to full-width hiragana" spawn tests/conv_kana EUC-JP "c" expect_after { "\[^\r\n\]*\r\n" { fail $test } diff --git a/ext/mbstring/libmbfl/tests/sample.c b/ext/mbstring/libmbfl/tests/sample.c index d96196495f..02d1b0528a 100644 --- a/ext/mbstring/libmbfl/tests/sample.c +++ b/ext/mbstring/libmbfl/tests/sample.c @@ -31,7 +31,7 @@ int main() convd = mbfl_buffer_converter_new(from_encoding, to_encoding, 0); ret = mbfl_buffer_converter_feed_result(convd, &string, &result); - mbfl_buffer_converter_delete(convd); + mbfl_buffer_converter_delete(convd); puts(ret->val); return 1; diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index fa2d794e1a..aa02c061e1 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -3107,7 +3107,7 @@ PHP_FUNCTION(mb_strimwidth) if (from < 0) { from += swidth; } - + if (from < 0 || (size_t)from > str_len) { php_error_docref(NULL, E_WARNING, "Start position is out of range"); RETURN_FALSE; diff --git a/ext/mbstring/php_mbregex.c b/ext/mbstring/php_mbregex.c index 7a70c63b56..5b40661b09 100644 --- a/ext/mbstring/php_mbregex.c +++ b/ext/mbstring/php_mbregex.c @@ -1450,7 +1450,7 @@ PHP_FUNCTION(mb_ereg_search_setpos) if ((position < 0) && (!Z_ISUNDEF(MBREX(search_str))) && (Z_TYPE(MBREX(search_str)) == IS_STRING)) { position += Z_STRLEN(MBREX(search_str)); } - + if (position < 0 || (!Z_ISUNDEF(MBREX(search_str)) && Z_TYPE(MBREX(search_str)) == IS_STRING && (size_t)position > Z_STRLEN(MBREX(search_str)))) { php_error_docref(NULL, E_WARNING, "Position is out of range"); MBREX(search_pos) = 0; diff --git a/ext/mbstring/tests/common.inc b/ext/mbstring/tests/common.inc index 4205cce7bc..a85bda2dd4 100644 --- a/ext/mbstring/tests/common.inc +++ b/ext/mbstring/tests/common.inc @@ -6,7 +6,7 @@ // Custom Error Hanlder for testing function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { global $debug; - + $err_type = array ( 1 => "Error", // E_ERROR 2 => "Warning", // E_WARINING @@ -22,7 +22,7 @@ function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 2048=> "Strict Notice", // E_STRICT 4096=> "Recoverable fatal error", // E_RECOVERABLE_ERROR ); - + if (!empty($debug)) { printf("%s: %s (%d)\n", $err_type[$err_no], $err_msg, $linenum); } @@ -45,7 +45,7 @@ class tc public $s1 = 'ÆüËܸìEUC-JP¤Îʸ»úÎó'; public $s2 = 'English Text'; - function __construct() + function __construct() { } } diff --git a/ext/mcrypt/config.m4 b/ext/mcrypt/config.m4 index eb5598313a..46bf30028d 100644 --- a/ext/mcrypt/config.m4 +++ b/ext/mcrypt/config.m4 @@ -1,6 +1,6 @@ dnl dnl $Id$ -dnl +dnl AC_DEFUN([PHP_MCRYPT_CHECK_VERSION],[ old_CPPFLAGS=$CPPFLAGS @@ -17,7 +17,7 @@ AC_DEFUN([PHP_MCRYPT_CHECK_VERSION],[ AC_MSG_ERROR(libmcrypt version 2.5.6 or greater required.) ]) CPPFLAGS=$old_CPPFLAGS -]) +]) PHP_ARG_WITH(mcrypt, for mcrypt support, @@ -34,7 +34,7 @@ if test "$PHP_MCRYPT" != "no"; then PHP_MCRYPT_CHECK_VERSION - PHP_CHECK_LIBRARY(mcrypt, mcrypt_module_open, + PHP_CHECK_LIBRARY(mcrypt, mcrypt_module_open, [ PHP_ADD_LIBRARY(ltdl,, MCRYPT_SHARED_LIBADD) AC_DEFINE(HAVE_LIBMCRYPT,1,[ ]) diff --git a/ext/mysqli/config.m4 b/ext/mysqli/config.m4 index c700dac819..c5dfe5dc5a 100644 --- a/ext/mysqli/config.m4 +++ b/ext/mysqli/config.m4 @@ -31,11 +31,11 @@ AC_DEFUN([PHP_MYSQL_SOCKET_SEARCH], [ PHP_ARG_WITH(mysqli, for MySQLi support, [ --with-mysqli[=FILE] Include MySQLi support. FILE is the path - to mysql_config. If no value or mysqlnd is passed + to mysql_config. If no value or mysqlnd is passed as FILE, the MySQL native driver will be used]) PHP_ARG_ENABLE(embedded_mysqli, whether to enable embedded MySQLi support, -[ --enable-embedded-mysqli +[ --enable-embedded-mysqli MYSQLi: Enable embedded support Note: Does not work with MySQL native driver!], no, no) @@ -65,7 +65,7 @@ elif test "$PHP_MYSQLI" != "no"; then else MYSQL_LIB_CFG='--libs' fi - + if test -x "$MYSQL_CONFIG" && $MYSQL_CONFIG $MYSQL_LIB_CFG > /dev/null 2>&1; then MYSQLI_INCLINE=`$MYSQL_CONFIG --cflags | $SED -e "s/'//g"` MYSQLI_LIBLINE=`$MYSQL_CONFIG $MYSQL_LIB_CFG | $SED -e "s/'//g"` diff --git a/ext/mysqli/config.w32 b/ext/mysqli/config.w32 index 9213931393..0f8e82d398 100644 --- a/ext/mysqli/config.w32 +++ b/ext/mysqli/config.w32 @@ -31,7 +31,7 @@ if (PHP_MYSQLI != "no") { PHP_INSTALL_HEADERS("ext/mysqli", "php_mysqli_structs.h"); } else { if (CHECK_LIB("libmysql.lib", "mysqli", PHP_MYSQLI) && - CHECK_HEADER_ADD_INCLUDE("mysql.h", "CFLAGS_MYSQLI", PHP_MYSQLI + + CHECK_HEADER_ADD_INCLUDE("mysql.h", "CFLAGS_MYSQLI", PHP_MYSQLI + "\\include;" + PHP_PHP_BUILD + "\\include\\mysql;" + PHP_MYSQLI)) { EXTENSION("mysqli", mysqli_source, PHP_MYSQLI_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c index 515424170e..0b291ada9b 100644 --- a/ext/mysqli/mysqli_nonapi.c +++ b/ext/mysqli/mysqli_nonapi.c @@ -185,7 +185,7 @@ void mysqli_common_connect(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_real_conne MyG(num_active_persistent)++; /* clear error */ - php_mysqli_set_error(mysql_errno(mysql->mysql), (char *) mysql_error(mysql->mysql)); + php_mysqli_set_error(mysql_errno(mysql->mysql), (char *) mysql_error(mysql->mysql)); goto end; } else { diff --git a/ext/mysqli/package.xml b/ext/mysqli/package.xml index bfeeb71850..d31152e3bf 100644 --- a/ext/mysqli/package.xml +++ b/ext/mysqli/package.xml @@ -30,7 +30,7 @@ package.xml added to support installation using pear installer </notes> <configureoptions> <configureoption name="with-mysqli" default="autodetect" prompt="path to mysql_config tool?"/> - <configureoption name="enable-embedded-mysqli" default="no" prompt="embedd mysql server into PHP?"/> + <configureoption name="enable-embedded-mysqli" default="no" prompt="embedd mysql server into PHP?"/> </configureoptions> <filelist> <file role="src" name="config.m4"/> @@ -104,7 +104,7 @@ package.xml added to support installation using pear installer <file role="test" name="tests/058.phpt"/> <file role="test" name="tests/059.phpt"/> <file role="test" name="tests/060.phpt"/> - <file role="test" name="tests/connect.inc"/> + <file role="test" name="tests/connect.inc"/> </filelist> <deps> <dep type="php" rel="ge" version="5" /> diff --git a/ext/mysqlnd/config.w32 b/ext/mysqlnd/config.w32 index 52be8f563c..d2b8df3866 100644 --- a/ext/mysqlnd/config.w32 +++ b/ext/mysqlnd/config.w32 @@ -5,7 +5,7 @@ ARG_WITH("mysqlnd", "Mysql Native Client Driver", "yes"); if (PHP_MYSQLND != "no") { if (CHECK_LIB("ws2_32.lib", "mysqlnd")) { - mysqlnd_source = + mysqlnd_source = "mysqlnd_alloc.c " + "mysqlnd_auth.c " + "mysqlnd_block_alloc.c " + diff --git a/ext/mysqlnd/mysqlnd_driver.c b/ext/mysqlnd/mysqlnd_driver.c index 59b1349d63..73a53b2bba 100644 --- a/ext/mysqlnd/mysqlnd_driver.c +++ b/ext/mysqlnd/mysqlnd_driver.c @@ -208,7 +208,7 @@ MYSQLND_METHOD(mysqlnd_object_factory, get_prepared_statement)(MYSQLND_CONN_DATA stmt->persistent = persistent; if (FAIL == mysqlnd_error_info_init(&stmt->error_info_impl, persistent)) { - break; + break; } stmt->error_info = &stmt->error_info_impl; diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index a9a603c6a9..cacaa8057b 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -734,7 +734,7 @@ MYSQLND_METHOD(mysqlnd_stmt, send_execute)(MYSQLND_STMT * const s, const enum_my if (command) { ret = command->run(command); command->free_command(command); - } + } } else { SET_CLIENT_ERROR(stmt->error_info, CR_UNKNOWN_ERROR, UNKNOWN_SQLSTATE, "Couldn't generate the request. Possibly OOM."); } @@ -1069,7 +1069,7 @@ mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES * result, void * param, const unsigned ret = command->run(command); command->free_command(command); if (ret == FAIL) { - COPY_CLIENT_ERROR(stmt->error_info, *conn->error_info); + COPY_CLIENT_ERROR(stmt->error_info, *conn->error_info); } } if (FAIL == ret) { diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c index 29f89e88e0..1e38b76ff6 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -1469,7 +1469,7 @@ php_mysqlnd_read_row_ex(MYSQLND_PFC * pfc, size_t prealloc_more_bytes; DBG_ENTER("php_mysqlnd_read_row_ex"); - + /* To ease the process the server splits everything in packets up to 2^24 - 1. Even in the case the payload is evenly divisible by this value, the last @@ -1483,7 +1483,7 @@ php_mysqlnd_read_row_ex(MYSQLND_PFC * pfc, needs to be able to append a terminating \0 for atoi/atof. */ prealloc_more_bytes = 1; - + *data_size = 0; while (1) { if (FAIL == mysqlnd_read_header(pfc, vio, &header, stats, error_info)) { diff --git a/ext/odbc/config.m4 b/ext/odbc/config.m4 index ecee15fd1c..21fd94c8ec 100644 --- a/ext/odbc/config.m4 +++ b/ext/odbc/config.m4 @@ -12,28 +12,28 @@ dnl dnl Figure out which library file to link with for the Solid support. dnl AC_DEFUN([PHP_ODBC_FIND_SOLID_LIBS],[ - AC_MSG_CHECKING([Solid library file]) + AC_MSG_CHECKING([Solid library file]) ac_solid_uname_r=`uname -r 2>/dev/null` ac_solid_uname_s=`uname -s 2>/dev/null` case $ac_solid_uname_s in AIX) ac_solid_os=a3x;; # a4x for AIX4/ Solid 2.3/3.0 only HP-UX) ac_solid_os=h9x;; # h1x for hpux11, h0x for hpux10 IRIX) ac_solid_os=irx;; # Solid 2.3(?)/ 3.0 only - Linux) + Linux) if ldd -v /bin/sh | grep GLIBC > /dev/null; then AC_DEFINE(SS_LINUX,1,[Needed in sqlunix.h ]) ac_solid_os=l2x else AC_DEFINE(SS_LINUX,1,[Needed in sqlunix.h ]) ac_solid_os=lux - fi;; - SunOS) + fi;; + SunOS) ac_solid_os=ssx;; # should we deal with SunOS 4? - FreeBSD) + FreeBSD) if test `expr $ac_solid_uname_r : '\(.\)'` -gt "2"; then AC_DEFINE(SS_FBX,1,[Needed in sqlunix.h for wchar defs ]) ac_solid_os=fex - else + else AC_DEFINE(SS_FBX,1,[Needed in sqlunix.h for wchar defs ]) ac_solid_os=fbx fi;; @@ -311,7 +311,7 @@ fi if test -z "$ODBC_TYPE"; then PHP_ARG_WITH(birdstep,, [ --with-birdstep[=DIR] Include Birdstep support [/usr/local/birdstep]]) - + AC_MSG_CHECKING(for Birdstep support) if test "$PHP_BIRDSTEP" != "no"; then if test "$PHP_BIRDSTEP" = "yes"; then @@ -321,7 +321,7 @@ PHP_ARG_WITH(birdstep,, ODBC_INCDIR=$PHP_BIRDSTEP/include ODBC_LIBDIR=$PHP_BIRDSTEP/$PHP_LIBDIR fi - + case $host_alias in *aix*[)] AC_DEFINE(AIX,1,[ ]);; @@ -361,7 +361,7 @@ if test -z "$ODBC_TYPE"; then PHP_ARG_WITH(custom-odbc,, [ --with-custom-odbc[=DIR] Include user defined ODBC support. DIR is ODBC install base directory [/usr/local]. Make sure to define CUSTOM_ODBC_LIBS and - have some odbc.h in your include dirs. f.e. you should define + have some odbc.h in your include dirs. f.e. you should define following for Sybase SQL Anywhere 5.5.00 on QNX, prior to running this configure script: CPPFLAGS=\"-DODBC_QNX -DSQLANY_BUG\" @@ -394,7 +394,7 @@ PHP_ARG_WITH(iodbc,, if test "$PHP_IODBC" != "no"; then if test -z "$PKG_CONFIG"; then AC_PATH_PROG(PKG_CONFIG, pkg-config, no) - fi + fi if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libiodbc ; then PHP_ADD_LIBRARY_WITH_PATH(iodbc, $PHP_IODBC/$PHP_LIBDIR) ODBC_TYPE=iodbc @@ -540,7 +540,7 @@ if test -n "$ODBC_TYPE"; then AC_DEFINE(HAVE_SQLDATASOURCES,1,[ ]) fi fi - + AC_DEFINE(HAVE_UODBC,1,[ ]) PHP_SUBST(ODBC_SHARED_LIBADD) PHP_SUBST(ODBC_INCDIR) diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 514b8de74d..be46caf315 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -25,7 +25,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif - + #include "php.h" #include "php_globals.h" @@ -394,13 +394,13 @@ static PHP_GINIT_FUNCTION(odbc); */ zend_module_entry odbc_module_entry = { STANDARD_MODULE_HEADER, - "odbc", - odbc_functions, - PHP_MINIT(odbc), + "odbc", + odbc_functions, + PHP_MINIT(odbc), PHP_MSHUTDOWN(odbc), - PHP_RINIT(odbc), - PHP_RSHUTDOWN(odbc), - PHP_MINFO(odbc), + PHP_RINIT(odbc), + PHP_RSHUTDOWN(odbc), + PHP_MINFO(odbc), PHP_ODBC_VERSION, PHP_MODULE_GLOBALS(odbc), PHP_GINIT(odbc), @@ -424,7 +424,7 @@ static void _free_odbc_result(zend_resource *rsrc) odbc_result *res = (odbc_result *)rsrc->ptr; int i; RETCODE rc; - + if (res) { if (res->values) { for(i = 0; i < res->numcols; i++) { @@ -588,7 +588,7 @@ static PHP_INI_DISP(display_defPW) static PHP_INI_DISP(display_binmode) { char *value; - + if (type == PHP_INI_DISPLAY_ORIG && ini_entry->modified) { value = ZSTR_VAL(ini_entry->orig_value); } else if (ini_entry->value) { @@ -680,7 +680,7 @@ static PHP_INI_DISP(display_cursortype) /* }}} */ -/* {{{ PHP_INI_BEGIN +/* {{{ PHP_INI_BEGIN */ PHP_INI_BEGIN() STD_PHP_INI_BOOLEAN("odbc.allow_persistent", "1", PHP_INI_SYSTEM, OnUpdateLong, @@ -701,7 +701,7 @@ PHP_INI_BEGIN() defaultbinmode, zend_odbc_globals, odbc_globals, display_binmode) STD_PHP_INI_BOOLEAN("odbc.check_persistent", "1", PHP_INI_SYSTEM, OnUpdateLong, check_persistent, zend_odbc_globals, odbc_globals) - STD_PHP_INI_ENTRY_EX("odbc.default_cursortype", "3", PHP_INI_ALL, OnUpdateLong, + STD_PHP_INI_ENTRY_EX("odbc.default_cursortype", "3", PHP_INI_ALL, OnUpdateLong, default_cursortype, zend_odbc_globals, odbc_globals, display_cursortype) PHP_INI_END() /* }}} */ @@ -727,7 +727,7 @@ PHP_MINIT_FUNCTION(odbc) le_conn = zend_register_list_destructors_ex(_close_odbc_conn, NULL, "odbc link", module_number); le_pconn = zend_register_list_destructors_ex(NULL, _close_odbc_pconn, "odbc link persistent", module_number); odbc_module_entry.type = type; - + REGISTER_STRING_CONSTANT("ODBC_TYPE", PHP_ODBC_TYPE, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("ODBC_BINMODE_PASSTHRU", 0, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("ODBC_BINMODE_RETURN", 1, CONST_CS | CONST_PERSISTENT); @@ -752,7 +752,7 @@ PHP_MINIT_FUNCTION(odbc) REGISTER_LONG_CONSTANT("SQL_CURSOR_KEYSET_DRIVEN", SQL_CURSOR_KEYSET_DRIVEN, CONST_PERSISTENT | CONST_CS); REGISTER_LONG_CONSTANT("SQL_CURSOR_DYNAMIC", SQL_CURSOR_DYNAMIC, CONST_PERSISTENT | CONST_CS); REGISTER_LONG_CONSTANT("SQL_CURSOR_STATIC", SQL_CURSOR_STATIC, CONST_PERSISTENT | CONST_CS); - + REGISTER_LONG_CONSTANT("SQL_KEYSET_SIZE", SQL_KEYSET_SIZE, CONST_PERSISTENT | CONST_CS); /* these are for the Data Source type */ @@ -870,7 +870,7 @@ PHP_MINFO_FUNCTION(odbc) DISPLAY_INI_ENTRIES(); -} +} /* }}} */ /* {{{ odbc_sql_error */ @@ -890,7 +890,7 @@ void odbc_sql_error(ODBC_SQL_ERROR_PARAMS) conn = SQL_NULL_HDBC; } - /* This leads to an endless loop in many drivers! + /* This leads to an endless loop in many drivers! * while(henv != SQL_NULL_HENV){ do { @@ -909,7 +909,7 @@ void odbc_sql_error(ODBC_SQL_ERROR_PARAMS) } else { php_error_docref(NULL, E_WARNING, "SQL error: %s, SQL state %s", ODBCG(lasterrormsg), ODBCG(laststate)); } - /* + /* } while (SQL_SUCCEEDED(rc)); } */ @@ -930,7 +930,7 @@ void php_odbc_fetch_attribs(INTERNAL_FUNCTION_PARAMETERS, int mode) if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } - + if (mode) { result->longreadlen = flag; } else { @@ -962,13 +962,13 @@ int odbc_bindcols(odbc_result *result) rc = PHP_ODBC_SQLCOLATTRIBUTE(result->stmt, (SQLUSMALLINT)(i+1), PHP_ODBC_SQL_DESC_NAME, result->values[i].name, sizeof(result->values[i].name), &colnamelen, 0); - rc = PHP_ODBC_SQLCOLATTRIBUTE(result->stmt, (SQLUSMALLINT)(i+1), SQL_COLUMN_TYPE, + rc = PHP_ODBC_SQLCOLATTRIBUTE(result->stmt, (SQLUSMALLINT)(i+1), SQL_COLUMN_TYPE, NULL, 0, NULL, &result->values[i].coltype); - + /* Don't bind LONG / BINARY columns, so that fetch behaviour can * be controlled by odbc_binmode() / odbc_longreadlen() */ - + switch(result->values[i].coltype) { case SQL_BINARY: case SQL_VARBINARY: @@ -979,7 +979,7 @@ int odbc_bindcols(odbc_result *result) #endif result->values[i].value = NULL; break; - + #ifdef HAVE_ADABAS case SQL_TIMESTAMP: result->values[i].value = (char *)emalloc(27); @@ -1059,7 +1059,7 @@ void odbc_transact(INTERNAL_FUNCTION_PARAMETERS, int type) odbc_connection *conn; RETCODE rc; zval *pv_conn; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &pv_conn) == FAILURE) { return; } @@ -1067,7 +1067,7 @@ void odbc_transact(INTERNAL_FUNCTION_PARAMETERS, int type) if (!(conn = (odbc_connection *)zend_fetch_resource2(Z_RES_P(pv_conn), "ODBC-Link", le_conn, le_pconn))) { RETURN_FALSE; } - + rc = SQLTransact(conn->henv, conn->hdbc, (SQLUSMALLINT)((type)?SQL_COMMIT:SQL_ROLLBACK)); if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { odbc_sql_error(conn, SQL_NULL_HSTMT, "SQLTransact"); @@ -1094,7 +1094,7 @@ void odbc_column_lengths(INTERNAL_FUNCTION_PARAMETERS, int type) { odbc_result *result; #if defined(HAVE_SOLID) || defined(HAVE_SOLID_30) - /* this seems to be necessary for Solid2.3 ( tested by + /* this seems to be necessary for Solid2.3 ( tested by * tammy@synchronis.com) and Solid 3.0 (tested by eric@terra.telemediair.nl) * Solid does not seem to declare a SQLINTEGER, but it does declare a * SQL_INTEGER which does not work (despite being the same type as a SDWORD. @@ -1163,7 +1163,7 @@ PHP_FUNCTION(odbc_close_all) } else if (p->type == le_pconn){ zend_list_close(p); /* Delete the persistent connection */ - zend_hash_apply_with_argument(&EG(persistent_list), + zend_hash_apply_with_argument(&EG(persistent_list), (apply_func_arg_t) _close_pconn_with_res, (void *)p); } } @@ -1211,10 +1211,10 @@ PHP_FUNCTION(odbc_prepare) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + result->numparams = 0; result->param_info = NULL; - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -1255,7 +1255,7 @@ PHP_FUNCTION(odbc_prepare) odbc_sql_error(conn, result->stmt, "SQLPrepare"); RETURN_FALSE; } - + SQLNumParams(result->stmt, &(result->numparams)); SQLNumResultCols(result->stmt, &(result->numcols)); @@ -1295,7 +1295,7 @@ PHP_FUNCTION(odbc_prepare) /* {{{ proto bool odbc_execute(resource result_id [, array parameters_array]) Execute a prepared statement */ PHP_FUNCTION(odbc_execute) -{ +{ zval *pv_res, *pv_param_arr, *tmp; typedef struct params_t { SQLLEN vallen; @@ -1308,9 +1308,9 @@ PHP_FUNCTION(odbc_execute) odbc_result *result; int numArgs, i, ne; RETCODE rc; - + numArgs = ZEND_NUM_ARGS(); - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|a", &pv_res, &pv_param_arr) == FAILURE) { return; } @@ -1318,7 +1318,7 @@ PHP_FUNCTION(odbc_execute) if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } - + /* XXX check for already bound parameters*/ if (result->numparams > 0 && numArgs == 1) { php_error_docref(NULL, E_WARNING, "No parameters to SQL statement given"); @@ -1336,7 +1336,7 @@ PHP_FUNCTION(odbc_execute) for(i = 0; i < result->numparams; i++) { params[i].fp = -1; } - + for(i = 1; i <= result->numparams; i++) { if ((tmp = zend_hash_get_current_data(Z_ARRVAL_P(pv_param_arr))) == NULL) { php_error_docref(NULL, E_WARNING,"Error getting parameter"); @@ -1363,7 +1363,7 @@ PHP_FUNCTION(odbc_execute) efree(params); RETURN_FALSE; } - + params[i-1].vallen = Z_STRLEN_P(tmp); params[i-1].fp = -1; @@ -1376,7 +1376,7 @@ PHP_FUNCTION(odbc_execute) if (Z_STRLEN_P(tmp) > 2 && Z_STRVAL_P(tmp)[0] == '\'' && Z_STRVAL_P(tmp)[Z_STRLEN_P(tmp) - 1] == '\'') { - + if (CHECK_ZVAL_NULL_PATH(tmp)) { RETURN_FALSE; } @@ -1431,7 +1431,7 @@ PHP_FUNCTION(odbc_execute) ¶ms[i-1].vallen); } if (rc == SQL_ERROR) { - odbc_sql_error(result->conn_ptr, result->stmt, "SQLBindParameter"); + odbc_sql_error(result->conn_ptr, result->stmt, "SQLBindParameter"); SQLFreeStmt(result->stmt, SQL_RESET_PARAMS); for (i = 0; i < result->numparams; i++) { if (params[i].fp != -1) { @@ -1448,7 +1448,7 @@ PHP_FUNCTION(odbc_execute) rc = SQLFreeStmt(result->stmt, SQL_CLOSE); if (rc == SQL_ERROR) { - odbc_sql_error(result->conn_ptr, result->stmt, "SQLFreeStmt"); + odbc_sql_error(result->conn_ptr, result->stmt, "SQLFreeStmt"); } rc = SQLExecute(result->stmt); @@ -1477,8 +1477,8 @@ PHP_FUNCTION(odbc_execute) odbc_sql_error(result->conn_ptr, result->stmt, "SQLExecute"); RETVAL_FALSE; } - } - + } + if (result->numparams > 0) { SQLFreeStmt(result->stmt, SQL_RESET_PARAMS); for(i = 0; i < result->numparams; i++) { @@ -1518,7 +1518,7 @@ PHP_FUNCTION(odbc_cursor) char *cursorname; odbc_result *result; RETCODE rc; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &pv_res) == FAILURE) { return; } @@ -1531,7 +1531,7 @@ PHP_FUNCTION(odbc_cursor) if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { RETURN_FALSE; } - + if (max_len > 0) { cursorname = emalloc(max_len + 1); rc = SQLGetCursorName(result->stmt,cursorname,(SQLSMALLINT)max_len,&len); @@ -1594,12 +1594,12 @@ PHP_FUNCTION(odbc_data_source) } /* now we have the "connection" lets call the DataSource object */ - rc = SQLDataSources(conn->henv, + rc = SQLDataSources(conn->henv, fetch_type, server_name, (SQLSMALLINT)sizeof(server_name), &len1, - desc, + desc, (SQLSMALLINT)sizeof(desc), &len2); @@ -1641,7 +1641,7 @@ PHP_FUNCTION(odbc_exec) #endif numArgs = ZEND_NUM_ARGS(); - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|l", &pv_conn, &query, &query_len, &pv_flags) == FAILURE) { return; } @@ -1649,7 +1649,7 @@ PHP_FUNCTION(odbc_exec) if (!(conn = (odbc_connection *)zend_fetch_resource2(Z_RES_P(pv_conn), "ODBC-Link", le_conn, le_pconn))) { RETURN_FALSE; } - + result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); @@ -1664,7 +1664,7 @@ PHP_FUNCTION(odbc_exec) efree(result); RETURN_FALSE; } - + #ifdef HAVE_SQL_EXTENDED_FETCH /* Solid doesn't have ExtendedFetch, if DriverManager is used, get Info, whether Driver supports ExtendedFetch */ @@ -1682,18 +1682,18 @@ PHP_FUNCTION(odbc_exec) #endif rc = SQLExecDirect(result->stmt, query, SQL_NTS); - if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO && rc != SQL_NO_DATA_FOUND) { + if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO && rc != SQL_NO_DATA_FOUND) { /* XXX FIXME we should really check out SQLSTATE with SQLError * in case rc is SQL_SUCCESS_WITH_INFO here. */ - odbc_sql_error(conn, result->stmt, "SQLExecDirect"); + odbc_sql_error(conn, result->stmt, "SQLExecDirect"); SQLFreeStmt(result->stmt, SQL_DROP); efree(result); RETURN_FALSE; } SQLNumResultCols(result->stmt, &(result->numcols)); - + /* For insert, update etc. cols == 0 */ if (result->numcols > 0) { if (!odbc_bindcols(result)) { @@ -1732,7 +1732,7 @@ static void php_odbc_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|l", &pv_res, &pv_row) == FAILURE) { return; } - + rownum = pv_row; #else zval *pv_res, tmp; @@ -1765,9 +1765,9 @@ static void php_odbc_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { RETURN_FALSE; } - + array_init(return_value); - + #ifdef HAVE_SQL_EXTENDED_FETCH if (rownum > 0 && result->fetch_abs) result->fetched = rownum; @@ -1796,11 +1796,11 @@ static void php_odbc_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) if (IS_SQL_LONG(result->values[i].coltype) && result->longreadlen <= 0) { ZVAL_EMPTY_STRING(&tmp); break; - } + } if (buf == NULL) { buf = emalloc(result->longreadlen + 1); } - + rc = SQLGetData(result->stmt, (SQLUSMALLINT)(i + 1), sql_c_type, buf, result->longreadlen + 1, &result->values[i].vallen); if (rc == SQL_ERROR) { @@ -1866,7 +1866,7 @@ PHP_FUNCTION(odbc_fetch_array) #endif /* {{{ proto int odbc_fetch_into(resource result_id, array &result_array [, int rownumber]) - Fetch one result row into an array */ + Fetch one result row into an array */ PHP_FUNCTION(odbc_fetch_into) { int i; @@ -1886,7 +1886,7 @@ PHP_FUNCTION(odbc_fetch_into) if (zend_parse_parameters(ZEND_NUM_ARGS(), "rz/|l", &pv_res, &pv_res_arr, &pv_row) == FAILURE) { return; } - + rownum = pv_row; #else if (zend_parse_parameters(ZEND_NUM_ARGS(), "rz/", &pv_res, &pv_res_arr) == FAILURE) { @@ -1897,12 +1897,12 @@ PHP_FUNCTION(odbc_fetch_into) if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } - + if (result->numcols == 0) { php_error_docref(NULL, E_WARNING, "No tuples available at this result index"); RETURN_FALSE; } - + if (Z_TYPE_P(pv_res_arr) != IS_ARRAY) { array_init(pv_res_arr); } @@ -1940,7 +1940,7 @@ PHP_FUNCTION(odbc_fetch_into) ZVAL_EMPTY_STRING(&tmp); break; } - if (result->binmode == 1) sql_c_type = SQL_C_BINARY; + if (result->binmode == 1) sql_c_type = SQL_C_BINARY; case SQL_LONGVARCHAR: #if defined(ODBCVER) && (ODBCVER >= 0x0300) @@ -1982,23 +1982,23 @@ PHP_FUNCTION(odbc_fetch_into) zend_hash_index_update(Z_ARRVAL_P(pv_res_arr), i, &tmp); } if (buf) efree(buf); - RETURN_LONG(result->numcols); + RETURN_LONG(result->numcols); } /* }}} */ /* {{{ proto bool solid_fetch_prev(resource result_id) - */ + */ #if defined(HAVE_SOLID) || defined(HAVE_SOLID_30) || defined(HAVE_SOLID_35) PHP_FUNCTION(solid_fetch_prev) { odbc_result *result; RETCODE rc; zval *pv_res; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &pv_res) == FAILURE) { return; } - + if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } @@ -2038,13 +2038,13 @@ PHP_FUNCTION(odbc_fetch_row) if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|l", &pv_res, &pv_row) == FAILURE) { return; } - + rownum = pv_row; - + if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } - + if (result->numcols == 0) { php_error_docref(NULL, E_WARNING, "No tuples available at this result index"); RETURN_FALSE; @@ -2064,19 +2064,19 @@ PHP_FUNCTION(odbc_fetch_row) if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { RETURN_FALSE; } - + if (ZEND_NUM_ARGS() > 1) { result->fetched = rownum; } else { result->fetched++; } - + RETURN_TRUE; -} +} /* }}} */ /* {{{ proto mixed odbc_result(resource result_id, mixed field) - Get result data */ + Get result data */ PHP_FUNCTION(odbc_result) { char *field; @@ -2099,23 +2099,23 @@ PHP_FUNCTION(odbc_result) if (zend_parse_parameters(ZEND_NUM_ARGS(), "rz", &pv_res, &pv_field) == FAILURE) { return; } - + if (Z_TYPE_P(pv_field) == IS_STRING) { field = Z_STRVAL_P(pv_field); } else { convert_to_long_ex(pv_field); field_ind = Z_LVAL_P(pv_field) - 1; } - + if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } - + if ((result->numcols == 0)) { php_error_docref(NULL, E_WARNING, "No tuples available at this result index"); RETURN_FALSE; } - + /* get field index if the field parameter was a string */ if (field != NULL) { if (result->values == NULL) { @@ -2154,7 +2154,7 @@ PHP_FUNCTION(odbc_result) if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { RETURN_FALSE; } - + result->fetched++; } @@ -2166,7 +2166,7 @@ PHP_FUNCTION(odbc_result) sql_c_type = SQL_C_BINARY; } if (result->binmode <= 0) { - break; + break; } case SQL_LONGVARCHAR: #if defined(ODBCVER) && (ODBCVER >= 0x0300) @@ -2179,7 +2179,7 @@ PHP_FUNCTION(odbc_result) fieldsize = result->longreadlen; } } else { - PHP_ODBC_SQLCOLATTRIBUTE(result->stmt, (SQLUSMALLINT)(field_ind + 1), + PHP_ODBC_SQLCOLATTRIBUTE(result->stmt, (SQLUSMALLINT)(field_ind + 1), (SQLUSMALLINT)((sql_c_type == SQL_C_BINARY) ? SQL_COLUMN_LENGTH : SQL_COLUMN_DISPLAY_SIZE), NULL, 0, NULL, &fieldsize); @@ -2189,7 +2189,7 @@ PHP_FUNCTION(odbc_result) field_str = zend_string_alloc(fieldsize, 0); /* SQLGetData will truncate CHAR data to fieldsize - 1 bytes and append \0. - * For binary data it is truncated to fieldsize bytes. + * For binary data it is truncated to fieldsize bytes. */ rc = SQLGetData(result->stmt, (SQLUSMALLINT)(field_ind + 1), sql_c_type, ZSTR_VAL(field_str), fieldsize, &result->values[field_ind].vallen); @@ -2207,7 +2207,7 @@ PHP_FUNCTION(odbc_result) zend_string_free(field_str); RETURN_FALSE; } - /* Reduce fieldlen by 1 if we have char data. One day we might + /* Reduce fieldlen by 1 if we have char data. One day we might have binary strings... */ if ((result->values[field_ind].coltype == SQL_LONGVARCHAR) #if defined(ODBCVER) && (ODBCVER >= 0x0300) @@ -2224,7 +2224,7 @@ PHP_FUNCTION(odbc_result) } RETURN_NEW_STR(field_str); break; - + default: if (result->values[field_ind].vallen == SQL_NULL_DATA) { RETURN_NULL(); @@ -2235,11 +2235,11 @@ PHP_FUNCTION(odbc_result) } /* If we come here, output unbound LONG and/or BINARY column data to the client */ - + /* We emalloc 1 byte more for SQL_C_CHAR (trailing \0) */ fieldsize = (sql_c_type == SQL_C_CHAR) ? 4096 : 4095; field = emalloc(fieldsize); - + /* Call SQLGetData() until SQL_SUCCESS is returned */ while(1) { rc = SQLGetData(result->stmt, (SQLUSMALLINT)(field_ind + 1),sql_c_type, field, fieldsize, &result->values[field_ind].vallen); @@ -2249,7 +2249,7 @@ PHP_FUNCTION(odbc_result) efree(field); RETURN_FALSE; } - + if (result->values[field_ind].vallen == SQL_NULL_DATA) { efree(field); RETURN_NULL(); @@ -2285,11 +2285,11 @@ PHP_FUNCTION(odbc_result_all) if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|s", &pv_res, &pv_format, &pv_format_len) == FAILURE) { return; } - + if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } - + if (result->numcols == 0) { php_error_docref(NULL, E_WARNING, "No tuples available at this result index"); RETURN_FALSE; @@ -2298,21 +2298,21 @@ PHP_FUNCTION(odbc_result_all) if (result->fetch_abs) rc = SQLExtendedFetch(result->stmt,SQL_FETCH_NEXT,1,&crow,RowStatus); else -#endif +#endif rc = SQLFetch(result->stmt); if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { php_printf("<h2>No rows found</h2>\n"); RETURN_LONG(0); } - + /* Start table tag */ if (ZEND_NUM_ARGS() == 1) { php_printf("<table><tr>"); } else { php_printf("<table %s ><tr>", pv_format); } - + for (i = 0; i < result->numcols; i++) { php_printf("<th>%s</th>", result->values[i].name); } @@ -2332,14 +2332,14 @@ PHP_FUNCTION(odbc_result_all) php_printf("<td>Not printable</td>"); break; } - if (result->binmode <= 1) sql_c_type = SQL_C_BINARY; + if (result->binmode <= 1) sql_c_type = SQL_C_BINARY; case SQL_LONGVARCHAR: #if defined(ODBCVER) && (ODBCVER >= 0x0300) case SQL_WLONGVARCHAR: #endif - if (IS_SQL_LONG(result->values[i].coltype) && + if (IS_SQL_LONG(result->values[i].coltype) && result->longreadlen <= 0) { - php_printf("<td>Not printable</td>"); + php_printf("<td>Not printable</td>"); break; } @@ -2348,7 +2348,7 @@ PHP_FUNCTION(odbc_result_all) } rc = SQLGetData(result->stmt, (SQLUSMALLINT)(i + 1),sql_c_type, buf, result->longreadlen, &result->values[i].vallen); - + php_printf("<td>"); if (rc == SQL_ERROR) { @@ -2383,7 +2383,7 @@ PHP_FUNCTION(odbc_result_all) rc = SQLExtendedFetch(result->stmt,SQL_FETCH_NEXT,1,&crow,RowStatus); else #endif - rc = SQLFetch(result->stmt); + rc = SQLFetch(result->stmt); } php_printf("</table>\n"); if (buf) efree(buf); @@ -2416,9 +2416,9 @@ PHP_FUNCTION(odbc_free_result) efree(result->values); result->values = NULL; } - + zend_list_close(Z_RES_P(pv_res)); - + RETURN_TRUE; } /* }}} */ @@ -2443,14 +2443,14 @@ PHP_FUNCTION(odbc_pconnect) int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int cur_opt, int persistent) { RETCODE rc; - + *conn = (odbc_connection *)pemalloc(sizeof(odbc_connection), persistent); memset(*conn, 0, sizeof(odbc_connection)); (*conn)->persistent = persistent; SQLAllocEnv(&((*conn)->henv)); SQLAllocConnect((*conn)->henv, &((*conn)->hdbc)); - -#if defined(HAVE_SOLID) || defined(HAVE_SOLID_30) + +#if defined(HAVE_SOLID) || defined(HAVE_SOLID_30) SQLSetConnectOption((*conn)->hdbc, SQL_TRANSLATE_OPTION, SQL_SOLID_XLATOPT_NOCNV); #endif @@ -2513,7 +2513,7 @@ int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int /* Possible fix for bug #10250 * Needs testing on UnixODBC < 2.0.5 though. */ #if defined(HAVE_EMPRESS) || defined(HAVE_UNIXODBC) || defined(PHP_WIN32) || defined (HAVE_IODBC) -/* * Uncomment the line above, and comment line below to fully test +/* * Uncomment the line above, and comment line below to fully test * #ifdef HAVE_EMPRESS */ { int direct = 0; @@ -2561,7 +2561,7 @@ int odbc_sqlconnect(odbc_connection **conn, char *db, char *uid, char *pwd, int /* Persistent connections: two list-types le_pconn, le_conn and a plist * where hashed connection info is stored together with index pointer to - * the actual link of type le_pconn in the list. Only persistent + * the actual link of type le_pconn in the list. Only persistent * connections get hashed up. Normal connections use existing pconnections. * Maybe this has to change with regard to transactions on pconnections? * Possibly set autocommit to on on request shutdown. @@ -2588,14 +2588,14 @@ void odbc_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|l", &db, &db_len, &uid, &uid_len, &pwd, &pwd_len, &pv_opt) == FAILURE) { return; } - + cur_opt = pv_opt; - + if (ZEND_NUM_ARGS() > 3) { /* Confirm the cur_opt range */ - if (! (cur_opt == SQL_CUR_USE_IF_NEEDED || - cur_opt == SQL_CUR_USE_ODBC || - cur_opt == SQL_CUR_USE_DRIVER || + if (! (cur_opt == SQL_CUR_USE_IF_NEEDED || + cur_opt == SQL_CUR_USE_ODBC || + cur_opt == SQL_CUR_USE_DRIVER || cur_opt == SQL_CUR_DEFAULT) ) { php_error_docref(NULL, E_WARNING, "Invalid Cursor type (%d)", cur_opt); RETURN_FALSE; @@ -2619,11 +2619,11 @@ try_and_get_another_connection: if (persistent) { zend_resource *le; - + /* the link is not in the persistent list */ if ((le = zend_hash_str_find_ptr(&EG(persistent_list), hashed_details, hashed_len)) == NULL) { zend_resource new_le; - + if (ODBCG(max_links) != -1 && ODBCG(num_links) >= ODBCG(max_links)) { php_error_docref(NULL, E_WARNING, "Too many open links (%ld)", ODBCG(num_links)); efree(hashed_details); @@ -2634,12 +2634,12 @@ try_and_get_another_connection: efree(hashed_details); RETURN_FALSE; } - + if (!odbc_sqlconnect(&db_conn, db, uid, pwd, cur_opt, 1)) { efree(hashed_details); RETURN_FALSE; } - + new_le.type = le_pconn; new_le.ptr = db_conn; new_le.handle = -1; @@ -2670,13 +2670,13 @@ try_and_get_another_connection: UCHAR d_name[32]; SQLSMALLINT len; - ret = SQLGetInfo(db_conn->hdbc, - SQL_DATA_SOURCE_READ_ONLY, + ret = SQLGetInfo(db_conn->hdbc, + SQL_DATA_SOURCE_READ_ONLY, d_name, sizeof(d_name), &len); if(ret != SQL_SUCCESS || len == 0) { zend_hash_str_del(&EG(persistent_list), hashed_details, hashed_len); - /* Commented out to fix a possible double closure error + /* Commented out to fix a possible double closure error * when working with persistent connections as submitted by * bug #15758 * @@ -2691,7 +2691,7 @@ try_and_get_another_connection: RETVAL_RES(db_conn->res); } else { /* non persistent */ zend_resource *index_ptr, new_index_ptr; - + if ((index_ptr = zend_hash_str_find_ptr(&EG(regular_list), hashed_details, hashed_len)) != NULL) { zend_ulong conn_id; zend_resource *p; @@ -2765,11 +2765,11 @@ PHP_FUNCTION(odbc_close) } } } ZEND_HASH_FOREACH_END(); - + zend_list_close(Z_RES_P(pv_conn)); - + if(is_pconn){ - zend_hash_apply_with_argument(&EG(persistent_list), (apply_func_arg_t) _close_pconn_with_res, (void *) Z_RES_P(pv_conn)); + zend_hash_apply_with_argument(&EG(persistent_list), (apply_func_arg_t) _close_pconn_with_res, (void *) Z_RES_P(pv_conn)); } } /* }}} */ @@ -2781,7 +2781,7 @@ PHP_FUNCTION(odbc_num_rows) odbc_result *result; SQLLEN rows; zval *pv_res; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &pv_res) == FAILURE) { return; } @@ -2874,30 +2874,30 @@ PHP_FUNCTION(odbc_field_name) odbc_result *result; zval *pv_res; zend_long pv_num; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &pv_res, &pv_num) == FAILURE) { return; } - + if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } - + if (result->numcols == 0) { php_error_docref(NULL, E_WARNING, "No tuples available at this result index"); RETURN_FALSE; } - + if (pv_num > result->numcols) { php_error_docref(NULL, E_WARNING, "Field index larger than number of fields"); RETURN_FALSE; } - + if (pv_num < 1) { php_error_docref(NULL, E_WARNING, "Field numbering starts at 1"); RETURN_FALSE; } - + RETURN_STRING(result->values[pv_num - 1].name); } /* }}} */ @@ -2924,7 +2924,7 @@ PHP_FUNCTION(odbc_field_type) php_error_docref(NULL, E_WARNING, "No tuples available at this result index"); RETURN_FALSE; } - + if (pv_num > result->numcols) { php_error_docref(NULL, E_WARNING, "Field index larger than number of fields"); RETURN_FALSE; @@ -2952,7 +2952,7 @@ PHP_FUNCTION(odbc_field_len) Get the scale of a column */ PHP_FUNCTION(odbc_field_scale) { - odbc_column_lengths(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); + odbc_column_lengths(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); } /* }}} */ @@ -2968,11 +2968,11 @@ PHP_FUNCTION(odbc_field_num) if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pv_res, &fname, &fname_len) == FAILURE) { return; } - + if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_res), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } - + if (result->numcols == 0) { php_error_docref(NULL, E_WARNING, "No tuples available at this result index"); RETURN_FALSE; @@ -3009,7 +3009,7 @@ PHP_FUNCTION(odbc_autocommit) if (!(conn = (odbc_connection *)zend_fetch_resource2(Z_RES_P(pv_conn), "ODBC-Link", le_conn, le_pconn))) { RETURN_FALSE; } - + if (ZEND_NUM_ARGS() > 1) { rc = SQLSetConnectOption(conn->hdbc, SQL_AUTOCOMMIT, (pv_onoff) ? SQL_AUTOCOMMIT_ON : SQL_AUTOCOMMIT_OFF); if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { @@ -3134,7 +3134,7 @@ PHP_FUNCTION(odbc_setoption) if ((result = (odbc_result *)zend_fetch_resource(Z_RES_P(pv_handle), "ODBC result", le_result)) == NULL) { RETURN_FALSE; } - + rc = SQLSetStmtOption(result->stmt, (unsigned short) pv_opt, pv_val); if (rc != SQL_SUCCESS && rc != SQL_SUCCESS_WITH_INFO) { @@ -3167,7 +3167,7 @@ PHP_FUNCTION(odbc_tables) size_t cat_len = 0, schema_len = 0, table_len = 0, type_len = 0; RETCODE rc; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|s!sss", &pv_conn, &cat, &cat_len, &schema, &schema_len, + if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|s!sss", &pv_conn, &cat, &cat_len, &schema, &schema_len, &table, &table_len, &type, &type_len) == FAILURE) { return; } @@ -3177,7 +3177,7 @@ PHP_FUNCTION(odbc_tables) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3196,9 +3196,9 @@ PHP_FUNCTION(odbc_tables) schema = NULL; } - rc = SQLTables(result->stmt, - cat, SAFE_SQL_NTS(cat), - schema, SAFE_SQL_NTS(schema), + rc = SQLTables(result->stmt, + cat, SAFE_SQL_NTS(cat), + schema, SAFE_SQL_NTS(schema), table, SAFE_SQL_NTS(table), type, SAFE_SQL_NTS(type)); @@ -3246,7 +3246,7 @@ PHP_FUNCTION(odbc_columns) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3260,14 +3260,14 @@ PHP_FUNCTION(odbc_columns) RETURN_FALSE; } - /* + /* * Needed to make MS Access happy */ if (table && table_len && schema && schema_len == 0) { schema = NULL; } - rc = SQLColumns(result->stmt, + rc = SQLColumns(result->stmt, cat, (SQLSMALLINT) cat_len, schema, (SQLSMALLINT) schema_len, table, (SQLSMALLINT) table_len, @@ -3307,7 +3307,7 @@ PHP_FUNCTION(odbc_columnprivileges) char *cat = NULL, *schema, *table, *column; size_t cat_len = 0, schema_len, table_len, column_len; RETCODE rc; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs!sss", &pv_conn, &cat, &cat_len, &schema, &schema_len, &table, &table_len, &column, &column_len) == FAILURE) { return; @@ -3318,7 +3318,7 @@ PHP_FUNCTION(odbc_columnprivileges) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3332,7 +3332,7 @@ PHP_FUNCTION(odbc_columnprivileges) RETURN_FALSE; } - rc = SQLColumnPrivileges(result->stmt, + rc = SQLColumnPrivileges(result->stmt, cat, SAFE_SQL_NTS(cat), schema, SAFE_SQL_NTS(schema), table, SAFE_SQL_NTS(table), @@ -3374,7 +3374,7 @@ PHP_FUNCTION(odbc_foreignkeys) size_t pcat_len = 0, pschema_len, ptable_len, fcat_len, fschema_len, ftable_len; RETCODE rc; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs!sssss", &pv_conn, &pcat, &pcat_len, &pschema, &pschema_len, + if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs!sssss", &pv_conn, &pcat, &pcat_len, &pschema, &pschema_len, &ptable, &ptable_len, &fcat, &fcat_len, &fschema, &fschema_len, &ftable, &ftable_len) == FAILURE) { return; } @@ -3396,7 +3396,7 @@ PHP_FUNCTION(odbc_foreignkeys) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3410,12 +3410,12 @@ PHP_FUNCTION(odbc_foreignkeys) RETURN_FALSE; } - rc = SQLForeignKeys(result->stmt, - pcat, SAFE_SQL_NTS(pcat), - pschema, SAFE_SQL_NTS(pschema), - ptable, SAFE_SQL_NTS(ptable), - fcat, SAFE_SQL_NTS(fcat), - fschema, SAFE_SQL_NTS(fschema), + rc = SQLForeignKeys(result->stmt, + pcat, SAFE_SQL_NTS(pcat), + pschema, SAFE_SQL_NTS(pschema), + ptable, SAFE_SQL_NTS(ptable), + fcat, SAFE_SQL_NTS(fcat), + fschema, SAFE_SQL_NTS(fschema), ftable, SAFE_SQL_NTS(ftable) ); if (rc == SQL_ERROR) { @@ -3456,7 +3456,7 @@ PHP_FUNCTION(odbc_gettypeinfo) if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|l", &pv_conn, &pv_data_type) == FAILURE) { return; } - + data_type = (SQLSMALLINT) pv_data_type; if (!(conn = (odbc_connection *)zend_fetch_resource2(Z_RES_P(pv_conn), "ODBC-Link", le_conn, le_pconn))) { @@ -3464,7 +3464,7 @@ PHP_FUNCTION(odbc_gettypeinfo) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3523,7 +3523,7 @@ PHP_FUNCTION(odbc_primarykeys) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3537,9 +3537,9 @@ PHP_FUNCTION(odbc_primarykeys) RETURN_FALSE; } - rc = SQLPrimaryKeys(result->stmt, - cat, SAFE_SQL_NTS(cat), - schema, SAFE_SQL_NTS(schema), + rc = SQLPrimaryKeys(result->stmt, + cat, SAFE_SQL_NTS(cat), + schema, SAFE_SQL_NTS(schema), table, SAFE_SQL_NTS(table) ); if (rc == SQL_ERROR) { @@ -3576,12 +3576,12 @@ PHP_FUNCTION(odbc_procedurecolumns) char *cat = NULL, *schema = NULL, *proc = NULL, *col = NULL; size_t cat_len = 0, schema_len = 0, proc_len = 0, col_len = 0; RETCODE rc; - + if (ZEND_NUM_ARGS() != 1 && ZEND_NUM_ARGS() != 5) { WRONG_PARAM_COUNT; } - if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|s!sss", &pv_conn, &cat, &cat_len, &schema, &schema_len, + if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|s!sss", &pv_conn, &cat, &cat_len, &schema, &schema_len, &proc, &proc_len, &col, &col_len) == FAILURE) { return; } @@ -3591,7 +3591,7 @@ PHP_FUNCTION(odbc_procedurecolumns) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3605,10 +3605,10 @@ PHP_FUNCTION(odbc_procedurecolumns) RETURN_FALSE; } - rc = SQLProcedureColumns(result->stmt, - cat, SAFE_SQL_NTS(cat), - schema, SAFE_SQL_NTS(schema), - proc, SAFE_SQL_NTS(proc), + rc = SQLProcedureColumns(result->stmt, + cat, SAFE_SQL_NTS(cat), + schema, SAFE_SQL_NTS(schema), + proc, SAFE_SQL_NTS(proc), col, SAFE_SQL_NTS(col) ); if (rc == SQL_ERROR) { @@ -3650,7 +3650,7 @@ PHP_FUNCTION(odbc_procedures) if (ZEND_NUM_ARGS() != 1 && ZEND_NUM_ARGS() != 4) { WRONG_PARAM_COUNT; } - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|s!ss", &pv_conn, &cat, &cat_len, &schema, &schema_len, &proc, &proc_len) == FAILURE) { return; } @@ -3660,7 +3660,7 @@ PHP_FUNCTION(odbc_procedures) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3674,9 +3674,9 @@ PHP_FUNCTION(odbc_procedures) RETURN_FALSE; } - rc = SQLProcedures(result->stmt, - cat, SAFE_SQL_NTS(cat), - schema, SAFE_SQL_NTS(schema), + rc = SQLProcedures(result->stmt, + cat, SAFE_SQL_NTS(cat), + schema, SAFE_SQL_NTS(schema), proc, SAFE_SQL_NTS(proc) ); if (rc == SQL_ERROR) { @@ -3720,7 +3720,7 @@ PHP_FUNCTION(odbc_specialcolumns) &name, &name_len, &vscope, &vnullable) == FAILURE) { return; } - + type = (SQLUSMALLINT) vtype; scope = (SQLUSMALLINT) vscope; nullable = (SQLUSMALLINT) vnullable; @@ -3730,7 +3730,7 @@ PHP_FUNCTION(odbc_specialcolumns) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3744,10 +3744,10 @@ PHP_FUNCTION(odbc_specialcolumns) RETURN_FALSE; } - rc = SQLSpecialColumns(result->stmt, + rc = SQLSpecialColumns(result->stmt, type, - cat, SAFE_SQL_NTS(cat), - schema, SAFE_SQL_NTS(schema), + cat, SAFE_SQL_NTS(cat), + schema, SAFE_SQL_NTS(schema), name, SAFE_SQL_NTS(name), scope, nullable); @@ -3792,7 +3792,7 @@ PHP_FUNCTION(odbc_statistics) &name, &name_len, &vunique, &vreserved) == FAILURE) { return; } - + unique = (SQLUSMALLINT) vunique; reserved = (SQLUSMALLINT) vreserved; @@ -3801,7 +3801,7 @@ PHP_FUNCTION(odbc_statistics) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3815,9 +3815,9 @@ PHP_FUNCTION(odbc_statistics) RETURN_FALSE; } - rc = SQLStatistics(result->stmt, + rc = SQLStatistics(result->stmt, cat, SAFE_SQL_NTS(cat), - schema, SAFE_SQL_NTS(schema), + schema, SAFE_SQL_NTS(schema), name, SAFE_SQL_NTS(name), unique, reserved); @@ -3866,7 +3866,7 @@ PHP_FUNCTION(odbc_tableprivileges) } result = (odbc_result *)ecalloc(1, sizeof(odbc_result)); - + rc = PHP_ODBC_SQLALLOCSTMT(conn->hdbc, &(result->stmt)); if (rc == SQL_INVALID_HANDLE) { efree(result); @@ -3880,9 +3880,9 @@ PHP_FUNCTION(odbc_tableprivileges) RETURN_FALSE; } - rc = SQLTablePrivileges(result->stmt, - cat, SAFE_SQL_NTS(cat), - schema, SAFE_SQL_NTS(schema), + rc = SQLTablePrivileges(result->stmt, + cat, SAFE_SQL_NTS(cat), + schema, SAFE_SQL_NTS(schema), table, SAFE_SQL_NTS(table)); if (rc == SQL_ERROR) { diff --git a/ext/opcache/Optimizer/compact_literals.c b/ext/opcache/Optimizer/compact_literals.c index 3a3cbe6564..e5dd8540aa 100644 --- a/ext/opcache/Optimizer/compact_literals.c +++ b/ext/opcache/Optimizer/compact_literals.c @@ -349,7 +349,7 @@ void zend_optimizer_compact_literals(zend_op_array *op_array, zend_optimizer_ctx } switch (Z_TYPE(op_array->literals[i])) { case IS_NULL: - /* Only checking MAY_MERGE for IS_NULL here + /* Only checking MAY_MERGE for IS_NULL here * is because only IS_NULL can be default value for class type hinting(RECV_INIT). */ if ((info[i].flags & LITERAL_MAY_MERGE)) { if (l_null < 0) { diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index 92813ec30f..89bd75c1ed 100644 --- a/ext/opcache/Optimizer/zend_inference.c +++ b/ext/opcache/Optimizer/zend_inference.c @@ -2190,15 +2190,15 @@ static int zend_update_type_info(const zend_op_array *op_array, tmp = 0; if (ssa_ops[i].result_def >= 0) { UPDATE_SSA_TYPE(tmp, ssa_ops[i].result_def); - } - if (ssa_ops[i].op1_def >= 0) { + } + if (ssa_ops[i].op1_def >= 0) { UPDATE_SSA_TYPE(tmp, ssa_ops[i].op1_def); - } - if (ssa_ops[i].op2_def >= 0) { + } + if (ssa_ops[i].op2_def >= 0) { UPDATE_SSA_TYPE(tmp, ssa_ops[i].op2_def); - } + } return 1; - } + } switch (opline->opcode) { case ZEND_ADD: diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 4e0a26166e..8a3f901847 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -2023,7 +2023,7 @@ static zend_string* persistent_zend_resolve_path(const char *filename, int filen zend_string *resolved_path; int key_length; char *key = NULL; - + if (!ZCG(accel_directives).revalidate_path) { /* lookup by "not-real" path */ key = accel_make_persistent_key(filename, filename_len, &key_length); diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index ded7f3dab2..92e2ce97ef 100644 --- a/ext/opcache/config.m4 +++ b/ext/opcache/config.m4 @@ -348,12 +348,12 @@ AC_MSG_CHECKING("whether flock struct is linux ordered") AC_TRY_RUN([ #include <fcntl.h> struct flock lock = { 1, 2, 3, 4, 5 }; - int main() { + int main() { if(lock.l_type == 1 && lock.l_whence == 2 && lock.l_start == 3 && lock.l_len == 4) { return 0; } return 1; - } + } ], [ flock_type=linux AC_DEFINE([HAVE_FLOCK_LINUX], [], [Struct flock is Linux-type]) @@ -364,15 +364,15 @@ AC_MSG_CHECKING("whether flock struct is BSD ordered") AC_TRY_RUN([ #include <fcntl.h> struct flock lock = { 1, 2, 3, 4, 5 }; - int main() { + int main() { if(lock.l_start == 1 && lock.l_len == 2 && lock.l_type == 4 && lock.l_whence == 5) { return 0; } return 1; - } + } ], [ flock_type=bsd - AC_DEFINE([HAVE_FLOCK_BSD], [], [Struct flock is BSD-type]) + AC_DEFINE([HAVE_FLOCK_BSD], [], [Struct flock is BSD-type]) AC_MSG_RESULT("yes") ], AC_MSG_RESULT("no") ) diff --git a/ext/opcache/config.w32 b/ext/opcache/config.w32 index 35c4645620..61b4d866c0 100644 --- a/ext/opcache/config.w32 +++ b/ext/opcache/config.w32 @@ -25,8 +25,7 @@ if (PHP_OPCACHE != "no") { ADD_SOURCES(configure_module_dirname + "/Optimizer", "zend_optimizer.c pass1_5.c pass2.c pass3.c optimize_func_calls.c block_pass.c optimize_temp_vars_5.c nop_removal.c compact_literals.c zend_cfg.c zend_dfg.c dfa_pass.c zend_ssa.c zend_inference.c zend_func_info.c zend_call_graph.c zend_dump.c", "opcache", "OptimizerObj"); - + ADD_FLAG('CFLAGS_OPCACHE', "/I " + configure_module_dirname); } -
\ No newline at end of file diff --git a/ext/openssl/README b/ext/openssl/README index 20a38332fb..18eb764cfc 100644 --- a/ext/openssl/README +++ b/ext/openssl/README @@ -274,7 +274,7 @@ Seal and open // now we try to decrypt data for one of the recipients $fp = fopen("/src/openssl-0.9.6/demos/sign/key.pem", "r"); - // Get PEM coded key into $pkey + // Get PEM coded key into $pkey $pkey = fread($fp, 8192); fclose($fp); // $key will be resource id for unpacked $pkey diff --git a/ext/openssl/config0.m4 b/ext/openssl/config0.m4 index a7bbf05f62..19ee27afd5 100644 --- a/ext/openssl/config0.m4 +++ b/ext/openssl/config0.m4 @@ -21,7 +21,7 @@ if test "$PHP_OPENSSL" != "no"; then AC_CHECK_FUNCS([RAND_egd]) - PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD, + PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD, [ AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ]) ], [ diff --git a/ext/openssl/tests/ServerClientTestCase.inc b/ext/openssl/tests/ServerClientTestCase.inc index fe46300389..f0e40fa535 100644 --- a/ext/openssl/tests/ServerClientTestCase.inc +++ b/ext/openssl/tests/ServerClientTestCase.inc @@ -96,7 +96,7 @@ class ServerClientTestCase eval($this->stripPhpTagsFromCode($proc1Code)); $this->cleanupWorkerProcess(); } - + public function wait() { fgets($this->isWorker ? STDIN : $this->workerStdOut); diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 9af01f5b89..0068715152 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -1795,7 +1795,7 @@ static int php_openssl_enable_crypto(php_stream *stream, do { struct timeval cur_time, elapsed_time; - + if (sslsock->is_client) { n = SSL_connect(sslsock->ssl_handle); } else { @@ -1805,7 +1805,7 @@ static int php_openssl_enable_crypto(php_stream *stream, if (has_timeout) { gettimeofday(&cur_time, NULL); elapsed_time = subtract_timeval( cur_time, start_time ); - + if (compare_timeval( elapsed_time, *timeout) > 0) { php_error_docref(NULL, E_WARNING, "SSL: Handshake timed out"); return -1; @@ -2001,7 +2001,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz if (errno == EAGAIN && err == SSL_ERROR_WANT_WRITE && read == 0) { retry = 1; } - + /* Also, on reads, we may get this condition on an EOF. We should check properly. */ if (read) { stream->eof = (retry == 0 && errno != EAGAIN && !SSL_pending(sslsock->ssl_handle)); @@ -2045,7 +2045,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz } } - /* Finally, we keep going until we got data, and an SSL_ERROR_NONE, unless we had an error. */ + /* Finally, we keep going until we got data, and an SSL_ERROR_NONE, unless we had an error. */ } while (retry); /* Tell PHP if we read / wrote bytes. */ @@ -2196,7 +2196,7 @@ static inline int php_openssl_tcp_sockop_accept(php_stream *stream, php_openssl_ int clisock; zend_bool nodelay = 0; zval *tmpzval = NULL; - + xparam->outputs.client = NULL; if ((tmpzval = php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "socket", "tcp_nodelay")) != NULL && diff --git a/ext/pcntl/README b/ext/pcntl/README index 7b80924e49..34313b2040 100644 --- a/ext/pcntl/README +++ b/ext/pcntl/README @@ -1,8 +1,8 @@ Process Control Module for PHP (pcntl) This module will attempt to implement all features related to process spawning and -control (fork(), waitpid(), signal(), WIF's, etc). This is extremely experimental, -with hope to become stable on most UNIX's. I greatly apreciate any feedback, fixes, +control (fork(), waitpid(), signal(), WIF's, etc). This is extremely experimental, +with hope to become stable on most UNIX's. I greatly apreciate any feedback, fixes, and or suggestions on how to improve/better implement this functionality. diff --git a/ext/pcntl/package.xml b/ext/pcntl/package.xml index b9127395c2..e6498bffc9 100644 --- a/ext/pcntl/package.xml +++ b/ext/pcntl/package.xml @@ -12,13 +12,13 @@ </maintainer> </maintainers> <description> -This module contains an interface to those functions defined -in the IEEE 1003.1 (POSIX.1) standards document which are not -accessible through other means. POSIX.1 for example defined the -open(), read(), write() and close() functions, too, which -traditionally have been part of PHP for a long time. Some more -system specific functions have not been available before, though, -and this module tries to remedy this by providing easy access +This module contains an interface to those functions defined +in the IEEE 1003.1 (POSIX.1) standards document which are not +accessible through other means. POSIX.1 for example defined the +open(), read(), write() and close() functions, too, which +traditionally have been part of PHP for a long time. Some more +system specific functions have not been available before, though, +and this module tries to remedy this by providing easy access to these functions. </description> <license>PHP</license> diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index 0884aac616..cd9fae199e 100644 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -179,7 +179,7 @@ const zend_function_entry pcntl_functions[] = { PHP_FE(pcntl_alarm, arginfo_pcntl_alarm) PHP_FE(pcntl_get_last_error, arginfo_pcntl_void) PHP_FALIAS(pcntl_errno, pcntl_get_last_error, NULL) - PHP_FE(pcntl_strerror, arginfo_pcntl_strerror) + PHP_FE(pcntl_strerror, arginfo_pcntl_strerror) #ifdef HAVE_GETPRIORITY PHP_FE(pcntl_getpriority, arginfo_pcntl_getpriority) #endif @@ -750,7 +750,7 @@ PHP_FUNCTION(pcntl_wait) #undef PHP_RUSAGE_COMMON #undef PHP_RUSAGE_TO_ARRAY -/* {{{ proto bool pcntl_wifexited(int status) +/* {{{ proto bool pcntl_wifexited(int status) Returns true if the child status code represents a successful exit */ PHP_FUNCTION(pcntl_wifexited) { diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4 index 35fc585d51..1ba11d6c35 100644 --- a/ext/pcre/config0.m4 +++ b/ext/pcre/config0.m4 @@ -24,7 +24,7 @@ PHP_ARG_WITH(pcre-regex,, for j in $PHP_PCRE_REGEX $PHP_PCRE_REGEX/$PHP_LIBDIR; do test -f $j/libpcre.a || test -f $j/libpcre.$SHLIB_SUFFIX_NAME && PCRE_LIBDIR=$j done - + if test -z "$PCRE_LIBDIR" ; then AC_MSG_ERROR([Could not find libpcre.(a|$SHLIB_SUFFIX_NAME) in $PHP_PCRE_REGEX]) fi @@ -44,7 +44,7 @@ PHP_ARG_WITH(pcre-regex,, fi PHP_ADD_LIBRARY_WITH_PATH(pcre, $PCRE_LIBDIR) - + AC_DEFINE(HAVE_PCRE, 1, [ ]) PHP_ADD_INCLUDE($PCRE_INCDIR) PHP_NEW_EXTENSION(pcre, php_pcre.c, no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) diff --git a/ext/pcre/tests/skip_001.inc b/ext/pcre/tests/skip_001.inc index 410512d4e7..b989dbbb9a 100644 --- a/ext/pcre/tests/skip_001.inc +++ b/ext/pcre/tests/skip_001.inc @@ -1,4 +1,4 @@ -<?php +<?php if (!function_exists('setlocale')) { die('skip: setlocale() not available'); diff --git a/ext/pdo/config.m4 b/ext/pdo/config.m4 index 786c70382a..0196a72b5b 100755 --- a/ext/pdo/config.m4 +++ b/ext/pdo/config.m4 @@ -56,7 +56,7 @@ for more detail on this issue. [ PHP_ADD_EXTENSION_DEP(pdo, spl, true) ]) - + ifdef([PHP_INSTALL_HEADERS], [ dnl Sadly, this is a complete NOP for pecl extensions diff --git a/ext/pdo/package2.xml b/ext/pdo/package2.xml index add5a47fc3..9577767d65 100644 --- a/ext/pdo/package2.xml +++ b/ext/pdo/package2.xml @@ -97,7 +97,7 @@ http://pecl4win.php.net You should uninstall and re-install your individual database drivers whenever you upgrade the base PDO package, otherwise you will see an error about PDO API numbers when you run your PHP scripts. - + </notes> <contents> <dir name="/"> diff --git a/ext/pdo_dblib/config.m4 b/ext/pdo_dblib/config.m4 index 407c3fe4de..6f21fa71f3 100644 --- a/ext/pdo_dblib/config.m4 +++ b/ext/pdo_dblib/config.m4 @@ -40,7 +40,7 @@ if test "$PHP_PDO_DBLIB" != "no"; then else AC_MSG_ERROR(Directory $PHP_PDO_DBLIB is not a FreeTDS installation directory) fi - fi + fi if test "x$PHP_LIBDIR" = "x" ; then PHP_LIBDIR=lib diff --git a/ext/pdo_dblib/config.w32 b/ext/pdo_dblib/config.w32 index 14cbb68f1a..e7bd5a42e9 100755 --- a/ext/pdo_dblib/config.w32 +++ b/ext/pdo_dblib/config.w32 @@ -40,7 +40,7 @@ if (PHP_PDO_MSSQL != "no") { /* smells like FreeTDS (or maybe native sybase dblib) */ PDO_DBLIB_FLAVOUR = "freetds"; } else { - + for (i = 0; i < pdo_mssql_locations.length; i++) { if (CHECK_LIB("ntwdblib.lib", "pdo_mssql", pdo_mssql_locations[i] + "\\DevTools\\Lib") && diff --git a/ext/pdo_dblib/package2.xml b/ext/pdo_dblib/package2.xml index 8b726666db..3b9328d255 100644 --- a/ext/pdo_dblib/package2.xml +++ b/ext/pdo_dblib/package2.xml @@ -34,14 +34,14 @@ http://pear.php.net/dtd/package-2.0.xsd"> - Packaging update; no functional changes in this release - Fix Bug #34777; segfault when retrieving non-existent error info - Fix Bug #35032; didn't find FreeTDS includes on some systems - + Windows binaries can be found at: http://pecl4win.php.net/ext.php/php_pdo_mssql.dll, however: you are *strongly* recommended to use PDO_ODBC instead of this driver on Windows platforms. - + </notes> <contents> <dir name="/"> diff --git a/ext/pdo_dblib/tests/config.inc b/ext/pdo_dblib/tests/config.inc index 346de0f8ca..9adc4e67b5 100644 --- a/ext/pdo_dblib/tests/config.inc +++ b/ext/pdo_dblib/tests/config.inc @@ -16,18 +16,18 @@ function get_tds_version() { return null; } -if (false !== getenv('PDO_DBLIB_TEST_DSN')) +if (false !== getenv('PDO_DBLIB_TEST_DSN')) $dsn = getenv('PDO_DBLIB_TEST_DSN'); else $dsn = 'dblib:host=localhost;dbname=test'; -if (false !== getenv('PDO_DBLIB_TEST_USER')) +if (false !== getenv('PDO_DBLIB_TEST_USER')) $user = getenv('PDO_DBLIB_TEST_USER'); else $user = 'php'; - - -if (false !== getenv('PDO_DBLIB_TEST_PASS')) + + +if (false !== getenv('PDO_DBLIB_TEST_PASS')) $pass = getenv('PDO_DBLIB_TEST_PASS'); else $pass = 'password'; diff --git a/ext/pdo_firebird/config.m4 b/ext/pdo_firebird/config.m4 index e6362cd7a0..0f7f3c7be8 100644 --- a/ext/pdo_firebird/config.m4 +++ b/ext/pdo_firebird/config.m4 @@ -55,7 +55,7 @@ if test "$PHP_PDO_FIREBIRD" != "no"; then PHP_ADD_LIBRARY_WITH_PATH($FIREBIRD_LIBNAME, $FIREBIRD_LIBDIR, PDO_FIREBIRD_SHARED_LIBADD) PHP_ADD_INCLUDE($FIREBIRD_INCDIR) fi - + PHP_CHECK_PDO_INCLUDES AC_DEFINE(HAVE_PDO_FIREBIRD,1,[ ]) diff --git a/ext/pdo_firebird/config.w32 b/ext/pdo_firebird/config.w32 index dc3ea0d17e..634ac4c8e9 100644 --- a/ext/pdo_firebird/config.w32 +++ b/ext/pdo_firebird/config.w32 @@ -6,7 +6,7 @@ if (PHP_PDO_FIREBIRD != "no") { if ((CHECK_LIB("fbclient_ms.lib", "pdo_firebird", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_PDO_FIREBIRD) || CHECK_LIB("gds32_ms.lib", "pdo_firebird", PHP_PHP_BUILD + "\\interbase\\lib_ms;" + PHP_PDO_FIREBIRD) - ) && CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_PDO_FIREBIRD", + ) && CHECK_HEADER_ADD_INCLUDE("ibase.h", "CFLAGS_PDO_FIREBIRD", PHP_PHP_BUILD + "\\include\\interbase;" + PHP_PHP_BUILD + "\\interbase\\include;" + PHP_PDO_FIREBIRD) ) { diff --git a/ext/pdo_firebird/firebird_statement.c b/ext/pdo_firebird/firebird_statement.c index 46dc10760a..1c0f5b6071 100644 --- a/ext/pdo_firebird/firebird_statement.c +++ b/ext/pdo_firebird/firebird_statement.c @@ -224,7 +224,7 @@ static int firebird_stmt_describe(pdo_stmt_t *stmt, int colno) /* {{{ */ switch (var->sqltype & ~1) { case SQL_SHORT: case SQL_LONG: -#if SIZEOF_ZEND_LONG >= 8 +#if SIZEOF_ZEND_LONG >= 8 case SQL_INT64: #endif col->param_type = PDO_PARAM_INT; @@ -399,7 +399,7 @@ static int firebird_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, /* {{ *(zend_long *)*ptr = *(ISC_LONG*)var->sqldata; break; case SQL_INT64: -#if SIZEOF_ZEND_LONG >= 8 +#if SIZEOF_ZEND_LONG >= 8 *len = sizeof(zend_long); *ptr = FETCH_BUF(S->fetch_buf[colno], zend_long, 1, NULL); *(zend_long *)*ptr = *(ISC_INT64*)var->sqldata; diff --git a/ext/pdo_firebird/php_pdo_firebird_int.h b/ext/pdo_firebird/php_pdo_firebird_int.h index d0a48315d4..404b300ecc 100644 --- a/ext/pdo_firebird/php_pdo_firebird_int.h +++ b/ext/pdo_firebird/php_pdo_firebird_int.h @@ -62,7 +62,7 @@ typedef void (*info_func_t)(char*); #endif #if defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(_WIN64) -# define PDO_FIREBIRD_HANDLE_INITIALIZER 0U +# define PDO_FIREBIRD_HANDLE_INITIALIZER 0U #else # define PDO_FIREBIRD_HANDLE_INITIALIZER NULL #endif diff --git a/ext/pdo_firebird/tests/skipif.inc b/ext/pdo_firebird/tests/skipif.inc index 5a6cd372d1..14b2ad4016 100644 --- a/ext/pdo_firebird/tests/skipif.inc +++ b/ext/pdo_firebird/tests/skipif.inc @@ -1,5 +1,5 @@ <?php /* $Id$ */ -if (!extension_loaded("interbase") || !extension_loaded("pdo_firebird")) print "skip"; +if (!extension_loaded("interbase") || !extension_loaded("pdo_firebird")) print "skip"; ?> diff --git a/ext/pdo_firebird/tests/testdb.inc b/ext/pdo_firebird/tests/testdb.inc index cbf2023094..e19ff9cb75 100644 --- a/ext/pdo_firebird/tests/testdb.inc +++ b/ext/pdo_firebird/tests/testdb.inc @@ -25,7 +25,7 @@ function init_db() function cleanup_db() { global $test_base; - + $r = ibase_connect($test_base); ibase_drop_db($r); } diff --git a/ext/pdo_mysql/config.m4 b/ext/pdo_mysql/config.m4 index c165fb6b51..96f044123d 100755 --- a/ext/pdo_mysql/config.m4 +++ b/ext/pdo_mysql/config.m4 @@ -53,7 +53,7 @@ if test "$PHP_PDO_MYSQL" != "no"; then fi fi fi - + if test "$PHP_PDO_MYSQL" = "yes" || test "$PHP_PDO_MYSQL" = "mysqlnd"; then dnl enables build of mysqnd library PHP_MYSQLND_ENABLED=yes @@ -113,8 +113,8 @@ if test "$PHP_PDO_MYSQL" != "no"; then PHP_CHECK_LIBRARY($PDO_MYSQL_LIBNAME, mysql_commit, [], [ AC_MSG_ERROR([PDO_MYSQL configure failed, MySQL 4.1 needed. Please check config.log for more information.]) ], [ - -L$PHP_ZLIB_DIR/$PHP_LIBDIR -L$PDO_MYSQL_LIB_DIR - ]) + -L$PHP_ZLIB_DIR/$PHP_LIBDIR -L$PDO_MYSQL_LIB_DIR + ]) PDO_MYSQL_LIBS="$PDO_MYSQL_LIBS -L$PHP_ZLIB_DIR/$PHP_LIBDIR -lz" else PHP_ADD_LIBRARY(z,, PDO_MYSQL_SHARED_LIBADD) @@ -122,7 +122,7 @@ if test "$PHP_PDO_MYSQL" != "no"; then AC_MSG_ERROR([Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.]) ], [ -L$PDO_MYSQL_LIB_DIR - ]) + ]) PDO_MYSQL_LIBS="$PDO_MYSQL_LIBS -lz" fi diff --git a/ext/pdo_mysql/get_error_codes.php b/ext/pdo_mysql/get_error_codes.php index a1ed85016c..4605df564a 100644 --- a/ext/pdo_mysql/get_error_codes.php +++ b/ext/pdo_mysql/get_error_codes.php @@ -15,7 +15,7 @@ fputs(STDERR, "input doesn't look like a MySQL sql_state.h file\n"); exit(3); } - + echo "/* DO NOT EDIT THIS FILE!!! It is auto generated by get_error_codes.php */\n"; foreach ($codes as $code => $state) { echo "#ifdef $code\n"; @@ -23,5 +23,5 @@ echo "#endif\n"; } - + ?> diff --git a/ext/pdo_mysql/package2.xml b/ext/pdo_mysql/package2.xml index cee6cc7dea..0fde30b77f 100644 --- a/ext/pdo_mysql/package2.xml +++ b/ext/pdo_mysql/package2.xml @@ -58,7 +58,7 @@ will cause subsequent prepares to use emulation. - Fixed PECL Bug #5645; added mysql client library version information to phpinfo() output. Windows binaries can be found at http://pecl4win.php.net/ext.php/php_pdo_mysql.dll - + </notes> <contents> <dir name="/"> diff --git a/ext/pdo_mysql/tests/mysql_pdo_test.inc b/ext/pdo_mysql/tests/mysql_pdo_test.inc index 7a97bb4630..8ae0878cd3 100644 --- a/ext/pdo_mysql/tests/mysql_pdo_test.inc +++ b/ext/pdo_mysql/tests/mysql_pdo_test.inc @@ -141,7 +141,7 @@ class MySQLPDOTest extends PDOTest { } - static function detect_transactional_mysql_engine($db) { + static function detect_transactional_mysql_engine($db) { foreach ($db->query("show variables like 'have%'") as $row) { if (!empty($row) && $row[1] == 'YES' && ($row[0] == 'have_innodb' || $row[0] == 'have_bdb')) { return str_replace("have_", "", $row[0]); diff --git a/ext/pdo_oci/config.m4 b/ext/pdo_oci/config.m4 index 7132a40e10..0a64b80cca 100755 --- a/ext/pdo_oci/config.m4 +++ b/ext/pdo_oci/config.m4 @@ -29,7 +29,7 @@ AC_DEFUN([AC_PDO_OCI_VERSION],[ AC_MSG_ERROR(Oracle libclntsh.$SHLIB_SUFFIX_NAME client library not found or its version is lower than 9) fi AC_MSG_RESULT($PDO_OCI_VERSION) -]) +]) AC_DEFUN([AC_PDO_OCI_CHECK_LIB_DIR],[ AC_CHECK_SIZEOF(long int, 4) @@ -57,8 +57,8 @@ AC_DEFUN([AC_PDO_OCI_CHECK_LIB_DIR],[ PHP_ARG_WITH(pdo-oci, Oracle OCI support for PDO, [ --with-pdo-oci[=DIR] PDO: Oracle OCI support. DIR defaults to \$ORACLE_HOME. - Use --with-pdo-oci=instantclient,prefix,version - for an Oracle Instant Client SDK. + Use --with-pdo-oci=instantclient,prefix,version + for an Oracle Instant Client SDK. For example on Linux with 11.2 RPMs use: --with-pdo-oci=instantclient,/usr,11.2 With 10.2 RPMs use: @@ -187,7 +187,7 @@ You need to tell me where to find your Oracle Instant Client SDK, or set ORACLE_ ]) dnl - dnl Check if we need to add -locijdbc8 + dnl Check if we need to add -locijdbc8 dnl PHP_CHECK_LIBRARY(clntsh, OCILobIsTemporary, [ diff --git a/ext/pdo_oci/config.w32 b/ext/pdo_oci/config.w32 index 0edf885c01..2b63d19ecf 100755 --- a/ext/pdo_oci/config.w32 +++ b/ext/pdo_oci/config.w32 @@ -21,7 +21,7 @@ if (PHP_PDO_OCI != "no") { pdo_oci_lib_paths += pdo_oci_dirs[i] + "\\lib\\msvc;"; pdo_oci_inc_paths += pdo_oci_dirs[i] + "\\include;"; } - + pdo_oci_inc_paths += PHP_PHP_BUILD + "\\include\\instantclient;" pdo_oci_lib_paths += PHP_PHP_BUILD + "\\lib\\instantclient;"; diff --git a/ext/pdo_oci/package2.xml b/ext/pdo_oci/package2.xml index 1f828d1f12..3fc931140c 100644 --- a/ext/pdo_oci/package2.xml +++ b/ext/pdo_oci/package2.xml @@ -35,7 +35,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> You require Oracle OCI 8 or higher client libraries (instantclient is also supported) installed on the machine where you intend to build and/or use this package. - + If you are running on windows, you can download the binary from here: http://pecl4win.php.net/ext.php/php_pdo_oci.dll </notes> diff --git a/ext/pdo_odbc/config.m4 b/ext/pdo_odbc/config.m4 index 2301e87b8d..a0b967b09e 100755 --- a/ext/pdo_odbc/config.m4 +++ b/ext/pdo_odbc/config.m4 @@ -6,13 +6,13 @@ define([PDO_ODBC_HELP_TEXT],[[ include and lib dirs are looked for under 'dir'. 'flavour' can be one of: ibm-db2, iODBC, unixODBC, generic - If ',dir' part is omitted, default for the flavour + If ',dir' part is omitted, default for the flavour you have selected will be used. e.g.: --with-pdo-odbc=unixODBC - will check for unixODBC under /usr/local. You may attempt - to use an otherwise unsupported driver using the \"generic\" + will check for unixODBC under /usr/local. You may attempt + to use an otherwise unsupported driver using the \"generic\" flavour. The syntax for generic ODBC support is: --with-pdo-odbc=generic,dir,libname,ldflags,cflags @@ -34,7 +34,7 @@ AC_DEFUN([PDO_ODBC_CHECK_HEADER],[ AC_MSG_RESULT(no) fi ]) - + if test "$PHP_PDO_ODBC" != "no"; then if test "$PHP_PDO" = "no" && test "$ext_shared" = "no"; then @@ -111,7 +111,7 @@ if test "$PHP_PDO_ODBC" != "no"; then PDO_ODBC_INCDIR="$pdo_odbc_def_incdir" PDO_ODBC_LIBDIR="$pdo_odbc_def_libdir" fi - + AC_MSG_RESULT([$pdo_odbc_flavour libs $PDO_ODBC_LIBDIR, headers $PDO_ODBC_INCDIR]) diff --git a/ext/pdo_odbc/odbc_stmt.c b/ext/pdo_odbc/odbc_stmt.c index ddbecf25b7..e83abf5c13 100644 --- a/ext/pdo_odbc/odbc_stmt.c +++ b/ext/pdo_odbc/odbc_stmt.c @@ -578,7 +578,7 @@ static int odbc_stmt_describe(pdo_stmt_t *stmt, int colno) may affect others as well. If we are SQL_VARCHAR, SQL_VARBINARY, or SQL_WVARCHAR (or any of the long variations) and zero is returned from colsize then consider it long */ - if (0 == colsize && + if (0 == colsize && (S->cols[colno].coltype == SQL_VARCHAR || S->cols[colno].coltype == SQL_LONGVARCHAR || #ifdef SQL_WVARCHAR diff --git a/ext/pdo_odbc/package2.xml b/ext/pdo_odbc/package2.xml index 3eb99d1416..1071571155 100644 --- a/ext/pdo_odbc/package2.xml +++ b/ext/pdo_odbc/package2.xml @@ -34,7 +34,7 @@ You require either IBM DB2 CLI libraries or unixODBC to use this package. If you are running on windows, you can download the binary from here: http://pecl4win.php.net/ext.php/php_pdo_odbc.dll - + </notes> <contents> <dir name="/"> diff --git a/ext/pdo_pgsql/package2.xml b/ext/pdo_pgsql/package2.xml index e397958a7d..fbe9a11df4 100644 --- a/ext/pdo_pgsql/package2.xml +++ b/ext/pdo_pgsql/package2.xml @@ -45,7 +45,7 @@ This PECL release corresponds to PHP 5.1.3. - Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of rows affected by the operation). (Ilia) - Fixed prepared statement name conflict handling in PDO_PGSQL. (Thies, Ilia) -- repackage with package2.xml +- repackage with package2.xml - Added PDO::pgsqlLOBCreate(), PDO::pgsqlLOBOpen() and PDO::pgsqlLOBUnlink(). You require PostgreSQL client libraries installed on the machine where you diff --git a/ext/pdo_sqlite/config.w32 b/ext/pdo_sqlite/config.w32 index 71ea9efce5..403c86936c 100644 --- a/ext/pdo_sqlite/config.w32 +++ b/ext/pdo_sqlite/config.w32 @@ -5,7 +5,7 @@ ARG_WITH("pdo-sqlite", "for pdo_sqlite support", "no"); if (PHP_PDO_SQLITE != "no") { EXTENSION("pdo_sqlite", "pdo_sqlite.c sqlite_driver.c sqlite_statement.c", null, "/DSQLITE_THREADSAFE=" + (PHP_ZTS == "yes" ? "1" : "0") + " /D SQLITE_ENABLE_FTS3=1 /D SQLITE_ENABLE_FTS4=1 /D SQLITE_ENABLE_FTS5=1 /D SQLITE_ENABLE_COLUMN_METADATA=1 /D SQLITE_CORE=1 /I" + configure_module_dirname + "/../sqlite3/libsqlite /I" + configure_module_dirname); - + ADD_EXTENSION_DEP('pdo_sqlite', 'pdo'); // If pdo_sqlite is static, and sqlite3 is also static, then we don't add a second copy of the sqlite3 libs if (PHP_PDO_SQLITE_SHARED || PHP_SQLITE3_SHARED || PHP_SQLITE3 == 'no') { diff --git a/ext/pgsql/README b/ext/pgsql/README index 86df804fbd..26f7aad02d 100644 --- a/ext/pgsql/README +++ b/ext/pgsql/README @@ -1,27 +1,27 @@ ==== About This Module === -PostgreSQL module provides access to PostgreSQL server from +PostgreSQL module provides access to PostgreSQL server from PHP script. This module uses PostgreSQL C client lib called libpq. -It is important that you use libpq that is later than backend -(PostgreSQL Server) version. Otherwise, you may experience -strange problems. +It is important that you use libpq that is later than backend +(PostgreSQL Server) version. Otherwise, you may experience +strange problems. -Please send e-mail to yohgaki@php.net if you have comments for +Please send e-mail to yohgaki@php.net if you have comments for pgsql module. I appreciate your feedback. ==== API Change === -Older PHP than 4.2.0, pg_loimport()/pg_loexport() connection +Older PHP than 4.2.0, pg_loimport()/pg_loexport() connection parameter as last parameter, not like other functions. From 4.2.0, -connection parameter became 1st parameter. Old syntax is preserved, +connection parameter became 1st parameter. Old syntax is preserved, but it will raise NOTICE error message. pg_connect()/pg_pconnect() has obsolete multi parameter syntax. This syntax will be deleted in 4.3.0 or later. -Omitting connectin parameter is NOT recommended. Connection +Omitting connectin parameter is NOT recommended. Connection parameter may be required for future PHP version. Specify connection always if you don't want to rewrite code when it is changed. -==== Function Name Change ==== +==== Function Name Change ==== Function names are going to be changed to confirm coding standard. MySQL module has been done this already. Function names will be changed as follows. @@ -29,8 +29,8 @@ be changed as follows. pg_errormessage -> pg_error_message pg_cmdtuples -> pg_affected_rows pg_fieldnum -> pg_field_num -and so on. Except pg_cmdtuples, under scores '_' will be added to -names. +and so on. Except pg_cmdtuples, under scores '_' will be added to +names. Older names will become aliases of new functions for backward compatibility. @@ -39,14 +39,14 @@ Manual will be updated when this change is committed to CVS source. ==== Configure Option Notes ==== You cannot specify PostgreSQL source directly to build PostgreSQL -module with specific version. You need to install PostgreSQL +module with specific version. You need to install PostgreSQL somewhere in your system to build PHP with PostgreSQL support. ==== Note For PostgreSQL 7.2 ==== I've tested up to 7.2.2. ==== TODO List === -Make pg_convert() smater. +Make pg_convert() smater. - Better regex - User defiend type support Support async connection. @@ -57,7 +57,7 @@ WARNING: API/behavior may be changed without notice. Async query can improve application performance *significantly*. Please test and report any failure to -yohgaki@php.net +yohgaki@php.net There are some cases that async functions blocks process. Even if process was blocked, functions work as expected. (except it blocks @@ -65,13 +65,13 @@ process) These are cases that process is blocked. Refer to libpq manual for details. Followings are common cases that async functions are blocked. - - If libpq is compile with USE_SSL, some async functions are + - If libpq is compile with USE_SSL, some async functions are blocked. - - If libpq under Win32 is *NOT* compiled with - WIN32_NON_BLOCKING_CONNECTIONS, non-blocking connection will block. + - If libpq under Win32 is *NOT* compiled with + WIN32_NON_BLOCKING_CONNECTIONS, non-blocking connection will block. -Async function may also block if you have not retrive result and -send or execute query. If there is result left on connection, +Async function may also block if you have not retrive result and +send or execute query. If there is result left on connection, pg_send_query() will block until last query is completed. Garbages are cleaned when resource is cleaned up. There is no need to @@ -84,7 +84,7 @@ API may be changed. NOTE: These functions are added in PHP 4.2.0 unless they are mentioned. ------------------------------------------------------------------- -bool pg_send_query(resource connection, string query) +bool pg_send_query(resource connection, string query) Sends async query to backend. Result may be retrieved with pg_get_result(). It does not accept multiple query, but it accepts @@ -92,7 +92,7 @@ multiple queries at once. Each result may be retrieved separately by pg_get_result(). -------------------------------------------------------------------- -bool pg_cancel_query(resource connection) +bool pg_cancel_query(resource connection) Cancels currently executing async query already sent to PostgreSQL server. This function is useful when user request time consuming query @@ -100,7 +100,7 @@ to server. It cannot cancel query executed by pg_exec(), since pg_exec() is a blocking function. -------------------------------------------------------------------- -resource pg_get_result(resource conn) +resource pg_get_result(resource conn) Gets pgsql query result resource. Returned value can be fed to pg_result()/pg_fetch_*(). pg_get_result() may block if result is not @@ -112,7 +112,7 @@ in connection, it returns false. -------------------------------------------------------------------- bool pg_connection_busy(resource connection) -Returns connections is executing query or not. +Returns connections is executing query or not. -------------------------------------------------------------------- int pg_connection_status(resource connection) @@ -129,7 +129,7 @@ connection parameter. It's useful for error recovery. -------------------------------------------------------------------- string pg_result_error(resource result) -Get error message associated with result +Get error message associated with result -------------------------------------------------------------------- int pg_result_status(resource result) @@ -166,7 +166,7 @@ Large Object Functions -------------------------------------------------------------------- int pg_lo_tell(resource large_object) -Returns current position of large object +Returns current position of large object -------------------------------------------------------------------- bool pg_lo_lseek(resource large_object, int offset[, int whence]) @@ -179,7 +179,7 @@ Notice message function -------------------------------------------------------------------- string pg_last_notice(resource connection) -Returns the last notice set by the backend +Returns the last notice set by the backend This function is fully implemed in only in current CVS version. PHP 4.3.0 supposed to included fully implemented version. @@ -201,35 +201,35 @@ array pg_convert(resource db, string table, array values) -------------------------------------------------------------------- bool pg_insert(resource db, string table, array values[, bool convert[, bool async]]) - Insert values (filed=>value) to table + Insert values (filed=>value) to table -------------------------------------------------------------------- bool pg_update(resource db, string table, array fields, array ids[, bool convert[, bool async]]) - Update table using values (field=>value) and ids (id=>value) + Update table using values (field=>value) and ids (id=>value) -------------------------------------------------------------------- bool pg_delete(resource db, string table, array ids[, bool convert[, bool async]]) - Delete records has ids (id=>value) + Delete records has ids (id=>value) -------------------------------------------------------------------- array pg_select(resource db, string table, array ids[, bool convert]) - Select records that has ids (id=>value) + Select records that has ids (id=>value) -------------------------------------------------------------------- array pg_get_notify([resource db[, notify]]) - Get notify message on the connection + Get notify message on the connection -------------------------------------------------------------------- string pg_unescape_bytea(string bytea_data) - Unescape bytea field data + Unescape bytea field data -------------------------------------------------------------------- bool pg_ping(resource db) ping database connection and try to reset connection if it's - broken + broken ------------------------------------------------------------------- -Again, experimental functions are subject to be changed without +Again, experimental functions are subject to be changed without notice. diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4 index 0ec34c4c25..8201e88dba 100644 --- a/ext/pgsql/config.m4 +++ b/ext/pgsql/config.m4 @@ -31,7 +31,7 @@ if test "$PHP_PGSQL" != "no"; then else PGSQL_SEARCH_PATHS=$PHP_PGSQL fi - + for i in $PGSQL_SEARCH_PATHS; do for j in include include/pgsql include/postgres include/postgresql ""; do if test -r "$i/$j/libpq-fe.h"; then @@ -44,7 +44,7 @@ if test "$PHP_PGSQL" != "no"; then done for j in lib $PHP_LIBDIR/pgsql $PHP_LIBDIR/postgres $PHP_LIBDIR/postgresql ""; do - if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then + if test -f "$i/$j/libpq.so" || test -f "$i/$j/libpq.a"; then PGSQL_LIBDIR=$i/$j fi done diff --git a/ext/pgsql/mysql_users.php b/ext/pgsql/mysql_users.php index edfaa1cddc..44d4f1b66d 100644 --- a/ext/pgsql/mysql_users.php +++ b/ext/pgsql/mysql_users.php @@ -2,7 +2,7 @@ /* * File: mysql_users.php * Author: Yasuo Ohgaki <yohgaki@php.net> - * + * * This file contains example user defined functions that does * similar to MySQL functions. They can be implemented as module * functions, but there won't be many users need them. @@ -12,11 +12,11 @@ /* * mysql_list_dbs() - * - * This function should be needed, since PostgreSQL connection + * + * This function should be needed, since PostgreSQL connection * binds database. */ -function pg_list_dbs($db) +function pg_list_dbs($db) { assert(is_resource($db)); $query = ' @@ -24,7 +24,7 @@ SELECT d.datname as "Name", u.usename as "Owner", pg_encoding_to_char(d.encoding) as "Encoding" -FROM +FROM pg_database d LEFT JOIN pg_user u ON d.datdba = u.usesysid ORDER BY 1; '; @@ -35,7 +35,7 @@ ORDER BY 1; /* * mysql_list_tables() */ -function pg_list_tables($db) +function pg_list_tables($db) { assert(is_resource($db)); $query = " @@ -58,7 +58,7 @@ ORDER BY 1; * * See also pg_meta_data(). It returns field definition as array. */ -function pg_list_fields($db, $table) +function pg_list_fields($db, $table) { assert(is_resource($db)); $query = " diff --git a/ext/pgsql/tests/README b/ext/pgsql/tests/README index 1a29a34e64..5321d1f48d 100644 --- a/ext/pgsql/tests/README +++ b/ext/pgsql/tests/README @@ -1,15 +1,15 @@ -Test scripts assumes: +Test scripts assumes: - PostgreSQL server is installed locally - there is a PostgreSQL account for the users running the test scripts - there is database named "test" -For instance, if your login name is 'testuser', you should have PostgreSQL -user account named 'testuser' and grant that user access to the database +For instance, if your login name is 'testuser', you should have PostgreSQL +user account named 'testuser' and grant that user access to the database 'test'. -If you have account and database, type "createdb test" from command prompt -to create the database to execute the test scripts. By executing the above -command as the same user running the tests you ensure that the user is +If you have account and database, type "createdb test" from command prompt +to create the database to execute the test scripts. By executing the above +command as the same user running the tests you ensure that the user is granted access to the database. If you find problems in PostgreSQL module, please mail to diff --git a/ext/phar/LICENSE b/ext/phar/LICENSE index a683822b74..3ecdfdab80 100644 --- a/ext/phar/LICENSE +++ b/ext/phar/LICENSE @@ -1,7 +1,7 @@ --------------------------------------------------------------------- +-------------------------------------------------------------------- The PHP License, version 3.01 Copyright (c) 1999 - 2018 The PHP Group. All rights reserved. --------------------------------------------------------------------- +-------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without modification, is permitted provided that the following conditions @@ -9,22 +9,22 @@ are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - + 3. The name "PHP" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact group@php.net. - + 4. Products derived from this software may not be called "PHP", nor may "PHP" appear in their name, without prior written permission from group@php.net. You may indicate that your software works in conjunction with PHP by saying "Foo for PHP" instead of calling it "PHP Foo" or "phpfoo" - + 5. The PHP Group may publish revised and/or new versions of the license from time to time. Each version will be given a distinguishing version number. @@ -41,27 +41,27 @@ are met: "This product includes PHP software, freely available from <http://www.php.net/software/>". -THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND +THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP -DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --------------------------------------------------------------------- +-------------------------------------------------------------------- This software consists of voluntary contributions made by many individuals on behalf of the PHP Group. The PHP Group can be contacted via Email at group@php.net. -For more information on the PHP Group and the PHP project, +For more information on the PHP Group and the PHP project, please see <http://www.php.net>. PHP includes the Zend Engine, freely available at diff --git a/ext/phar/gdbhelp b/ext/phar/gdbhelp index 5411858671..14ff89c56b 100644 --- a/ext/phar/gdbhelp +++ b/ext/phar/gdbhelp @@ -21,9 +21,9 @@ define ____print_pharht set $temp = *(phar_archive_data*)$p->pDataPtr ____print_str $temp.fname $temp.fname_len printf " => " - + if $arg1 == 0 - + printf "%i (alias ", $temp.refcount ____print_str $temp.alias $temp.alias_len printf ")\n" diff --git a/ext/phar/package.xml b/ext/phar/package.xml index 4a9798e252..3f24e459a2 100644 --- a/ext/phar/package.xml +++ b/ext/phar/package.xml @@ -18,7 +18,7 @@ write access is disabled by the phar.readonly ini variable. Executable phar archives can be created using the streams API or with the Phar class, if the phar.readonly ini variable is set to false. -Full support for MD5 and SHA1 signatures is possible. Signatures can be required +Full support for MD5 and SHA1 signatures is possible. Signatures can be required if the ini variable phar.require_hash is set to true. When PECL extension hash is available then SHA-256 and SHA-512 signatures are supported as well. @@ -1389,7 +1389,7 @@ Major feature functionality release * add PharFileInfo::hasMetadata(), PharFileInfo::delMetadata() [Marcus] * add Phar::hasMetadata(), Phar::delMetadata() [Marcus] * fix Phar::CanWrite() [Marcus] -* add preliminary phar command (phar.php) [Marcus] +* add preliminary phar command (phar.php) [Marcus] * add phar command (phar.phar) [Marcus] * list all available compression methods using Phar::getSupportedCompression() [Marcus] * remove RINIT [Marcus] diff --git a/ext/phar/phar.1.in b/ext/phar/phar.1.in index 26451508fc..36a8cc503e 100644 --- a/ext/phar/phar.1.in +++ b/ext/phar/phar.1.in @@ -11,7 +11,7 @@ file called a "phar" (PHP Archive) for easy distribution and installation. .P With the \fBphar\fP command you can create, update or extract PHP archives. .P -Commands: +Commands: add compress delete extract help help-list info list meta-del meta-get meta-set pack sign stub-get stub-set tree version @@ -39,7 +39,7 @@ Provide an \fIalias\fP name for the phar file. .TP .PD .B \-c \fIalgo\fP -Compression algorithm (see +Compression algorithm (see .SM .B COMPRESSION ) @@ -63,7 +63,7 @@ Required arguments: .TP 15 .PD .B \-c \fIalgo\fP -Compression algorithm (see +Compression algorithm (see .SM .B COMPRESSION ) @@ -280,14 +280,14 @@ The hash mark itself '#!' and the newline character are optional. .TP .PD .B \-c \fIalgo\fP -Compression algorithm (see +Compression algorithm (see .SM .B COMPRESSION ) .TP .PD .B \-h \fIhash\fP -Selects the \fIhash\fP algorithm (see +Selects the \fIhash\fP algorithm (see .SM .B HASH ) @@ -336,7 +336,7 @@ Specifies the phar \fIfile\fP to work on. .TP .PD .B \-h \fIhash\fP -Selects the \fIhash\fP algorithm (see +Selects the \fIhash\fP algorithm (see .SM .B HASH ) @@ -502,7 +502,7 @@ A List of active developers can be found here: .B http://www.php.net/credits.php .PD 1 .P -And last but not least PHP was developed with the help of a huge amount of +And last but not least PHP was developed with the help of a huge amount of contributors all around the world. .SH VERSION INFORMATION This manpage describes \fBphar\fP, version @PHP_VERSION@. diff --git a/ext/phar/phar/phar.inc b/ext/phar/phar/phar.inc index 7e7d61851e..c28de0aa7a 100644 --- a/ext/phar/phar/phar.inc +++ b/ext/phar/phar/phar.inc @@ -12,7 +12,7 @@ // {{{ class Phar extends PHP_Archive /** * Phar class - * + * * @ingroup Phar * @brief Phar implementation * @author Marcus Boerger diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc index a58a9f060a..9decdaf972 100644 --- a/ext/phar/phar/pharcommand.inc +++ b/ext/phar/phar/pharcommand.inc @@ -12,11 +12,11 @@ // {{{ class PharCommand extends CLICommand /** * PharCommand class - * + * * This class handles the handling of the phar * commands. It will be used from command line/console * in order to retrieve and execute phar functions. - * + * * @ingroup Phar * @brief Phar console command implementation * @author Marcus Boerger @@ -47,7 +47,7 @@ class PharCommand extends CLICommand // {{{ static function phar_args /** * Phar arguments - * + * * This function contains all the phar commands * * @param string $which Which argument is chosen. @@ -185,7 +185,7 @@ class PharCommand extends CLICommand // {{{ static function strEndsWith /** * String Ends With - * + * * Whether a string ends with another needle. * * @param string $haystack The haystack @@ -285,7 +285,7 @@ class PharCommand extends CLICommand // {{{ static function cli_arg_typ_pharfile /** * Argument type existing Phar file - * + * * Return filename of an existing Phar. * * @param string $arg The file in the phar to open. @@ -312,10 +312,10 @@ class PharCommand extends CLICommand // {{{ static function cli_arg_typ_pharurl /** * Argument type Phar url-like - * + * * Check the argument as cli_arg_Typ_phar and return its name prefixed * with phar:// - * + * * Ex: * <code> * $arg = 'pharchive.phar/file.php'; @@ -544,9 +544,9 @@ class PharCommand extends CLICommand // {{{ function cli_cmd_run_pack /** * Pack a new Phar - * + * * This function will try to pack a new Phar archive. - * + * * @see Exit to make sure that we are done. */ public function cli_cmd_run_pack() @@ -617,7 +617,7 @@ class PharCommand extends CLICommand * * This function will take a directory and iterate through * it and get the files to insert into the Phar archive. - * + * * @param Phar $phar The phar object. * @param string $input The input directory * @param string $regex The regex used in RegexIterator. @@ -712,7 +712,7 @@ class PharCommand extends CLICommand // {{{ public function phar_dir_operation /** * Directory operations - * + * * Phar directory operations. * * @param RecursiveIteratorIterator $dir The recursiveIteratorIterator object. @@ -801,9 +801,9 @@ class PharCommand extends CLICommand // {{{ public function cli_cmd_run_tree /** * Cli Command Run Tree - * + * * Set the phar_dir_operation with a directorygraphiterator. - * + * * @see DirectoryGraphIterator * @see $this->phar_dir_operation * @@ -834,7 +834,7 @@ class PharCommand extends CLICommand // {{{ static function cli_cmd_arg_extract /** * Cli Command Arguments Extract - * + * * The arguments for the extract function. * * @return array The arguments for the extraction. @@ -855,7 +855,7 @@ class PharCommand extends CLICommand // {{{ public function cli_cmd_run_extract /** * Run Extract - * + * * Run the extraction of a phar Archive. * * @see $this->phar_dir_operation @@ -889,7 +889,7 @@ class PharCommand extends CLICommand // {{{ public function phar_dir_extract /** * Extract to a directory - * + * * This function will extract the content of a Phar * to a directory and create new files and directories * depending on the permissions on that folder. @@ -1085,7 +1085,7 @@ class PharCommand extends CLICommand // {{{ public function cli_cmd_run_stub_get /** * Cli Command Run Stub - * + * * Get arguments and store them into a stub. * * @param arguments $args @@ -1102,7 +1102,7 @@ class PharCommand extends CLICommand // {{{ public function cli_cmd_inf_compress /** * Cli Command Inf Compress - * + * * Cli Command compress informations * * @return string A description of the command. diff --git a/ext/phar/shortarc.php b/ext/phar/shortarc.php index e5ac8bab6d..2c1f40dfe4 100644 --- a/ext/phar/shortarc.php +++ b/ext/phar/shortarc.php @@ -127,7 +127,7 @@ class Extract_Phar } while (strlen($last) && strlen($m) < $L[1]); if (strlen($m) < $L[1]) { - die('ERROR: manifest length read was "' . + die('ERROR: manifest length read was "' . strlen($m) .'" should be "' . $L[1] . '"'); } diff --git a/ext/phar/tests/tar/files/corrupt_tarmaker.php.inc b/ext/phar/tests/tar/files/corrupt_tarmaker.php.inc index b0eba6cc69..b5222f5805 100644 --- a/ext/phar/tests/tar/files/corrupt_tarmaker.php.inc +++ b/ext/phar/tests/tar/files/corrupt_tarmaker.php.inc @@ -32,7 +32,7 @@ class corrupt_tarmaker /** * save a file inside this package - * + * * This code is modified from Vincent Lascaux's File_Archive * package, which is licensed under the LGPL license. * @param string relative path within the package @@ -152,7 +152,7 @@ class corrupt_tarmaker /** * Create an internal directory, creating parent directories as needed - * + * * @param string $dir */ function mkdir($dir) diff --git a/ext/phar/tests/tar/files/make.dangerous.tar.php.inc b/ext/phar/tests/tar/files/make.dangerous.tar.php.inc index deeaa41761..52f5a23507 100644 --- a/ext/phar/tests/tar/files/make.dangerous.tar.php.inc +++ b/ext/phar/tests/tar/files/make.dangerous.tar.php.inc @@ -33,7 +33,7 @@ class danger_tarmaker /** * save a file inside this package - * + * * This code is modified from Vincent Lascaux's File_Archive * package, which is licensed under the LGPL license. * @param string relative path within the package @@ -145,7 +145,7 @@ class danger_tarmaker /** * Create an internal directory, creating parent directories as needed - * + * * @param string $dir */ function mkdir($dir) diff --git a/ext/phar/tests/tar/files/tarmaker.php.inc b/ext/phar/tests/tar/files/tarmaker.php.inc index 9b8d348fbb..0df7ee9933 100644 --- a/ext/phar/tests/tar/files/tarmaker.php.inc +++ b/ext/phar/tests/tar/files/tarmaker.php.inc @@ -32,7 +32,7 @@ class tarmaker /** * save a file inside this package - * + * * This code is modified from Vincent Lascaux's File_Archive * package, which is licensed under the LGPL license. * @param string relative path within the package @@ -144,7 +144,7 @@ class tarmaker /** * Create an internal directory, creating parent directories as needed - * + * * @param string $dir */ function mkdir($dir) diff --git a/ext/phar/tests/zip/files/zipmaker.php.inc b/ext/phar/tests/zip/files/zipmaker.php.inc index aceab0d26b..ad16fda659 100644 --- a/ext/phar/tests/zip/files/zipmaker.php.inc +++ b/ext/phar/tests/zip/files/zipmaker.php.inc @@ -51,7 +51,7 @@ class zipmaker /** * Create an internal directory, creating parent directories as needed - * + * * This is a no-op for the tar creator * @param string $dir */ diff --git a/ext/posix/package.xml b/ext/posix/package.xml index 231c5bee20..4cf4b9ce65 100644 --- a/ext/posix/package.xml +++ b/ext/posix/package.xml @@ -12,12 +12,12 @@ </maintainer> </maintainers> <description> -Process Control support in PHP implements the Unix style -of process creation, program execution, signal handling -and process termination. Process Control should not be -enabled within a webserver environment and unexpected -results may happen if any Process Control functions -are used within a webserver environment. +Process Control support in PHP implements the Unix style +of process creation, program execution, signal handling +and process termination. Process Control should not be +enabled within a webserver environment and unexpected +results may happen if any Process Control functions +are used within a webserver environment. </description> <license>PHP</license> <release> diff --git a/ext/pspell/README b/ext/pspell/README index 2e68a2cb9d..58806289db 100644 --- a/ext/pspell/README +++ b/ext/pspell/README @@ -43,9 +43,9 @@ pspell_new() and specifying the custom dictionary as the first parameter. The parameter probably should begin with '/' because otherwise it will be relative to $HOME, which is probably set to "/root". This is probably not what you want because you need write access for nobody to be able to write -to a dictionary. Once the dictionary is open, you can use -pspell_add_to_personal() to add words to the wordlist and finally -pspell_save_wordlist() to save it. +to a dictionary. Once the dictionary is open, you can use +pspell_add_to_personal() to add words to the wordlist and finally +pspell_save_wordlist() to save it. Note that at this moment pspell_save_wordlist() will return TRUE, even if there was an error. This will be changed once pspell library is fixed.
\ No newline at end of file diff --git a/ext/readline/config.m4 b/ext/readline/config.m4 index 0a00370fce..d63df8bef9 100644 --- a/ext/readline/config.m4 +++ b/ext/readline/config.m4 @@ -2,7 +2,7 @@ dnl dnl $Id$ dnl -PHP_ARG_WITH(libedit,for libedit readline replacement, +PHP_ARG_WITH(libedit,for libedit readline replacement, [ --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)]) if test "$PHP_LIBEDIT" = "no"; then @@ -93,11 +93,11 @@ elif test "$PHP_LIBEDIT" != "no"; then PHP_CHECK_LIBRARY(edit, readline, [ - PHP_ADD_LIBRARY_WITH_PATH(edit, $LIBEDIT_DIR/$PHP_LIBDIR, READLINE_SHARED_LIBADD) + PHP_ADD_LIBRARY_WITH_PATH(edit, $LIBEDIT_DIR/$PHP_LIBDIR, READLINE_SHARED_LIBADD) ], [ AC_MSG_ERROR(edit library required by readline not found) ], [ - -L$READLINE_DIR/$PHP_LIBDIR + -L$READLINE_DIR/$PHP_LIBDIR ]) PHP_CHECK_LIBRARY(edit, rl_callback_read_char, diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 34082f04cd..279be19a9e 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -1680,7 +1680,7 @@ ZEND_METHOD(reflection_function, __construct) if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "O", &closure, zend_ce_closure) == SUCCESS) { fptr = (zend_function*)zend_get_closure_method_def(closure); Z_ADDREF_P(closure); - } else { + } else { if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s", &name_str, &name_len) == FAILURE) { return; } @@ -3058,7 +3058,7 @@ ZEND_METHOD(reflection_type, __toString) return; } GET_REFLECTION_OBJECT_PTR(param); - + RETURN_STR(reflection_type_name(param)); } /* }}} */ @@ -3069,12 +3069,12 @@ ZEND_METHOD(reflection_named_type, getName) { reflection_object *intern; type_reference *param; - + if (zend_parse_parameters_none() == FAILURE) { return; } GET_REFLECTION_OBJECT_PTR(param); - + RETURN_STR(reflection_type_name(param)); } /* }}} */ @@ -6869,7 +6869,7 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */ INIT_CLASS_ENTRY(_reflection_entry, "ReflectionType", reflection_type_functions); _reflection_entry.create_object = reflection_objects_new; reflection_type_ptr = zend_register_internal_class(&_reflection_entry); - + INIT_CLASS_ENTRY(_reflection_entry, "ReflectionNamedType", reflection_named_type_functions); _reflection_entry.create_object = reflection_objects_new; reflection_named_type_ptr = zend_register_internal_class_ex(&_reflection_entry, reflection_type_ptr); diff --git a/ext/reflection/tests/exception.inc b/ext/reflection/tests/exception.inc index e403339965..da3fceaac7 100644 --- a/ext/reflection/tests/exception.inc +++ b/ext/reflection/tests/exception.inc @@ -4,11 +4,11 @@ class ReflectionExceptionEx extends ReflectionException { $this->errno = $_errno; $this->errmsg = $_errmsg; } - + function getErrno() { return $this->errno; } - + function getErrmsg() { return $this->errmsg; } diff --git a/ext/session/config.m4 b/ext/session/config.m4 index 949306c026..63a2a6e5ac 100644 --- a/ext/session/config.m4 +++ b/ext/session/config.m4 @@ -27,7 +27,7 @@ if test "$PHP_MM" != "no"; then if test -z "$MM_DIR" ; then AC_MSG_ERROR(cannot find mm library) fi - + PHP_ADD_LIBRARY_WITH_PATH(mm, $MM_DIR/$PHP_LIBDIR, SESSION_SHARED_LIBADD) PHP_ADD_INCLUDE($MM_DIR/include) PHP_INSTALL_HEADERS([ext/session/mod_mm.h]) diff --git a/ext/session/mod_files.bat b/ext/session/mod_files.bat index b6a8babae8..83f85eb66b 100644 --- a/ext/session/mod_files.bat +++ b/ext/session/mod_files.bat @@ -8,7 +8,7 @@ IF _%1_==_AUTO_ ( IF _%2_==__ ( ECHO Usage %0 ^<basedir^> ^<depth^> ^[^hash_bits^] ECHO. - ECHO Where ^<basedir^> is the session directory + ECHO Where ^<basedir^> is the session directory ECHO ^<depth^> is the number of levels defined in session.save_path ECHO ^[hash_bits^] is the number of bits defined in session.hash_bits_per_character EXIT /B 1 diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index d8da991c6d..b313d8bb65 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -29,7 +29,7 @@ * PS_READ_FUNC() - Read data from storage. * PS_GC_FUNC() - Perform GC. Called by probability * (session.gc_probability/session.gc_divisor). - * PS_WRITE_FUNC() or PS_UPDATE_TIMESTAMP() + * PS_WRITE_FUNC() or PS_UPDATE_TIMESTAMP() * - Write session data or update session data timestamp. * It depends on session data change. * PS_CLOSE_FUNC() - Clean up module data created by PS_OPEN_FUNC(). diff --git a/ext/session/package.xml b/ext/session/package.xml index 03fcbf66da..bfca714e1a 100644 --- a/ext/session/package.xml +++ b/ext/session/package.xml @@ -18,8 +18,8 @@ </maintainer> </maintainers> <description> -Session support in PHP consists of a way to preserve certain data -across subsequent accesses. This enables you to build more customized +Session support in PHP consists of a way to preserve certain data +across subsequent accesses. This enables you to build more customized applications and increase the appeal of your web site. </description> <license>PHP</license> diff --git a/ext/session/tests/save_handler.inc b/ext/session/tests/save_handler.inc index 231109c13c..ba0489222d 100644 --- a/ext/session/tests/save_handler.inc +++ b/ext/session/tests/save_handler.inc @@ -51,7 +51,7 @@ function gc($maxlifetime) { $directory = opendir($session_save_path."/"); $length = strlen(SESSION_FILE_PREFIX); while (($file = readdir($directory)) !== FALSE) { - $qualified = ($session_save_path."/".$file); + $qualified = ($session_save_path."/".$file); if (is_file($qualified) === TRUE) { if (substr($file, 0, $length) === SESSION_FILE_PREFIX && (filemtime($qualified) + $maxlifetime <= time() )) { unlink($qualified); diff --git a/ext/shmop/README b/ext/shmop/README index c4970376b0..1bb95b220e 100644 --- a/ext/shmop/README +++ b/ext/shmop/README @@ -9,32 +9,32 @@ Shared Memory Operations Extension to PHP offers high level features which are extremely bothersome for basic SHM we had in mind. After spending a day trying to reverse engineer and figure out the format of sysvshm we decided that it would be much easier to - add our own extension to php for simple SHM operations, we were right :)). + add our own extension to php for simple SHM operations, we were right :)). the functions are: - + int shmop_open(int key, string flags, int mode, int size) - + key - the key of/for the shared memory block - flags - 4 flags are avalible + flags - 4 flags are avalible a for read only access (sets SHM_RDONLY) w for read & write access c create or open an existing segment (sets IPC_CREATE) n create a new segment and fail if one already exists under same name (sets IPC_CREATE|IPC_EXCL) - (the n flag is mostly useful for security perpouses, so that you don't end up opening a faked segment + (the n flag is mostly useful for security perpouses, so that you don't end up opening a faked segment if someone guesses your key) mode - acsess mode same as for a file (0644) for example size - size of the block in bytes - + returns an indentifier - + char shmop_read(int shmid, int start, int count) shmid - shmid from which to read start - offset from which to start reading count - how many bytes to read - + returns the data read int shmop_write(int shmid, string data, int offset) @@ -42,28 +42,28 @@ int shmop_write(int shmid, string data, int offset) shmid - shmid from which to read data - string to put into shared memory offset - offset in shm to write from - + returns bytes written - + int shmop_size(int shmid) shmid - shmid for which to return the size - + returns the size in bytes of the shm segment - - + + int shmop_delete(int shmid) marks the segment for deletion, the segment will be deleted when all processes mapping it will detach shmid - shmid which to mark for deletion - + returns 1 if all ok, zero on failure - + int shmop_close(int shmid) shmid - shmid which to close - + returns zero - + diff --git a/ext/shmop/config.m4 b/ext/shmop/config.m4 index 6c1709d715..4017982a54 100644 --- a/ext/shmop/config.m4 +++ b/ext/shmop/config.m4 @@ -1,5 +1,5 @@ dnl $Id$ -PHP_ARG_ENABLE(shmop, whether to enable shmop support, +PHP_ARG_ENABLE(shmop, whether to enable shmop support, [ --enable-shmop Enable shmop support]) if test "$PHP_SHMOP" != "no"; then diff --git a/ext/shmop/package.xml b/ext/shmop/package.xml index 669da64bcf..07c3edafcf 100644 --- a/ext/shmop/package.xml +++ b/ext/shmop/package.xml @@ -18,7 +18,7 @@ </maintainers> <description> Portable Shared Memory access - </description> + </description> <license>PHP</license> <release> <state>stable</state> diff --git a/ext/shmop/package2.xml b/ext/shmop/package2.xml index a8b00f371c..f5a20c86b8 100644 --- a/ext/shmop/package2.xml +++ b/ext/shmop/package2.xml @@ -26,7 +26,7 @@ http://pear.php.net/dtd/package-2.0.xsd"> </stability> <license uri="http://www.php.net/license">PHP</license> <notes>package.xml added to support installation using pear installer - + </notes> <contents> <dir name="/"> diff --git a/ext/simplexml/README b/ext/simplexml/README index bb9240d103..406b312002 100755 --- a/ext/simplexml/README +++ b/ext/simplexml/README @@ -8,12 +8,12 @@ SimpleXML objects follow four basic rules: 4) string conversion allows to access TEXT data When iterating properties then the extension always iterates over -all nodes with that element name. Thus method children() must be +all nodes with that element name. Thus method children() must be called to iterate over subnodes. But also doing the following: foreach ($obj->node_name as $elem) { // do something with $elem } -always results in iteration of 'node_name' elements. So no further +always results in iteration of 'node_name' elements. So no further check is needed to distinguish the number of nodes of that type. When an elements TEXT data is being accessed through a property @@ -29,6 +29,6 @@ TODO ==== At the moment property access to multiple elements of the same -name returns an array of SimpleXML objects. This should be an +name returns an array of SimpleXML objects. This should be an object of a new type instead so that all kinds of linkage, assignment and deleting would work. diff --git a/ext/simplexml/config.m4 b/ext/simplexml/config.m4 index ec1b2b2cc5..cb0b843852 100644 --- a/ext/simplexml/config.m4 +++ b/ext/simplexml/config.m4 @@ -11,8 +11,8 @@ fi if test "$PHP_SIMPLEXML" != "no"; then - if test "$PHP_LIBXML" = "no"; then - AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --enable-libxml]) + if test "$PHP_LIBXML" = "no"; then + AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --enable-libxml]) fi PHP_SETUP_LIBXML(SIMPLEXML_SHARED_LIBADD, [ diff --git a/ext/simplexml/tests/sxe.xml b/ext/simplexml/tests/sxe.xml index 909b4e652c..413be72087 100755 --- a/ext/simplexml/tests/sxe.xml +++ b/ext/simplexml/tests/sxe.xml @@ -14,4 +14,4 @@ </elem3> </elem2> </elem1> -</sxe>
\ No newline at end of file +</sxe>
\ No newline at end of file diff --git a/ext/simplexml/tests/sxeç§ã¯ã‚¬ãƒ©ã‚¹ã‚’食ã¹ã‚‰ã‚Œã¾ã™.xml b/ext/simplexml/tests/sxeç§ã¯ã‚¬ãƒ©ã‚¹ã‚’食ã¹ã‚‰ã‚Œã¾ã™.xml index 909b4e652c..413be72087 100644 --- a/ext/simplexml/tests/sxeç§ã¯ã‚¬ãƒ©ã‚¹ã‚’食ã¹ã‚‰ã‚Œã¾ã™.xml +++ b/ext/simplexml/tests/sxeç§ã¯ã‚¬ãƒ©ã‚¹ã‚’食ã¹ã‚‰ã‚Œã¾ã™.xml @@ -14,4 +14,4 @@ </elem3> </elem2> </elem1> -</sxe>
\ No newline at end of file +</sxe>
\ No newline at end of file diff --git a/ext/snmp/config.m4 b/ext/snmp/config.m4 index dd7a3bf68d..7342872c32 100644 --- a/ext/snmp/config.m4 +++ b/ext/snmp/config.m4 @@ -37,7 +37,7 @@ if test "$PHP_SNMP" != "no"; then else AC_MSG_ERROR([Net-SNMP version 5.3 or greater reqired (detected $snmp_full_version).]) fi - else + else AC_MSG_ERROR([Could not find net-snmp-config binary. Please check your net-snmp installation.]) fi diff --git a/ext/snmp/tests/README b/ext/snmp/tests/README index 0db1a4f82b..6b4e8d9705 100644 --- a/ext/snmp/tests/README +++ b/ext/snmp/tests/README @@ -31,7 +31,7 @@ On Linux/FreeBSD - Install package net-snmpd (name may differ based on your distribution). - Replace config file (by default this is /etc/snmp/snmpd.conf on Linux and /usr/local/etc/snmp/snmpd.conf on FreeBSD) with snmpd.conf supplied. - + Before launching daemon make sure that there is no file /var/net-snmp/snmpd.conf Delete it if exists. Ingoring to to so will fail SNMPv3 tests. diff --git a/ext/snmp/tests/skipif.inc b/ext/snmp/tests/skipif.inc index 4d37902636..72423251fd 100644 --- a/ext/snmp/tests/skipif.inc +++ b/ext/snmp/tests/skipif.inc @@ -1,11 +1,11 @@ <?php extension_loaded('snmp') or die('skip snmp extension not available in this build'); - + require_once (dirname(__FILE__).'/snmp_include.inc'); //test server is available // this require snmpget to work ... -//snmpget ( string $hostname , string $community , +//snmpget ( string $hostname , string $community , //string $object_id [, int $timeout [, int $retries ]] ) if (snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false) diff --git a/ext/soap/config.m4 b/ext/soap/config.m4 index ea39dd7894..4a01bc006a 100644 --- a/ext/soap/config.m4 +++ b/ext/soap/config.m4 @@ -11,8 +11,8 @@ fi if test "$PHP_SOAP" != "no"; then - if test "$PHP_LIBXML" = "no"; then - AC_MSG_ERROR([SOAP extension requires LIBXML extension, add --enable-libxml]) + if test "$PHP_LIBXML" = "no"; then + AC_MSG_ERROR([SOAP extension requires LIBXML extension, add --enable-libxml]) fi PHP_SETUP_LIBXML(SOAP_SHARED_LIBADD, [ diff --git a/ext/soap/interop/client_round2_interop.php b/ext/soap/interop/client_round2_interop.php index 009e1f0409..2c3eecae6e 100644 --- a/ext/soap/interop/client_round2_interop.php +++ b/ext/soap/interop/client_round2_interop.php @@ -200,7 +200,7 @@ class Interop_Client } else if (!$all) $sql .= "where status=1"; $sql .= " order by endpointName"; - + $db_ep = $this->dbc->getAll($sql,NULL, DB_FETCHMODE_ASSOC ); if (DB::isError($db_ep)) { @@ -263,7 +263,7 @@ class Interop_Client $success = $result['fault']->faultcode; $pos = strpos($success,':'); if ($pos !== false) { - $success = substr($success,$pos+1); + $success = substr($success,$pos+1); } $error = $result['fault']->faultstring; if (!$wire) $wire= $result['fault']->detail; @@ -452,7 +452,7 @@ try { // compare header results $headers_ok = TRUE; if ($soap_test->headers || $soap_test->headers_expect) { - $headers_ok = $this->compareResult($soap_test->headers_expect, $result_headers); + $headers_ok = $this->compareResult($soap_test->headers_expect, $result_headers); } # we need to decode what we sent so we can compare! @@ -514,7 +514,7 @@ try { $res =$fault->faultcode; $pos = strpos($res,':'); if ($pos !== false) { - $res = substr($res,$pos+1); + $res = substr($res,$pos+1); } } // save the wire diff --git a/ext/soap/interop/client_round2_params.php b/ext/soap/interop/client_round2_params.php index ccf479a5cc..dc1ab42f84 100644 --- a/ext/soap/interop/client_round2_params.php +++ b/ext/soap/interop/client_round2_params.php @@ -109,7 +109,7 @@ class SOAP_Test { $res = $fault->faultcode; $pos = strpos($res,':'); if ($pos !== false) { - $res = substr($res,$pos+1); + $res = substr($res,$pos+1); } if ($html) { print "<font color=\"#ff0000\">FAILED: [$res] {$fault->faultstring}</font>\n"; diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 44e4a142f5..b894a1eabf 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -826,7 +826,7 @@ try_again: zend_ulong numindx; int res = zend_hash_get_current_key(Z_ARRVAL_P(cookies), &key, &numindx); data = zend_hash_get_current_data(Z_ARRVAL_P(cookies)); - + if (res == HASH_KEY_IS_STRING && Z_TYPE_P(data) == IS_ARRAY) { zval *value; diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 01ecc9a540..a1f4cccdbe 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2350,7 +2350,7 @@ PHP_METHOD(SoapClient, SoapClient) context = php_stream_context_from_zval(tmp, 1); Z_ADDREF_P(tmp); } else { - context = php_stream_context_alloc(); + context = php_stream_context_alloc(); } if ((tmp = zend_hash_str_find(ht, "location", sizeof("location")-1)) != NULL && diff --git a/ext/soap/tests/interop/Round3/GroupD/round3_groupD_doclitparams.inc b/ext/soap/tests/interop/Round3/GroupD/round3_groupD_doclitparams.inc index 6561ff135c..b65da2782c 100644 --- a/ext/soap/tests/interop/Round3/GroupD/round3_groupD_doclitparams.inc +++ b/ext/soap/tests/interop/Round3/GroupD/round3_groupD_doclitparams.inc @@ -2,7 +2,7 @@ class SOAP_Interop_GroupD { function echoString($inputString) - { + { return array("return"=>$inputString->param0); } diff --git a/ext/soap/tests/interop/Round4/GroupI/round4_groupI_xsd.inc b/ext/soap/tests/interop/Round4/GroupI/round4_groupI_xsd.inc index 74ca5775f0..af74db7c74 100644 --- a/ext/soap/tests/interop/Round4/GroupI/round4_groupI_xsd.inc +++ b/ext/soap/tests/interop/Round4/GroupI/round4_groupI_xsd.inc @@ -102,7 +102,7 @@ class SOAP_Interop_GroupI { return array("return"=>$boolean->inputBoolean); } - function echoComplexTypeAsSimpleTypes($input) + function echoComplexTypeAsSimpleTypes($input) { if (isset($input->inputComplexType)) { $ret = array("outputInteger" => $input->inputComplexType->varInt, @@ -116,7 +116,7 @@ class SOAP_Interop_GroupI { } } - function echoSimpleTypesAsComplexType($input) + function echoSimpleTypesAsComplexType($input) { $ret = array("varInt" => $input->inputInteger, "varFloat" => $input->inputFloat); diff --git a/ext/soap/tests/schema/test_schema.inc b/ext/soap/tests/schema/test_schema.inc index bfc4ce0db4..7afc4e697c 100644 --- a/ext/soap/tests/schema/test_schema.inc +++ b/ext/soap/tests/schema/test_schema.inc @@ -44,7 +44,7 @@ $wsdl = <<<EOF </binding> <service name="testService"> <port name="testPort" binding="tns:testBinding"> - <soap:address location="test://" /> + <soap:address location="test://" /> </port> </service> </definitions> diff --git a/ext/sockets/package.xml b/ext/sockets/package.xml index 5fa67d9939..8fb5a70dd4 100644 --- a/ext/sockets/package.xml +++ b/ext/sockets/package.xml @@ -30,8 +30,8 @@ </maintainer> </maintainers> <description> -The socket extension implements a low-level interface to the socket -communication functions based on the popular BSD sockets, providing +The socket extension implements a low-level interface to the socket +communication functions based on the popular BSD sockets, providing the possibility to act as a socket server as well as a client. </description> <license>PHP</license> diff --git a/ext/spl/README b/ext/spl/README index 28373a3eda..0f0e1e31b0 100755 --- a/ext/spl/README +++ b/ext/spl/README @@ -1,7 +1,7 @@ -This is an extension that aims to implement some efficient data access +This is an extension that aims to implement some efficient data access interfaces and classes. You'll find the classes documented using php code in the file spl.php or in the corresponding .inc file in the examples -subdirectory. Based on the internal implementations or the files in the +subdirectory. Based on the internal implementations or the files in the examples subdirectory there are also some .php files to experiment with. For more information look at: http://php.net/manual/en/book.spl.php diff --git a/ext/spl/config.m4 b/ext/spl/config.m4 index 2f77946ce5..63427fb286 100755 --- a/ext/spl/config.m4 +++ b/ext/spl/config.m4 @@ -1,7 +1,7 @@ dnl $Id$ dnl config.m4 for extension SPL - AC_DEFINE(HAVE_SPL, 1, [Whether you want SPL (Standard PHP Library) support]) + AC_DEFINE(HAVE_SPL, 1, [Whether you want SPL (Standard PHP Library) support]) PHP_NEW_EXTENSION(spl, php_spl.c spl_functions.c spl_engine.c spl_iterators.c spl_array.c spl_directory.c spl_exceptions.c spl_observer.c spl_dllist.c spl_heap.c spl_fixedarray.c, no,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) PHP_INSTALL_HEADERS([ext/spl], [php_spl.h spl_array.h spl_directory.h spl_engine.h spl_exceptions.h spl_functions.h spl_iterators.h spl_observer.h spl_dllist.h spl_heap.h spl_fixedarray.h]) PHP_ADD_EXTENSION_DEP(spl, pcre, true) diff --git a/ext/spl/examples/autoload.inc b/ext/spl/examples/autoload.inc index 5871e7d63b..2ccd0d1be8 100644 --- a/ext/spl/examples/autoload.inc +++ b/ext/spl/examples/autoload.inc @@ -23,7 +23,7 @@ function __load_class($classname, $dir) return false; } -/** +/** * @brief Class loader for SPL example classes * @author Marcus Boerger * @version 1.0 diff --git a/ext/spl/examples/dba_array.php b/ext/spl/examples/dba_array.php index 346ac1f2f7..f217c34546 100755 --- a/ext/spl/examples/dba_array.php +++ b/ext/spl/examples/dba_array.php @@ -11,7 +11,7 @@ * If \<value\> is specified then \<key\> is set to \<value\> in \<file\>. * Else the value of \<key\> is printed only. * - * Note: configure with --enable-dba + * Note: configure with --enable-dba */ if ($argc < 4) { diff --git a/ext/spl/examples/dba_dump.php b/ext/spl/examples/dba_dump.php index 2c698d427a..7ea8e76255 100755 --- a/ext/spl/examples/dba_dump.php +++ b/ext/spl/examples/dba_dump.php @@ -11,7 +11,7 @@ * Show all groups in the ini file specified by \<file\>. * The regular expression \<regex\> is used to filter the by setting name. * - * Note: configure with --enable-dba + * Note: configure with --enable-dba */ if ($argc < 3) { diff --git a/ext/spl/examples/dbaarray.inc b/ext/spl/examples/dbaarray.inc index d448ad7299..d6ee56f442 100644 --- a/ext/spl/examples/dbaarray.inc +++ b/ext/spl/examples/dbaarray.inc @@ -49,12 +49,12 @@ class DbaArray extends DbaReader implements ArrayAccess */ function offsetGet($name) { - $data = dba_fetch($name, $this->db); + $data = dba_fetch($name, $this->db); if($data) { //return unserialize($data); return $data; } - else + else { return NULL; } diff --git a/ext/spl/examples/dbareader.inc b/ext/spl/examples/dbareader.inc index b09791239b..01de37e990 100644 --- a/ext/spl/examples/dbareader.inc +++ b/ext/spl/examples/dbareader.inc @@ -32,7 +32,7 @@ class DbaReader implements Iterator throw new exception('Could not open file ' . $file); } } - + /** * Close database. */ @@ -60,7 +60,7 @@ class DbaReader implements Iterator /** * Fetches the current data if $key is valid - */ + */ private function fetch_data() { if ($this->key !== false) { $this->val = dba_fetch($this->key, $this->db); diff --git a/ext/spl/examples/directoryfilterdots.inc b/ext/spl/examples/directoryfilterdots.inc index 37f14b7106..454bd90883 100644 --- a/ext/spl/examples/directoryfilterdots.inc +++ b/ext/spl/examples/directoryfilterdots.inc @@ -28,7 +28,7 @@ class DirectoryFilterDots extends RecursiveFilterIterator } /** @return whether the current entry is neither '.' nor '..' - */ + */ function accept() { return !$this->getInnerIterator()->isDot(); diff --git a/ext/spl/examples/directorygraphiterator.inc b/ext/spl/examples/directorygraphiterator.inc index 5808e3b89e..3f0bb263e2 100644 --- a/ext/spl/examples/directorygraphiterator.inc +++ b/ext/spl/examples/directorygraphiterator.inc @@ -23,9 +23,9 @@ class DirectoryGraphIterator extends DirectoryTreeIterator new ParentIterator( new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME ) - ), + ), CachingIterator::CALL_TOSTRING|CachingIterator::CATCH_GET_CHILD - ), + ), parent::SELF_FIRST ); } diff --git a/ext/spl/examples/directorytreeiterator.inc b/ext/spl/examples/directorytreeiterator.inc index 8e65d0db12..8454d9e305 100644 --- a/ext/spl/examples/directorytreeiterator.inc +++ b/ext/spl/examples/directorytreeiterator.inc @@ -24,27 +24,27 @@ class DirectoryTreeIterator extends RecursiveIteratorIterator parent::__construct( new RecursiveCachingIterator( new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME - ), + ), CachingIterator::CALL_TOSTRING|CachingIterator::CATCH_GET_CHILD - ), + ), parent::SELF_FIRST ); } /** @return the current element prefixed with ASCII graphics - */ + */ function current() { $tree = ''; for ($l=0; $l < $this->getDepth(); $l++) { $tree .= $this->getSubIterator($l)->hasNext() ? '| ' : ' '; } - return $tree . ($this->getSubIterator($l)->hasNext() ? '|-' : '\-') + return $tree . ($this->getSubIterator($l)->hasNext() ? '|-' : '\-') . $this->getSubIterator($l)->__toString(); } /** Aggregates the inner iterator - */ + */ function __call($func, $params) { return call_user_func_array(array($this->getSubIterator(), $func), $params); diff --git a/ext/spl/examples/dualiterator.inc b/ext/spl/examples/dualiterator.inc index 4cee203436..eeb8ae869c 100644 --- a/ext/spl/examples/dualiterator.inc +++ b/ext/spl/examples/dualiterator.inc @@ -24,9 +24,9 @@ class DualIterator implements Iterator const KEY_LHS = 0x10; const KEY_RHS = 0x20; const KEY_0 = 0x00; - + const DEFAULT_FLAGS = 0x13; - + private $lhs; private $rhs; private $flags; @@ -37,7 +37,7 @@ class DualIterator implements Iterator * @param rhs Right Hand Side Iterator * @param flags iteration flags */ - function __construct(Iterator $lhs, Iterator $rhs, + function __construct(Iterator $lhs, Iterator $rhs, $flags = 0x13 /*DualIterator::DEFAULT_FLAGS*/) { $this->lhs = $lhs; @@ -74,22 +74,22 @@ class DualIterator implements Iterator } /** rewind both inner iterators - */ + */ function rewind() { $this->lhs->rewind(); - $this->rhs->rewind(); + $this->rhs->rewind(); } /** @return whether both inner iterators are valid - */ + */ function valid() { - return $this->lhs->valid() && $this->rhs->valid(); + return $this->lhs->valid() && $this->rhs->valid(); } /** @return current value depending on CURRENT_* flags - */ + */ function current() { switch($this->flags & 0x0F) @@ -107,7 +107,7 @@ class DualIterator implements Iterator } /** @return key value depending on KEY_* flags - */ + */ function key() { switch($this->flags & 0xF0) @@ -123,14 +123,14 @@ class DualIterator implements Iterator } /** move both inner iterators forward - */ + */ function next() { $this->lhs->next(); $this->rhs->next(); } - /** @return whether both inner iterators are valid and have identical + /** @return whether both inner iterators are valid and have identical * current and key values or both are non valid. */ function areIdentical() @@ -141,7 +141,7 @@ class DualIterator implements Iterator : $this->lhs->valid() == $this->rhs->valid(); } - /** @return whether both inner iterators are valid and have equal current + /** @return whether both inner iterators are valid and have equal current * and key values or both are non valid. */ function areEqual() @@ -162,14 +162,14 @@ class DualIterator implements Iterator * @note If one implements RecursiveIterator the other must do as well. * And if both do then a recursive comparison is being used. */ - static function compareIterators(Iterator $lhs, Iterator $rhs, + static function compareIterators(Iterator $lhs, Iterator $rhs, $identical = false) { if ($lhs instanceof RecursiveIterator) { if ($rhs instanceof RecursiveIterator) { - $it = new RecursiveDualIterator($lhs, $rhs, + $it = new RecursiveDualIterator($lhs, $rhs, self::CURRENT_0 | self::KEY_0); $it = new RecursiveCompareDualIterator($it); } diff --git a/ext/spl/examples/findregex.php b/ext/spl/examples/findregex.php index b43ee0cbbc..288c0924b1 100755 --- a/ext/spl/examples/findregex.php +++ b/ext/spl/examples/findregex.php @@ -1,5 +1,5 @@ <?php - + /** @file findregex.php * @brief Program Find a specific file by name. * @ingroup Examples @@ -33,4 +33,4 @@ foreach(new RegexFindFile($argv[1], $argv[2]) as $file) echo $file->getPathname()."\n"; } -?>
\ No newline at end of file +?>
\ No newline at end of file diff --git a/ext/spl/examples/ini_groups.php b/ext/spl/examples/ini_groups.php index 5136911096..4c6c89bd70 100755 --- a/ext/spl/examples/ini_groups.php +++ b/ext/spl/examples/ini_groups.php @@ -11,7 +11,7 @@ * Show all groups in the ini file specified by \<file\>. * The regular expression \<regex\> is used to filter the result. * - * Note: configure with --enable-dba + * Note: configure with --enable-dba */ if ($argc < 2) { diff --git a/ext/spl/examples/inigroups.inc b/ext/spl/examples/inigroups.inc index 62cfa3e029..cb2bb04a57 100644 --- a/ext/spl/examples/inigroups.inc +++ b/ext/spl/examples/inigroups.inc @@ -18,11 +18,11 @@ if (!class_exists("DbaReader", false)) require_once("dbareader.inc"); * @version 1.1 * * Using this class you can iterator over all groups of a ini file. - * + * * This class uses a 'is-a' relation to KeyFilter in contrast to a 'has-a' - * relation. Doing so both current() and key() methods must be overwritten. + * relation. Doing so both current() and key() methods must be overwritten. * If it would use a 'has-a' relation there would be much more to type... - * but for puritists that would allow correctness in so far as then no + * but for puritists that would allow correctness in so far as then no * key() would be needed. */ class IniGroups extends KeyFilter diff --git a/ext/spl/examples/keyfilter.inc b/ext/spl/examples/keyfilter.inc index eaf6b77364..abc925ec43 100644 --- a/ext/spl/examples/keyfilter.inc +++ b/ext/spl/examples/keyfilter.inc @@ -16,7 +16,7 @@ * * Instances of this class act as a filter around iterators whose elements * are strings. In other words you can put an iterator into the constructor - * and the instance will only return elements which match the given regular + * and the instance will only return elements which match the given regular * expression. */ class KeyFilter extends FilterIterator @@ -38,13 +38,13 @@ class KeyFilter extends FilterIterator $this->regex = $regex; } - /** \return whether the current key mathes the regular expression + /** \return whether the current key mathes the regular expression */ function accept() { return ereg($this->regex, $this->getInnerIterator()->key()); } - + /** @return regular expression used as filter */ function getRegex() @@ -57,7 +57,7 @@ class KeyFilter extends FilterIterator */ protected function __clone() { - // disallow clone + // disallow clone } } diff --git a/ext/spl/examples/phar_from_dir.php b/ext/spl/examples/phar_from_dir.php index 2ee15ca1e6..d75788e840 100755 --- a/ext/spl/examples/phar_from_dir.php +++ b/ext/spl/examples/phar_from_dir.php @@ -9,7 +9,7 @@ * * Usage: php phar_create_from_dir.php \<archive\> \<directory\> [\<regex\>] * - * Create phar archive \<archive\> using entries from \<directory\> that + * Create phar archive \<archive\> using entries from \<directory\> that * optionally match \<regex\>. */ diff --git a/ext/spl/examples/recursivecomparedualiterator.inc b/ext/spl/examples/recursivecomparedualiterator.inc index 75265c1d58..5b63e9f0b3 100644 --- a/ext/spl/examples/recursivecomparedualiterator.inc +++ b/ext/spl/examples/recursivecomparedualiterator.inc @@ -33,7 +33,7 @@ class RecursiveCompareDualIterator extends RecursiveIteratorIterator } /** Rewind iteration andcomparison process. Starting with $equal = true. - */ + */ function rewind() { $this->equal = true; @@ -49,7 +49,7 @@ class RecursiveCompareDualIterator extends RecursiveIteratorIterator && !$this->getInnerIterator()->getRHS()->valid(); } - /** @return whether both inner iterators are valid and have identical + /** @return whether both inner iterators are valid and have identical * current and key values or both are non valid. */ function areIdentical() @@ -57,7 +57,7 @@ class RecursiveCompareDualIterator extends RecursiveIteratorIterator return $this->equal && $this->getInnerIterator()->areIdentical(); } - /** @return whether both inner iterators are valid and have equal current + /** @return whether both inner iterators are valid and have equal current * and key values or both are non valid. */ function areEqual() diff --git a/ext/spl/examples/recursivedualiterator.inc b/ext/spl/examples/recursivedualiterator.inc index cfa3bccbbc..a56984e083 100644 --- a/ext/spl/examples/recursivedualiterator.inc +++ b/ext/spl/examples/recursivedualiterator.inc @@ -24,7 +24,7 @@ class RecursiveDualIterator extends DualIterator implements RecursiveIterator * @param rhs Right Hand Side Iterator * @param flags iteration flags */ - function __construct(RecursiveIterator $lhs, RecursiveIterator $rhs, + function __construct(RecursiveIterator $lhs, RecursiveIterator $rhs, $flags = 0x33 /*DualIterator::DEFAULT_FLAGS*/) { parent::__construct($lhs, $rhs, $flags); @@ -34,10 +34,10 @@ class RecursiveDualIterator extends DualIterator implements RecursiveIterator */ function hasChildren() { - return $this->getLHS()->hasChildren() && $this->getRHS()->hasChildren(); + return $this->getLHS()->hasChildren() && $this->getRHS()->hasChildren(); } - /** @return new RecursiveDualIterator (late binding) for the two inner + /** @return new RecursiveDualIterator (late binding) for the two inner * iterators current children. */ function getChildren() diff --git a/ext/spl/examples/searchiterator.inc b/ext/spl/examples/searchiterator.inc index 944a4ac5a5..ff4963bc72 100644 --- a/ext/spl/examples/searchiterator.inc +++ b/ext/spl/examples/searchiterator.inc @@ -38,7 +38,7 @@ abstract class SearchIterator extends FilterIterator { return !$this->done && parent::valid(); } - + /** Do not move forward but instead mark as finished. * @return void */ @@ -48,7 +48,7 @@ abstract class SearchIterator extends FilterIterator } /** Aggregates the inner iterator - */ + */ function __call($func, $params) { return call_user_func_array(array($this->getInnerIterator(), $func), $params); diff --git a/ext/spl/internal/appenditerator.inc b/ext/spl/internal/appenditerator.inc index 28e32b15f6..72eb258136 100644 --- a/ext/spl/internal/appenditerator.inc +++ b/ext/spl/internal/appenditerator.inc @@ -34,7 +34,7 @@ class AppendIterator implements OuterIterator * the AppendIterator itself becomes valid. However there will be no * call to $it->rewind(). Also if the current state is invalid the inner * ArrayIterator will be rewound und forwarded to the appended element. - */ + */ function append(Iterator $it) { $this->iterators->append($it); @@ -84,7 +84,7 @@ class AppendIterator implements OuterIterator return $this->iterators->valid() ? $this->getInnerIterator()->key() : NULL; } - /** Move to the next element. If this means to another Iterator that + /** Move to the next element. If this means to another Iterator that * rewind that Iterator. * @return void */ @@ -112,7 +112,7 @@ class AppendIterator implements OuterIterator } /** Aggregates the inner iterator - */ + */ function __call($func, $params) { return call_user_func_array(array($this->getInnerIterator(), $func), $params); diff --git a/ext/spl/internal/cachingiterator.inc b/ext/spl/internal/cachingiterator.inc index 4d4bf8dbff..077ac726cf 100644 --- a/ext/spl/internal/cachingiterator.inc +++ b/ext/spl/internal/cachingiterator.inc @@ -18,8 +18,8 @@ * This iterator wrapper does a one ahead iteration. This way it knows whether * the inner iterator has one more element. * - * @note If you want to convert the elements into strings and the inner - * Iterator is an internal Iterator then you need to provide the + * @note If you want to convert the elements into strings and the inner + * Iterator is an internal Iterator then you need to provide the * flag CALL_TOSTRING to do the conversion when the actual element * is being fetched. Otherwise the conversion would happen with the * already changed iterator. If you do not need this then it you should @@ -41,7 +41,7 @@ class CachingIterator implements OuterIterator /** Construct from another iterator * * @param it Iterator to cache - * @param flags Bitmask: + * @param flags Bitmask: * - CALL_TOSTRING (whether to call __toString() for every element) */ function __construct(Iterator $it, $flags = self::CALL_TOSTRING) @@ -63,7 +63,7 @@ class CachingIterator implements OuterIterator $this->it->rewind(); $this->next(); } - + /** Forward to the next element */ function next() @@ -85,7 +85,7 @@ class CachingIterator implements OuterIterator } $this->it->next(); } - + /** @return whether the iterator is valid */ function valid() @@ -99,7 +99,7 @@ class CachingIterator implements OuterIterator { return $this->it->valid(); } - + /** @return the current element */ function current() @@ -123,8 +123,8 @@ class CachingIterator implements OuterIterator { return call_user_func_array(array($this->it, $func), $params); } - - /** @return the string represenatation that was generated for the current + + /** @return the string represenatation that was generated for the current * element * @throw exception when CALL_TOSTRING was not specified in constructor */ @@ -144,10 +144,10 @@ class CachingIterator implements OuterIterator } return $this->strValue; } - + /** * @return The inner iterator - */ + */ function getInnerIterator() { return $this->it; diff --git a/ext/spl/internal/filteriterator.inc b/ext/spl/internal/filteriterator.inc index 3330cc9e47..e11e467a10 100644 --- a/ext/spl/internal/filteriterator.inc +++ b/ext/spl/internal/filteriterator.inc @@ -15,12 +15,12 @@ * @version 1.1 * @since PHP 5.0 * - * Instances of this class act as a filter around iterators. In other words - * you can put an iterator into the constructor and the instance will only + * Instances of this class act as a filter around iterators. In other words + * you can put an iterator into the constructor and the instance will only * return selected (accepted) elements. * - * The only thing that needs to be done to make this work is implementing - * method accept(). Typically this invloves reading the current element or + * The only thing that needs to be done to make this work is implementing + * method accept(). Typically this invloves reading the current element or * key of the inner Iterator and checking whether it is acceptable. */ abstract class FilterIterator implements OuterIterator @@ -39,7 +39,7 @@ abstract class FilterIterator implements OuterIterator /** * Rewind the inner iterator. */ - function rewind() { + function rewind() { $this->it->rewind(); $this->fetch(); } @@ -76,38 +76,38 @@ abstract class FilterIterator implements OuterIterator $this->it->next(); $this->fetch(); } - + /** * @return Whether more elements are available */ function valid() { return $this->it->valid(); } - + /** * @return The current key */ function key() { return $this->it->key(); } - + /** * @return The current value */ function current() { return $this->it->current(); } - + /** * hidden __clone */ protected function __clone() { - // disallow clone + // disallow clone } /** * @return The inner iterator - */ + */ function getInnerIterator() { return $this->it; diff --git a/ext/spl/internal/iteratoriterator.inc b/ext/spl/internal/iteratoriterator.inc index 451d05da32..cdf89d8306 100644 --- a/ext/spl/internal/iteratoriterator.inc +++ b/ext/spl/internal/iteratoriterator.inc @@ -13,8 +13,8 @@ * @brief Basic Iterator wrapper * @since PHP 5.1 * - * This iterator wrapper allows to convert anything that is traversable into - * an Iterator. It is very important to understand that most classes that do + * This iterator wrapper allows to convert anything that is traversable into + * an Iterator. It is very important to understand that most classes that do * not implement Iterator have their reasone to. Most likely they do not allow * the full Iterator feature set. If so you need to provide techniques to * prevent missuse. If you do not you must expect exceptions or fatal errors. @@ -32,7 +32,7 @@ } \endcode * - * As you can see in the example this approach requires that the class to + * As you can see in the example this approach requires that the class to * downcast to is actually a base class of the specified iterator to wrap. * Omitting the downcast in the above example would result in an endless loop * since IteratorIterator::__construct() would call SomeClass::getIterator(). diff --git a/ext/spl/internal/limititerator.inc b/ext/spl/internal/limititerator.inc index c5bddead78..00c4122872 100644 --- a/ext/spl/internal/limititerator.inc +++ b/ext/spl/internal/limititerator.inc @@ -47,7 +47,7 @@ class LimitIterator implements OuterIterator $this->count = $count; $this->pos = 0; } - + /** Seek to specified position * @param position offset to seek to (relative to beginning not offset * specified in constructor). @@ -78,14 +78,14 @@ class LimitIterator implements OuterIterator $this->pos = 0; $this->seek($this->offset); } - + /** @return whether iterator is valid */ function valid() { return ($this->count == -1 || $this->pos < $this->offset + $this->count) && $this->it->valid(); } - + /** @return current key */ function key() { @@ -105,7 +105,7 @@ class LimitIterator implements OuterIterator $this->pos++; } - /** @return current position relative to zero (not to offset specified in + /** @return current position relative to zero (not to offset specified in * constructor). */ function getPosition() { @@ -114,7 +114,7 @@ class LimitIterator implements OuterIterator /** * @return The inner iterator - */ + */ function getInnerIterator() { return $this->it; diff --git a/ext/spl/internal/parentiterator.inc b/ext/spl/internal/parentiterator.inc index cc377fcc6b..69a223444d 100644 --- a/ext/spl/internal/parentiterator.inc +++ b/ext/spl/internal/parentiterator.inc @@ -15,8 +15,8 @@ * @version 1.2 * @since PHP 5.1 * - * This extended FilterIterator allows a recursive iteration using - * RecursiveIteratorIterator that only shows those elements which have + * This extended FilterIterator allows a recursive iteration using + * RecursiveIteratorIterator that only shows those elements which have * children. */ class ParentIterator extends RecursiveFilterIterator diff --git a/ext/spl/internal/recursivearrayiterator.inc b/ext/spl/internal/recursivearrayiterator.inc index a9450e12a5..2059b97c1c 100644 --- a/ext/spl/internal/recursivearrayiterator.inc +++ b/ext/spl/internal/recursivearrayiterator.inc @@ -18,12 +18,12 @@ * Passes the RecursiveIterator interface to the inner Iterator and provides * the same functionality as FilterIterator. This allows you to skip parents * and all their childs before loading them all. You need to care about - * function getChildren() because it may not always suit your needs. The + * function getChildren() because it may not always suit your needs. The * builtin behavior uses reflection to return a new instance of the exact same * class it is called from. That is you extend RecursiveFilterIterator and * getChildren() will create instance of that class. The problem is that doing * this does not transport any state or control information of your accept() - * implementation to the new instance. To overcome this problem you might + * implementation to the new instance. To overcome this problem you might * need to overwrite getChildren(), call this implementation and pass the * control vaules manually. */ @@ -52,7 +52,7 @@ class RecursiveArrayIterator extends ArrayIterator implements RecursiveIterator } return $this->ref->newInstance($this->current()); } - + private $ref; } diff --git a/ext/spl/internal/recursivecachingiterator.inc b/ext/spl/internal/recursivecachingiterator.inc index cd5d3e31f5..3ae127ad94 100644 --- a/ext/spl/internal/recursivecachingiterator.inc +++ b/ext/spl/internal/recursivecachingiterator.inc @@ -25,7 +25,7 @@ class RecursiveCachingIterator extends CachingIterator implements RecursiveItera /** Construct from another iterator * * @param it Iterator to cache - * @param flags Bitmask: + * @param flags Bitmask: * - CALL_TOSTRING (whether to call __toString() for every element) * - CATCH_GET_CHILD (whether to catch exceptions when trying to get childs) */ @@ -35,7 +35,7 @@ class RecursiveCachingIterator extends CachingIterator implements RecursiveItera } /** Rewind Iterator - */ + */ function rewind(); { $this->hasChildren = false; @@ -74,13 +74,13 @@ class RecursiveCachingIterator extends CachingIterator implements RecursiveItera } parent::next(); } - + private $ref; /** @return whether the current element has children * @note The check whether the Iterator for the children can be created was * already executed. Hence when flag CATCH_GET_CHILD was given in - * constructor this function returns false so that getChildren does + * constructor this function returns false so that getChildren does * not try to access those children. */ function hasChildren() diff --git a/ext/spl/internal/recursivefilteriterator.inc b/ext/spl/internal/recursivefilteriterator.inc index b089919a30..87d98da885 100644 --- a/ext/spl/internal/recursivefilteriterator.inc +++ b/ext/spl/internal/recursivefilteriterator.inc @@ -18,12 +18,12 @@ * Passes the RecursiveIterator interface to the inner Iterator and provides * the same functionality as FilterIterator. This allows you to skip parents * and all their childs before loading them all. You need to care about - * function getChildren() because it may not always suit your needs. The + * function getChildren() because it may not always suit your needs. The * builtin behavior uses reflection to return a new instance of the exact same * class it is called from. That is you extend RecursiveFilterIterator and * getChildren() will create instance of that class. The problem is that doing * this does not transport any state or control information of your accept() - * implementation to the new instance. To overcome this problem you might + * implementation to the new instance. To overcome this problem you might * need to overwrite getChildren(), call this implementation and pass the * control vaules manually. */ @@ -35,7 +35,7 @@ abstract class RecursiveFilterIterator extends FilterIterator implements Recursi { parent::__construct($it); } - + /** @return whether the current element has children */ function hasChildren() @@ -55,7 +55,7 @@ abstract class RecursiveFilterIterator extends FilterIterator implements Recursi } return $this->ref->newInstance($this->getInnerIterator()->getChildren()); } - + private $ref; } diff --git a/ext/spl/internal/recursiveiterator.inc b/ext/spl/internal/recursiveiterator.inc index 1eab3d69b2..6e6c023486 100644 --- a/ext/spl/internal/recursiveiterator.inc +++ b/ext/spl/internal/recursiveiterator.inc @@ -20,7 +20,7 @@ interface RecursiveIterator extends Iterator /** @return whether the current element has children */ function hasChildren(); - + /** @return the sub iterator for the current element * @note The returned object must implement RecursiveIterator. */ diff --git a/ext/spl/internal/recursiveiteratoriterator.inc b/ext/spl/internal/recursiveiteratoriterator.inc index 35fa801e78..c22a92bf71 100644 --- a/ext/spl/internal/recursiveiteratoriterator.inc +++ b/ext/spl/internal/recursiveiteratoriterator.inc @@ -15,8 +15,8 @@ * @version 1.2 * @since PHP 5.0 * - * The objects of this class are created by instances of RecursiveIterator. - * Elements of those iterators may be traversable themselves. If so these + * The objects of this class are created by instances of RecursiveIterator. + * Elements of those iterators may be traversable themselves. If so these * sub elements are recursed into. */ class RecursiveIteratorIterator implements OuterIterator @@ -47,7 +47,7 @@ class RecursiveIteratorIterator implements OuterIterator * @param flags Control flags, zero or any combination of the following * (since PHP 5.1). * - CATCH_GET_CHILD which catches exceptions during - * getChildren() calls and simply jumps to the next + * getChildren() calls and simply jumps to the next * element. */ function __construct(RecursiveIterator $it, $mode = self::LEAVES_ONLY, $flags = 0) @@ -69,7 +69,7 @@ class RecursiveIteratorIterator implements OuterIterator $this->ait[0]->recursed = false; callNextElement(true); } - + /** @return whether iterator is valid */ function valid() @@ -85,7 +85,7 @@ class RecursiveIteratorIterator implements OuterIterator } return false; } - + /** @return current key */ function key() @@ -93,7 +93,7 @@ class RecursiveIteratorIterator implements OuterIterator $it = $this->ait[$this->count]; return $it->key(); } - + /** @return current element */ function current() @@ -101,7 +101,7 @@ class RecursiveIteratorIterator implements OuterIterator $it = $this->ait[$this->count]; return $it->current(); } - + /** Forward to next element */ function next() @@ -153,7 +153,7 @@ class RecursiveIteratorIterator implements OuterIterator callNextElement(true); } - /** @return Sub Iterator at given level or if unspecified the current sub + /** @return Sub Iterator at given level or if unspecified the current sub * Iterator */ function getSubIterator($level = NULL) @@ -166,7 +166,7 @@ class RecursiveIteratorIterator implements OuterIterator /** * @return The inner iterator - */ + */ function getInnerIterator() { return $this->it; @@ -201,7 +201,7 @@ class RecursiveIteratorIterator implements OuterIterator function beginChildren() { } - + /** Called after current child iterator is invalid and right before it * gets destructed. * @since PHP 5.1 @@ -226,7 +226,7 @@ class RecursiveIteratorIterator implements OuterIterator } } } - + /** Called when the next element is available */ function nextElement() diff --git a/ext/spl/internal/recursiveregexiterator.inc b/ext/spl/internal/recursiveregexiterator.inc index ffcff0ce47..4223104398 100644 --- a/ext/spl/internal/recursiveregexiterator.inc +++ b/ext/spl/internal/recursiveregexiterator.inc @@ -15,20 +15,20 @@ * @version 1.0 * @since PHP 5.1 * - * This filter iterator assumes that the inner iterator + * This filter iterator assumes that the inner iterator */ class RecursiveRegexIterator extends RegexIterator implements RecursiveIterator { /** - * Constructs a regular expression filter around an iterator whose + * Constructs a regular expression filter around an iterator whose * elemnts or keys are strings. * * @param it inner iterator * @param regex the regular expression to match - * @param mode operation mode (one of self::MATCH, self::GET_MATCH, + * @param mode operation mode (one of self::MATCH, self::GET_MATCH, * self::ALL_MATCHES, self::SPLIT) * @param flags special flags (self::USE_KEY) - * @param preg_flags global PREG_* flags, see preg_match(), + * @param preg_flags global PREG_* flags, see preg_match(), * preg_match_all(), preg_split() */ function __construct(RecursiveIterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) { @@ -54,7 +54,7 @@ class RecursiveRegexIterator extends RegexIterator implements RecursiveIterator } return $this->ref->newInstance($this->getInnerIterator()->getChildren()); } - + private $ref; } diff --git a/ext/spl/internal/regexiterator.inc b/ext/spl/internal/regexiterator.inc index c6addb93d2..706eff33a7 100644 --- a/ext/spl/internal/regexiterator.inc +++ b/ext/spl/internal/regexiterator.inc @@ -15,11 +15,11 @@ * @version 1.0 * @since PHP 5.1 * - * This filter iterator assumes that the inner iterator + * This filter iterator assumes that the inner iterator */ class RegexIterator extends FilterIterator { - const USE_KEY = 0x00000001; /**< If present in $flags the key is + const USE_KEY = 0x00000001; /**< If present in $flags the key is used rather then the current value. */ const MATCH = 0; /**< Mode: Executed a plain match only */ @@ -27,26 +27,26 @@ class RegexIterator extends FilterIterator const ALL_MATCHES = 2; /**< Mode: Return all matches (if any) */ const SPLIT = 3; /**< Mode: Return the split values (if any) */ const REPLACE = 4; /**< Mode: Replace the input key or current */ - + private $regex; /**< the regular expression to match against */ - private $mode; /**< operation mode (one of self::MATCH, + private $mode; /**< operation mode (one of self::MATCH, self::GET_MATCH, self::ALL_MATCHES, self::SPLIT) */ private $flags; /**< special flags (self::USE_KEY) */ - private $preg_flags;/**< PREG_* flags, see preg_match(), preg_match_all(), - preg_split() */ + private $preg_flags;/**< PREG_* flags, see preg_match(), preg_match_all(), + preg_split() */ private $key; /**< the value used for key() */ private $current; /**< the value used for current() */ /** - * Constructs a regular expression filter around an iterator whose + * Constructs a regular expression filter around an iterator whose * elemnts or keys are strings. * * @param it inner iterator * @param regex the regular expression to match - * @param mode operation mode (one of self::MATCH, self::GET_MATCH, + * @param mode operation mode (one of self::MATCH, self::GET_MATCH, * self::ALL_MATCHES, self::SPLIT) * @param flags special flags (self::USE_KEY) - * @param preg_flags global PREG_* flags, see preg_match(), + * @param preg_flags global PREG_* flags, see preg_match(), * preg_match_all(), preg_split() */ function __construct(Iterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) { diff --git a/ext/spl/internal/seekableiterator.inc b/ext/spl/internal/seekableiterator.inc index b4f66bde4d..7728636981 100644 --- a/ext/spl/internal/seekableiterator.inc +++ b/ext/spl/internal/seekableiterator.inc @@ -25,8 +25,8 @@ interface SeekableIterator extends Iterator * \param $index position to seek to * \return void * - * The method should throw an exception if it is not possible to seek to - * the given position. Typically this exception should be of type + * The method should throw an exception if it is not possible to seek to + * the given position. Typically this exception should be of type * OutOfBoundsException. \code function seek($index); diff --git a/ext/spl/internal/spldoublylinkedlist.inc b/ext/spl/internal/spldoublylinkedlist.inc index e87e4b11d5..f01b6306a7 100644 --- a/ext/spl/internal/spldoublylinkedlist.inc +++ b/ext/spl/internal/spldoublylinkedlist.inc @@ -15,8 +15,8 @@ * The SplDoublyLinkedList class provides the main functionalities of a * doubly linked list (DLL). * @note The following userland implementation of Iterator is a bit different - * from the internal one. Internally, iterators generated by nested - * foreachs are independent, while they share the same traverse pointer + * from the internal one. Internally, iterators generated by nested + * foreachs are independent, while they share the same traverse pointer * in userland. */ class SplDoublyLinkedList implements Iterator, ArrayAccess, Countable @@ -113,7 +113,7 @@ class SplDoublyLinkedList implements Iterator, ArrayAccess, Countable return ($this->count() == 0); } - /** Changes the iteration mode. There are two orthogonal sets of modes that + /** Changes the iteration mode. There are two orthogonal sets of modes that * can be set: * - The direction of the iteration (either one or the other) * - SplDoublyLnkedList::IT_MODE_LIFO (Stack style) diff --git a/ext/spl/internal/splfileobject.inc b/ext/spl/internal/splfileobject.inc index df941c6307..4b0c757b81 100644 --- a/ext/spl/internal/splfileobject.inc +++ b/ext/spl/internal/splfileobject.inc @@ -28,15 +28,15 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt private $flags = 0; private $delimiter= ','; private $enclosure= '"'; - + /** * Constructs a new file object - * + * * @param $file_name The name of the stream to open * @param $open_mode The file open mode * @param $use_include_path Whether to search in include paths * @param $context A stream context - * @throw RuntimeException If file cannot be opened (e.g. insufficient + * @throw RuntimeException If file cannot be opened (e.g. insufficient * access rights). */ function __construct($file_name, $open_mode = 'r', $use_include_path = false, $context = NULL) @@ -48,7 +48,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt } $this->fname = $file_name; } - + /** * @return whether the end of the stream is reached */ @@ -65,13 +65,13 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt $this->freeLine(); $this->lnum++; $buf = fgets($this->fp, $this->max_len); - + return $buf; } /** * @param delimiter character used as field separator - * @param enclosure end of + * @param enclosure end of * @return array containing read data */ function fgetcsv($delimiter = NULL, $enclosure = NULL) @@ -88,7 +88,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt case 2: break; } - return fgetcsv($this->fp, $this->max_len, $delimiter, $enclosure); + return fgetcsv($this->fp, $this->max_len, $delimiter, $enclosure); } /** @@ -140,7 +140,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt /** * @param pos new file position * @param whence seek method (SEEK_SET, SEEK_CUR, SEEK_END) - * @return Upon success, returns 0; otherwise, returns -1. Note that + * @return Upon success, returns 0; otherwise, returns -1. Note that * seeking past EOF is not considered an error. */ function fseek($pos, $whence = SEEK_SET) @@ -179,7 +179,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt /** Scan the next line * @param $format string specifying format to parse - */ + */ function fscanf($format /* , ... */) { $this->freeLine(); @@ -276,11 +276,11 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt { return !$this->eof(); } - + /** * @note Fill current line buffer if not done yet. - * @return line buffer - */ + * @return line buffer + */ function current() { if (is_null($this->line)) @@ -291,20 +291,20 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt } /** - * @return line number + * @return line number * @note fgetc() will increase the line number when reaing a new line char. * This has the effect key() called on a read a new line will already * return the increased line number. * @note Line counting works as long as you only read the file and do not * use fseek(). - */ + */ function key() { return $this->lnum; } /** Invalidate current line buffer. - */ + */ function next() { $this->freeLine(); @@ -342,7 +342,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt * @note If you DO overload this function key() and current() will increment * $this->lnum automatically. If not then function reaLine() will do * that for you. - */ + */ function getCurrentLine() { $this->freeLine(); @@ -363,7 +363,7 @@ class SplFileObject extends SplFileInfo implements RecursiveIterator, SeekableIt /** * @param $line_pos Seek to this line - */ + */ function seek($line_pos) { $this->rewind(); diff --git a/ext/spl/internal/splobjectstorage.inc b/ext/spl/internal/splobjectstorage.inc index ffc6c99488..f27da4e001 100644 --- a/ext/spl/internal/splobjectstorage.inc +++ b/ext/spl/internal/splobjectstorage.inc @@ -31,21 +31,21 @@ class SplObjectStorage implements Iterator, Countable, ArrayAccess { rewind($this->storage); } - + /** @return whether iterator is valid */ function valid() { return key($this->storage) !== false; } - + /** @return current key */ function key() { return $this->index; } - + /** @return current object */ function current() @@ -53,7 +53,7 @@ class SplObjectStorage implements Iterator, Countable, ArrayAccess $element = current($this->storage); return $element ? $element[0] : NULL } - + /** @return get current object's associated information * @since 5.3.0 */ @@ -62,7 +62,7 @@ class SplObjectStorage implements Iterator, Countable, ArrayAccess $element = current($this->storage); return $element ? $element[1] : NULL } - + /** @return set current object's associated information * @since 5.3.0 */ @@ -72,7 +72,7 @@ class SplObjectStorage implements Iterator, Countable, ArrayAccess $this->storage[$this->index][1] = $inf; } } - + /** Forward to next element */ function next() diff --git a/ext/spl/internal/splqueue.inc b/ext/spl/internal/splqueue.inc index 368a2597f3..259e8ddd12 100644 --- a/ext/spl/internal/splqueue.inc +++ b/ext/spl/internal/splqueue.inc @@ -11,7 +11,7 @@ /** @ingroup SPL * @brief Implementation of a Queue through a DoublyLinkedList. As SplQueue - * extends SplDoublyLinkedList, unshift() and pop() are still available + * extends SplDoublyLinkedList, unshift() and pop() are still available * even though they don't make much sense for a queue. For convenience, * two aliases are available: * - enqueue() is an alias of push() @@ -26,7 +26,7 @@ class SplQueue extends SplDoublyLinkedList { protected $_it_mode = parent::IT_MODE_FIFO; - /** Changes the iteration mode. There are two orthogonal sets of modes that + /** Changes the iteration mode. There are two orthogonal sets of modes that * can be set: * * - The behavior of the iterator (either one or the other) diff --git a/ext/spl/internal/splstack.inc b/ext/spl/internal/splstack.inc index 70b1443846..05436b585d 100644 --- a/ext/spl/internal/splstack.inc +++ b/ext/spl/internal/splstack.inc @@ -10,7 +10,7 @@ */ /** @ingroup SPL - * @brief Implementation of a stack through a DoublyLinkedList. As SplStack + * @brief Implementation of a stack through a DoublyLinkedList. As SplStack * extends SplDoublyLinkedList, shift() and unshift() are still available even * though they don't make much sense for a stack. * @since PHP 5.3 @@ -22,7 +22,7 @@ class SplStack extends SplDoublyLinkedList { protected $_it_mode = parent::IT_MODE_LIFO; - /** Changes the iteration mode. There are two orthogonal sets of modes that + /** Changes the iteration mode. There are two orthogonal sets of modes that * can be set: * * - The behavior of the iterator (either one or the other) diff --git a/ext/spl/spl_fixedarray.c b/ext/spl/spl_fixedarray.c index 714ab46656..1d969be2ff 100644 --- a/ext/spl/spl_fixedarray.c +++ b/ext/spl/spl_fixedarray.c @@ -348,7 +348,7 @@ static zval *spl_fixedarray_object_read_dimension(zval *object, zval *offset, in if (type == BP_VAR_IS && intern->fptr_offset_has) { SEPARATE_ARG_IF_REF(offset); - zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_has, "offsetexists", rv, offset); + zend_call_method_with_1_params(object, intern->std.ce, &intern->fptr_offset_has, "offsetexists", rv, offset); if (UNEXPECTED(Z_ISUNDEF_P(rv))) { zval_ptr_dtor(offset); return NULL; diff --git a/ext/standard/assert.c b/ext/standard/assert.c index 0a384e2ec0..5f1d12a0f4 100644 --- a/ext/standard/assert.c +++ b/ext/standard/assert.c @@ -275,7 +275,7 @@ PHP_FUNCTION(assert) if (ASSERTG(bail)) { zend_bailout(); } - + RETURN_FALSE; } /* }}} */ diff --git a/ext/standard/browscap.c b/ext/standard/browscap.c index c1ee2eb274..4ec1093721 100644 --- a/ext/standard/browscap.c +++ b/ext/standard/browscap.c @@ -147,7 +147,7 @@ static size_t browscap_compute_regex_len(zend_string *pattern) { break; } } - + return len + sizeof("~^$~")-1; } @@ -365,7 +365,7 @@ static void php_browscap_parser_cb(zval *arg1, zval *arg2, zval *arg3, int callb "Skipping excessively long pattern of length %zd", ZSTR_LEN(pattern)); break; } - + entry = ctx->current_entry = pemalloc(sizeof(browscap_entry), persistent); zend_hash_update_ptr(bdata->htab, pattern, entry); @@ -415,7 +415,7 @@ static int browscap_read_file(char *filename, browser_data *browdata, int persis return FAILURE; } - zend_hash_init_ex(browdata->htab, 0, NULL, + zend_hash_init_ex(browdata->htab, 0, NULL, persistent ? browscap_entry_dtor_persistent : browscap_entry_dtor, persistent, 0); browdata->kv_size = 16 * 1024; diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index ebf4b79f1a..b8ba81ab2f 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -13,14 +13,14 @@ int main(int argc, char **argv) char *filename = tmpnam(NULL); char buffer[64]; int result = 0; - + FILE *fp = fopen(filename, "wb"); if (NULL == fp) return 0; fputs("line 1\n", fp); fputs("line 2\n", fp); fclose(fp); - + fp = fopen(filename, "rb+"); if (NULL == fp) return 0; @@ -58,7 +58,7 @@ if test "$ac_cv_func_crypt" = "no"; then AC_DEFINE(HAVE_CRYPT, 1, [ ]) ]) fi - + AC_CACHE_CHECK(for standard DES crypt, ac_cv_crypt_des,[ AC_TRY_RUN([ #if HAVE_UNISTD_H @@ -124,7 +124,7 @@ int main() { char salt[15], answer[40]; char *encrypted; - salt[0]='$'; salt[1]='1'; salt[2]='$'; + salt[0]='$'; salt[1]='1'; salt[2]='$'; salt[3]='r'; salt[4]='a'; salt[5]='s'; salt[6]='m'; salt[7]='u'; salt[8]='s'; salt[9]='l'; salt[10]='e'; salt[11]='$'; @@ -267,7 +267,7 @@ else AC_DEFINE_UNQUOTED(PHP_USE_PHP_CRYPT_R, 0, [Whether PHP has to use its own crypt_r for blowfish, des and ext des]) fi -dnl +dnl dnl Check for __attribute__ ((__aligned__)) support in the compiler dnl AC_CACHE_CHECK(whether the compiler supports aligned attribute, ac_cv_attribute_aligned,[ @@ -290,7 +290,7 @@ dnl log2 could be used to improve the log function, however it requires C99. The dnl as soon as we support C99. AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p hypot glob strfmon nice fpclass mempcpy strpncpy) AC_CHECK_DECLS([isnan, isinf], [], [], [[#include <math.h>]]) -AC_FUNC_FNMATCH +AC_FUNC_FNMATCH dnl dnl Check if there is a support means of creating a new process diff --git a/ext/standard/config.w32 b/ext/standard/config.w32 index ee5c319aa7..e345f65f8c 100644 --- a/ext/standard/config.w32 +++ b/ext/standard/config.w32 @@ -24,6 +24,6 @@ EXTENSION("standard", "array.c base64.c basic_functions.c browscap.c \ '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1'); PHP_INSTALL_HEADERS("", "ext/standard"); if (PHP_MBREGEX != "no") { - CHECK_HEADER_ADD_INCLUDE("oniguruma.h", "CFLAGS_STANDARD", PHP_MBREGEX + ";ext\\mbstring\\oniguruma") + CHECK_HEADER_ADD_INCLUDE("oniguruma.h", "CFLAGS_STANDARD", PHP_MBREGEX + ";ext\\mbstring\\oniguruma") } PHP_INSTALL_HEADERS("", "ext/standard"); diff --git a/ext/standard/html_tables/ents_html5.txt b/ext/standard/html_tables/ents_html5.txt index 18defb29b4..005bebbe20 100644 --- a/ext/standard/html_tables/ents_html5.txt +++ b/ext/standard/html_tables/ents_html5.txt @@ -1,2125 +1,2125 @@ -AElig 000C6 -AMP 00026 -Aacute 000C1 -Abreve 00102 -Acirc 000C2 -Acy 00410 -Afr 1D504 -Agrave 000C0 -Alpha 00391 -Amacr 00100 -And 02A53 -Aogon 00104 -Aopf 1D538 -ApplyFunction 02061 -Aring 000C5 -Ascr 1D49C -Assign 02254 -Atilde 000C3 -Auml 000C4 -Backslash 02216 -Barv 02AE7 -Barwed 02306 -Bcy 00411 -Because 02235 -Bernoullis 0212C -Beta 00392 -Bfr 1D505 -Bopf 1D539 -Breve 002D8 -Bscr 0212C -Bumpeq 0224E -CHcy 00427 -COPY 000A9 -Cacute 00106 -Cap 022D2 -CapitalDifferentialD 02145 -Cayleys 0212D -Ccaron 0010C -Ccedil 000C7 -Ccirc 00108 -Cconint 02230 -Cdot 0010A -Cedilla 000B8 -CenterDot 000B7 -Cfr 0212D -Chi 003A7 -CircleDot 02299 -CircleMinus 02296 -CirclePlus 02295 -CircleTimes 02297 -ClockwiseContourIntegral 02232 -CloseCurlyDoubleQuote 0201D -CloseCurlyQuote 02019 -Colon 02237 -Colone 02A74 -Congruent 02261 -Conint 0222F -ContourIntegral 0222E -Copf 02102 -Coproduct 02210 -CounterClockwiseContourIntegral 02233 -Cross 02A2F -Cscr 1D49E -Cup 022D3 -CupCap 0224D -DD 02145 -DDotrahd 02911 -DJcy 00402 -DScy 00405 -DZcy 0040F -Dagger 02021 -Darr 021A1 -Dashv 02AE4 -Dcaron 0010E -Dcy 00414 -Del 02207 -Delta 00394 -Dfr 1D507 -DiacriticalAcute 000B4 -DiacriticalDot 002D9 -DiacriticalDoubleAcute 002DD -DiacriticalGrave 00060 -DiacriticalTilde 002DC -Diamond 022C4 -DifferentialD 02146 -Dopf 1D53B -Dot 000A8 -DotDot 020DC -DotEqual 02250 -DoubleContourIntegral 0222F -DoubleDot 000A8 -DoubleDownArrow 021D3 -DoubleLeftArrow 021D0 -DoubleLeftRightArrow 021D4 -DoubleLeftTee 02AE4 -DoubleLongLeftArrow 027F8 -DoubleLongLeftRightArrow 027FA -DoubleLongRightArrow 027F9 -DoubleRightArrow 021D2 -DoubleRightTee 022A8 -DoubleUpArrow 021D1 -DoubleUpDownArrow 021D5 -DoubleVerticalBar 02225 -DownArrow 02193 -DownArrowBar 02913 -DownArrowUpArrow 021F5 -DownBreve 00311 -DownLeftRightVector 02950 -DownLeftTeeVector 0295E -DownLeftVector 021BD -DownLeftVectorBar 02956 -DownRightTeeVector 0295F -DownRightVector 021C1 -DownRightVectorBar 02957 -DownTee 022A4 -DownTeeArrow 021A7 -Downarrow 021D3 -Dscr 1D49F -Dstrok 00110 -ENG 0014A -ETH 000D0 -Eacute 000C9 -Ecaron 0011A -Ecirc 000CA -Ecy 0042D -Edot 00116 -Efr 1D508 -Egrave 000C8 -Element 02208 -Emacr 00112 -EmptySmallSquare 025FB -EmptyVerySmallSquare 025AB -Eogon 00118 -Eopf 1D53C -Epsilon 00395 -Equal 02A75 -EqualTilde 02242 -Equilibrium 021CC -Escr 02130 -Esim 02A73 -Eta 00397 -Euml 000CB -Exists 02203 -ExponentialE 02147 -Fcy 00424 -Ffr 1D509 -FilledSmallSquare 025FC -FilledVerySmallSquare 025AA -Fopf 1D53D -ForAll 02200 -Fouriertrf 02131 -Fscr 02131 -GJcy 00403 -GT 0003E -Gamma 00393 -Gammad 003DC -Gbreve 0011E -Gcedil 00122 -Gcirc 0011C -Gcy 00413 -Gdot 00120 -Gfr 1D50A -Gg 022D9 -Gopf 1D53E -GreaterEqual 02265 -GreaterEqualLess 022DB -GreaterFullEqual 02267 -GreaterGreater 02AA2 -GreaterLess 02277 -GreaterSlantEqual 02A7E -GreaterTilde 02273 -Gscr 1D4A2 -Gt 0226B -HARDcy 0042A -Hacek 002C7 -Hat 0005E -Hcirc 00124 -Hfr 0210C -HilbertSpace 0210B -Hopf 0210D -HorizontalLine 02500 -Hscr 0210B -Hstrok 00126 -HumpDownHump 0224E -HumpEqual 0224F -IEcy 00415 -IJlig 00132 -IOcy 00401 -Iacute 000CD -Icirc 000CE -Icy 00418 -Idot 00130 -Ifr 02111 -Igrave 000CC -Im 02111 -Imacr 0012A -ImaginaryI 02148 -Implies 021D2 -Int 0222C -Integral 0222B -Intersection 022C2 -InvisibleComma 02063 -InvisibleTimes 02062 -Iogon 0012E -Iopf 1D540 -Iota 00399 -Iscr 02110 -Itilde 00128 -Iukcy 00406 -Iuml 000CF -Jcirc 00134 -Jcy 00419 -Jfr 1D50D -Jopf 1D541 -Jscr 1D4A5 -Jsercy 00408 -Jukcy 00404 -KHcy 00425 -KJcy 0040C -Kappa 0039A -Kcedil 00136 -Kcy 0041A -Kfr 1D50E -Kopf 1D542 -Kscr 1D4A6 -LJcy 00409 -LT 0003C -Lacute 00139 -Lambda 0039B -Lang 027EA -Laplacetrf 02112 -Larr 0219E -Lcaron 0013D -Lcedil 0013B -Lcy 0041B -LeftAngleBracket 027E8 -LeftArrow 02190 -LeftArrowBar 021E4 -LeftArrowRightArrow 021C6 -LeftCeiling 02308 -LeftDoubleBracket 027E6 -LeftDownTeeVector 02961 -LeftDownVector 021C3 -LeftDownVectorBar 02959 -LeftFloor 0230A -LeftRightArrow 02194 -LeftRightVector 0294E -LeftTee 022A3 -LeftTeeArrow 021A4 -LeftTeeVector 0295A -LeftTriangle 022B2 -LeftTriangleBar 029CF -LeftTriangleEqual 022B4 -LeftUpDownVector 02951 -LeftUpTeeVector 02960 -LeftUpVector 021BF -LeftUpVectorBar 02958 -LeftVector 021BC -LeftVectorBar 02952 -Leftarrow 021D0 -Leftrightarrow 021D4 -LessEqualGreater 022DA -LessFullEqual 02266 -LessGreater 02276 -LessLess 02AA1 -LessSlantEqual 02A7D -LessTilde 02272 -Lfr 1D50F -Ll 022D8 -Lleftarrow 021DA -Lmidot 0013F -LongLeftArrow 027F5 -LongLeftRightArrow 027F7 -LongRightArrow 027F6 -Longleftarrow 027F8 -Longleftrightarrow 027FA -Longrightarrow 027F9 -Lopf 1D543 -LowerLeftArrow 02199 -LowerRightArrow 02198 -Lscr 02112 -Lsh 021B0 -Lstrok 00141 -Lt 0226A -Map 02905 -Mcy 0041C -MediumSpace 0205F -Mellintrf 02133 -Mfr 1D510 -MinusPlus 02213 -Mopf 1D544 -Mscr 02133 -Mu 0039C -NJcy 0040A -Nacute 00143 -Ncaron 00147 -Ncedil 00145 -Ncy 0041D -NegativeMediumSpace 0200B -NegativeThickSpace 0200B -NegativeThinSpace 0200B -NegativeVeryThinSpace 0200B -NestedGreaterGreater 0226B -NestedLessLess 0226A -NewLine 0000A -Nfr 1D511 -NoBreak 02060 -NonBreakingSpace 000A0 -Nopf 02115 -Not 02AEC -NotCongruent 02262 -NotCupCap 0226D -NotDoubleVerticalBar 02226 -NotElement 02209 -NotEqual 02260 +AElig 000C6 +AMP 00026 +Aacute 000C1 +Abreve 00102 +Acirc 000C2 +Acy 00410 +Afr 1D504 +Agrave 000C0 +Alpha 00391 +Amacr 00100 +And 02A53 +Aogon 00104 +Aopf 1D538 +ApplyFunction 02061 +Aring 000C5 +Ascr 1D49C +Assign 02254 +Atilde 000C3 +Auml 000C4 +Backslash 02216 +Barv 02AE7 +Barwed 02306 +Bcy 00411 +Because 02235 +Bernoullis 0212C +Beta 00392 +Bfr 1D505 +Bopf 1D539 +Breve 002D8 +Bscr 0212C +Bumpeq 0224E +CHcy 00427 +COPY 000A9 +Cacute 00106 +Cap 022D2 +CapitalDifferentialD 02145 +Cayleys 0212D +Ccaron 0010C +Ccedil 000C7 +Ccirc 00108 +Cconint 02230 +Cdot 0010A +Cedilla 000B8 +CenterDot 000B7 +Cfr 0212D +Chi 003A7 +CircleDot 02299 +CircleMinus 02296 +CirclePlus 02295 +CircleTimes 02297 +ClockwiseContourIntegral 02232 +CloseCurlyDoubleQuote 0201D +CloseCurlyQuote 02019 +Colon 02237 +Colone 02A74 +Congruent 02261 +Conint 0222F +ContourIntegral 0222E +Copf 02102 +Coproduct 02210 +CounterClockwiseContourIntegral 02233 +Cross 02A2F +Cscr 1D49E +Cup 022D3 +CupCap 0224D +DD 02145 +DDotrahd 02911 +DJcy 00402 +DScy 00405 +DZcy 0040F +Dagger 02021 +Darr 021A1 +Dashv 02AE4 +Dcaron 0010E +Dcy 00414 +Del 02207 +Delta 00394 +Dfr 1D507 +DiacriticalAcute 000B4 +DiacriticalDot 002D9 +DiacriticalDoubleAcute 002DD +DiacriticalGrave 00060 +DiacriticalTilde 002DC +Diamond 022C4 +DifferentialD 02146 +Dopf 1D53B +Dot 000A8 +DotDot 020DC +DotEqual 02250 +DoubleContourIntegral 0222F +DoubleDot 000A8 +DoubleDownArrow 021D3 +DoubleLeftArrow 021D0 +DoubleLeftRightArrow 021D4 +DoubleLeftTee 02AE4 +DoubleLongLeftArrow 027F8 +DoubleLongLeftRightArrow 027FA +DoubleLongRightArrow 027F9 +DoubleRightArrow 021D2 +DoubleRightTee 022A8 +DoubleUpArrow 021D1 +DoubleUpDownArrow 021D5 +DoubleVerticalBar 02225 +DownArrow 02193 +DownArrowBar 02913 +DownArrowUpArrow 021F5 +DownBreve 00311 +DownLeftRightVector 02950 +DownLeftTeeVector 0295E +DownLeftVector 021BD +DownLeftVectorBar 02956 +DownRightTeeVector 0295F +DownRightVector 021C1 +DownRightVectorBar 02957 +DownTee 022A4 +DownTeeArrow 021A7 +Downarrow 021D3 +Dscr 1D49F +Dstrok 00110 +ENG 0014A +ETH 000D0 +Eacute 000C9 +Ecaron 0011A +Ecirc 000CA +Ecy 0042D +Edot 00116 +Efr 1D508 +Egrave 000C8 +Element 02208 +Emacr 00112 +EmptySmallSquare 025FB +EmptyVerySmallSquare 025AB +Eogon 00118 +Eopf 1D53C +Epsilon 00395 +Equal 02A75 +EqualTilde 02242 +Equilibrium 021CC +Escr 02130 +Esim 02A73 +Eta 00397 +Euml 000CB +Exists 02203 +ExponentialE 02147 +Fcy 00424 +Ffr 1D509 +FilledSmallSquare 025FC +FilledVerySmallSquare 025AA +Fopf 1D53D +ForAll 02200 +Fouriertrf 02131 +Fscr 02131 +GJcy 00403 +GT 0003E +Gamma 00393 +Gammad 003DC +Gbreve 0011E +Gcedil 00122 +Gcirc 0011C +Gcy 00413 +Gdot 00120 +Gfr 1D50A +Gg 022D9 +Gopf 1D53E +GreaterEqual 02265 +GreaterEqualLess 022DB +GreaterFullEqual 02267 +GreaterGreater 02AA2 +GreaterLess 02277 +GreaterSlantEqual 02A7E +GreaterTilde 02273 +Gscr 1D4A2 +Gt 0226B +HARDcy 0042A +Hacek 002C7 +Hat 0005E +Hcirc 00124 +Hfr 0210C +HilbertSpace 0210B +Hopf 0210D +HorizontalLine 02500 +Hscr 0210B +Hstrok 00126 +HumpDownHump 0224E +HumpEqual 0224F +IEcy 00415 +IJlig 00132 +IOcy 00401 +Iacute 000CD +Icirc 000CE +Icy 00418 +Idot 00130 +Ifr 02111 +Igrave 000CC +Im 02111 +Imacr 0012A +ImaginaryI 02148 +Implies 021D2 +Int 0222C +Integral 0222B +Intersection 022C2 +InvisibleComma 02063 +InvisibleTimes 02062 +Iogon 0012E +Iopf 1D540 +Iota 00399 +Iscr 02110 +Itilde 00128 +Iukcy 00406 +Iuml 000CF +Jcirc 00134 +Jcy 00419 +Jfr 1D50D +Jopf 1D541 +Jscr 1D4A5 +Jsercy 00408 +Jukcy 00404 +KHcy 00425 +KJcy 0040C +Kappa 0039A +Kcedil 00136 +Kcy 0041A +Kfr 1D50E +Kopf 1D542 +Kscr 1D4A6 +LJcy 00409 +LT 0003C +Lacute 00139 +Lambda 0039B +Lang 027EA +Laplacetrf 02112 +Larr 0219E +Lcaron 0013D +Lcedil 0013B +Lcy 0041B +LeftAngleBracket 027E8 +LeftArrow 02190 +LeftArrowBar 021E4 +LeftArrowRightArrow 021C6 +LeftCeiling 02308 +LeftDoubleBracket 027E6 +LeftDownTeeVector 02961 +LeftDownVector 021C3 +LeftDownVectorBar 02959 +LeftFloor 0230A +LeftRightArrow 02194 +LeftRightVector 0294E +LeftTee 022A3 +LeftTeeArrow 021A4 +LeftTeeVector 0295A +LeftTriangle 022B2 +LeftTriangleBar 029CF +LeftTriangleEqual 022B4 +LeftUpDownVector 02951 +LeftUpTeeVector 02960 +LeftUpVector 021BF +LeftUpVectorBar 02958 +LeftVector 021BC +LeftVectorBar 02952 +Leftarrow 021D0 +Leftrightarrow 021D4 +LessEqualGreater 022DA +LessFullEqual 02266 +LessGreater 02276 +LessLess 02AA1 +LessSlantEqual 02A7D +LessTilde 02272 +Lfr 1D50F +Ll 022D8 +Lleftarrow 021DA +Lmidot 0013F +LongLeftArrow 027F5 +LongLeftRightArrow 027F7 +LongRightArrow 027F6 +Longleftarrow 027F8 +Longleftrightarrow 027FA +Longrightarrow 027F9 +Lopf 1D543 +LowerLeftArrow 02199 +LowerRightArrow 02198 +Lscr 02112 +Lsh 021B0 +Lstrok 00141 +Lt 0226A +Map 02905 +Mcy 0041C +MediumSpace 0205F +Mellintrf 02133 +Mfr 1D510 +MinusPlus 02213 +Mopf 1D544 +Mscr 02133 +Mu 0039C +NJcy 0040A +Nacute 00143 +Ncaron 00147 +Ncedil 00145 +Ncy 0041D +NegativeMediumSpace 0200B +NegativeThickSpace 0200B +NegativeThinSpace 0200B +NegativeVeryThinSpace 0200B +NestedGreaterGreater 0226B +NestedLessLess 0226A +NewLine 0000A +Nfr 1D511 +NoBreak 02060 +NonBreakingSpace 000A0 +Nopf 02115 +Not 02AEC +NotCongruent 02262 +NotCupCap 0226D +NotDoubleVerticalBar 02226 +NotElement 02209 +NotEqual 02260 NotEqualTilde 02242 00338 -NotExists 02204 -NotGreater 0226F -NotGreaterEqual 02271 +NotExists 02204 +NotGreater 0226F +NotGreaterEqual 02271 NotGreaterFullEqual 02267 00338 NotGreaterGreater 0226B 00338 -NotGreaterLess 02279 +NotGreaterLess 02279 NotGreaterSlantEqual 02A7E 00338 -NotGreaterTilde 02275 +NotGreaterTilde 02275 NotHumpDownHump 0224E 00338 NotHumpEqual 0224F 00338 -NotLeftTriangle 022EA +NotLeftTriangle 022EA NotLeftTriangleBar 029CF 00338 -NotLeftTriangleEqual 022EC -NotLess 0226E -NotLessEqual 02270 -NotLessGreater 02278 +NotLeftTriangleEqual 022EC +NotLess 0226E +NotLessEqual 02270 +NotLessGreater 02278 NotLessLess 0226A 00338 NotLessSlantEqual 02A7D 00338 -NotLessTilde 02274 +NotLessTilde 02274 NotNestedGreaterGreater 02AA2 00338 NotNestedLessLess 02AA1 00338 -NotPrecedes 02280 +NotPrecedes 02280 NotPrecedesEqual 02AAF 00338 -NotPrecedesSlantEqual 022E0 -NotReverseElement 0220C -NotRightTriangle 022EB +NotPrecedesSlantEqual 022E0 +NotReverseElement 0220C +NotRightTriangle 022EB NotRightTriangleBar 029D0 00338 -NotRightTriangleEqual 022ED +NotRightTriangleEqual 022ED NotSquareSubset 0228F 00338 -NotSquareSubsetEqual 022E2 +NotSquareSubsetEqual 022E2 NotSquareSuperset 02290 00338 -NotSquareSupersetEqual 022E3 +NotSquareSupersetEqual 022E3 NotSubset 02282 020D2 -NotSubsetEqual 02288 -NotSucceeds 02281 +NotSubsetEqual 02288 +NotSucceeds 02281 NotSucceedsEqual 02AB0 00338 -NotSucceedsSlantEqual 022E1 +NotSucceedsSlantEqual 022E1 NotSucceedsTilde 0227F 00338 NotSuperset 02283 020D2 -NotSupersetEqual 02289 -NotTilde 02241 -NotTildeEqual 02244 -NotTildeFullEqual 02247 -NotTildeTilde 02249 -NotVerticalBar 02224 -Nscr 1D4A9 -Ntilde 000D1 -Nu 0039D -OElig 00152 -Oacute 000D3 -Ocirc 000D4 -Ocy 0041E -Odblac 00150 -Ofr 1D512 -Ograve 000D2 -Omacr 0014C -Omega 003A9 -Omicron 0039F -Oopf 1D546 -OpenCurlyDoubleQuote 0201C -OpenCurlyQuote 02018 -Or 02A54 -Oscr 1D4AA -Oslash 000D8 -Otilde 000D5 -Otimes 02A37 -Ouml 000D6 -OverBar 0203E -OverBrace 023DE -OverBracket 023B4 -OverParenthesis 023DC -PartialD 02202 -Pcy 0041F -Pfr 1D513 -Phi 003A6 -Pi 003A0 -PlusMinus 000B1 -Poincareplane 0210C -Popf 02119 -Pr 02ABB -Precedes 0227A -PrecedesEqual 02AAF -PrecedesSlantEqual 0227C -PrecedesTilde 0227E -Prime 02033 -Product 0220F -Proportion 02237 -Proportional 0221D -Pscr 1D4AB -Psi 003A8 -QUOT 00022 -Qfr 1D514 -Qopf 0211A -Qscr 1D4AC -RBarr 02910 -REG 000AE -Racute 00154 -Rang 027EB -Rarr 021A0 -Rarrtl 02916 -Rcaron 00158 -Rcedil 00156 -Rcy 00420 -Re 0211C -ReverseElement 0220B -ReverseEquilibrium 021CB -ReverseUpEquilibrium 0296F -Rfr 0211C -Rho 003A1 -RightAngleBracket 027E9 -RightArrow 02192 -RightArrowBar 021E5 -RightArrowLeftArrow 021C4 -RightCeiling 02309 -RightDoubleBracket 027E7 -RightDownTeeVector 0295D -RightDownVector 021C2 -RightDownVectorBar 02955 -RightFloor 0230B -RightTee 022A2 -RightTeeArrow 021A6 -RightTeeVector 0295B -RightTriangle 022B3 -RightTriangleBar 029D0 -RightTriangleEqual 022B5 -RightUpDownVector 0294F -RightUpTeeVector 0295C -RightUpVector 021BE -RightUpVectorBar 02954 -RightVector 021C0 -RightVectorBar 02953 -Rightarrow 021D2 -Ropf 0211D -RoundImplies 02970 -Rrightarrow 021DB -Rscr 0211B -Rsh 021B1 -RuleDelayed 029F4 -SHCHcy 00429 -SHcy 00428 -SOFTcy 0042C -Sacute 0015A -Sc 02ABC -Scaron 00160 -Scedil 0015E -Scirc 0015C -Scy 00421 -Sfr 1D516 -ShortDownArrow 02193 -ShortLeftArrow 02190 -ShortRightArrow 02192 -ShortUpArrow 02191 -Sigma 003A3 -SmallCircle 02218 -Sopf 1D54A -Sqrt 0221A -Square 025A1 -SquareIntersection 02293 -SquareSubset 0228F -SquareSubsetEqual 02291 -SquareSuperset 02290 -SquareSupersetEqual 02292 -SquareUnion 02294 -Sscr 1D4AE -Star 022C6 -Sub 022D0 -Subset 022D0 -SubsetEqual 02286 -Succeeds 0227B -SucceedsEqual 02AB0 -SucceedsSlantEqual 0227D -SucceedsTilde 0227F -SuchThat 0220B -Sum 02211 -Sup 022D1 -Superset 02283 -SupersetEqual 02287 -Supset 022D1 -THORN 000DE -TRADE 02122 -TSHcy 0040B -TScy 00426 -Tab 00009 -Tau 003A4 -Tcaron 00164 -Tcedil 00162 -Tcy 00422 -Tfr 1D517 -Therefore 02234 -Theta 00398 +NotSupersetEqual 02289 +NotTilde 02241 +NotTildeEqual 02244 +NotTildeFullEqual 02247 +NotTildeTilde 02249 +NotVerticalBar 02224 +Nscr 1D4A9 +Ntilde 000D1 +Nu 0039D +OElig 00152 +Oacute 000D3 +Ocirc 000D4 +Ocy 0041E +Odblac 00150 +Ofr 1D512 +Ograve 000D2 +Omacr 0014C +Omega 003A9 +Omicron 0039F +Oopf 1D546 +OpenCurlyDoubleQuote 0201C +OpenCurlyQuote 02018 +Or 02A54 +Oscr 1D4AA +Oslash 000D8 +Otilde 000D5 +Otimes 02A37 +Ouml 000D6 +OverBar 0203E +OverBrace 023DE +OverBracket 023B4 +OverParenthesis 023DC +PartialD 02202 +Pcy 0041F +Pfr 1D513 +Phi 003A6 +Pi 003A0 +PlusMinus 000B1 +Poincareplane 0210C +Popf 02119 +Pr 02ABB +Precedes 0227A +PrecedesEqual 02AAF +PrecedesSlantEqual 0227C +PrecedesTilde 0227E +Prime 02033 +Product 0220F +Proportion 02237 +Proportional 0221D +Pscr 1D4AB +Psi 003A8 +QUOT 00022 +Qfr 1D514 +Qopf 0211A +Qscr 1D4AC +RBarr 02910 +REG 000AE +Racute 00154 +Rang 027EB +Rarr 021A0 +Rarrtl 02916 +Rcaron 00158 +Rcedil 00156 +Rcy 00420 +Re 0211C +ReverseElement 0220B +ReverseEquilibrium 021CB +ReverseUpEquilibrium 0296F +Rfr 0211C +Rho 003A1 +RightAngleBracket 027E9 +RightArrow 02192 +RightArrowBar 021E5 +RightArrowLeftArrow 021C4 +RightCeiling 02309 +RightDoubleBracket 027E7 +RightDownTeeVector 0295D +RightDownVector 021C2 +RightDownVectorBar 02955 +RightFloor 0230B +RightTee 022A2 +RightTeeArrow 021A6 +RightTeeVector 0295B +RightTriangle 022B3 +RightTriangleBar 029D0 +RightTriangleEqual 022B5 +RightUpDownVector 0294F +RightUpTeeVector 0295C +RightUpVector 021BE +RightUpVectorBar 02954 +RightVector 021C0 +RightVectorBar 02953 +Rightarrow 021D2 +Ropf 0211D +RoundImplies 02970 +Rrightarrow 021DB +Rscr 0211B +Rsh 021B1 +RuleDelayed 029F4 +SHCHcy 00429 +SHcy 00428 +SOFTcy 0042C +Sacute 0015A +Sc 02ABC +Scaron 00160 +Scedil 0015E +Scirc 0015C +Scy 00421 +Sfr 1D516 +ShortDownArrow 02193 +ShortLeftArrow 02190 +ShortRightArrow 02192 +ShortUpArrow 02191 +Sigma 003A3 +SmallCircle 02218 +Sopf 1D54A +Sqrt 0221A +Square 025A1 +SquareIntersection 02293 +SquareSubset 0228F +SquareSubsetEqual 02291 +SquareSuperset 02290 +SquareSupersetEqual 02292 +SquareUnion 02294 +Sscr 1D4AE +Star 022C6 +Sub 022D0 +Subset 022D0 +SubsetEqual 02286 +Succeeds 0227B +SucceedsEqual 02AB0 +SucceedsSlantEqual 0227D +SucceedsTilde 0227F +SuchThat 0220B +Sum 02211 +Sup 022D1 +Superset 02283 +SupersetEqual 02287 +Supset 022D1 +THORN 000DE +TRADE 02122 +TSHcy 0040B +TScy 00426 +Tab 00009 +Tau 003A4 +Tcaron 00164 +Tcedil 00162 +Tcy 00422 +Tfr 1D517 +Therefore 02234 +Theta 00398 ThickSpace 0205F 0200A -ThinSpace 02009 -Tilde 0223C -TildeEqual 02243 -TildeFullEqual 02245 -TildeTilde 02248 -Topf 1D54B -TripleDot 020DB -Tscr 1D4AF -Tstrok 00166 -Uacute 000DA -Uarr 0219F -Uarrocir 02949 -Ubrcy 0040E -Ubreve 0016C -Ucirc 000DB -Ucy 00423 -Udblac 00170 -Ufr 1D518 -Ugrave 000D9 -Umacr 0016A -UnderBar 0005F -UnderBrace 023DF -UnderBracket 023B5 -UnderParenthesis 023DD -Union 022C3 -UnionPlus 0228E -Uogon 00172 -Uopf 1D54C -UpArrow 02191 -UpArrowBar 02912 -UpArrowDownArrow 021C5 -UpDownArrow 02195 -UpEquilibrium 0296E -UpTee 022A5 -UpTeeArrow 021A5 -Uparrow 021D1 -Updownarrow 021D5 -UpperLeftArrow 02196 -UpperRightArrow 02197 -Upsi 003D2 -Upsilon 003A5 -Uring 0016E -Uscr 1D4B0 -Utilde 00168 -Uuml 000DC -VDash 022AB -Vbar 02AEB -Vcy 00412 -Vdash 022A9 -Vdashl 02AE6 -Vee 022C1 -Verbar 02016 -Vert 02016 -VerticalBar 02223 -VerticalLine 0007C -VerticalSeparator 02758 -VerticalTilde 02240 -VeryThinSpace 0200A -Vfr 1D519 -Vopf 1D54D -Vscr 1D4B1 -Vvdash 022AA -Wcirc 00174 -Wedge 022C0 -Wfr 1D51A -Wopf 1D54E -Wscr 1D4B2 -Xfr 1D51B -Xi 0039E -Xopf 1D54F -Xscr 1D4B3 -YAcy 0042F -YIcy 00407 -YUcy 0042E -Yacute 000DD -Ycirc 00176 -Ycy 0042B -Yfr 1D51C -Yopf 1D550 -Yscr 1D4B4 -Yuml 00178 -ZHcy 00416 -Zacute 00179 -Zcaron 0017D -Zcy 00417 -Zdot 0017B -ZeroWidthSpace 0200B -Zeta 00396 -Zfr 02128 -Zopf 02124 -Zscr 1D4B5 -aacute 000E1 -abreve 00103 -ac 0223E +ThinSpace 02009 +Tilde 0223C +TildeEqual 02243 +TildeFullEqual 02245 +TildeTilde 02248 +Topf 1D54B +TripleDot 020DB +Tscr 1D4AF +Tstrok 00166 +Uacute 000DA +Uarr 0219F +Uarrocir 02949 +Ubrcy 0040E +Ubreve 0016C +Ucirc 000DB +Ucy 00423 +Udblac 00170 +Ufr 1D518 +Ugrave 000D9 +Umacr 0016A +UnderBar 0005F +UnderBrace 023DF +UnderBracket 023B5 +UnderParenthesis 023DD +Union 022C3 +UnionPlus 0228E +Uogon 00172 +Uopf 1D54C +UpArrow 02191 +UpArrowBar 02912 +UpArrowDownArrow 021C5 +UpDownArrow 02195 +UpEquilibrium 0296E +UpTee 022A5 +UpTeeArrow 021A5 +Uparrow 021D1 +Updownarrow 021D5 +UpperLeftArrow 02196 +UpperRightArrow 02197 +Upsi 003D2 +Upsilon 003A5 +Uring 0016E +Uscr 1D4B0 +Utilde 00168 +Uuml 000DC +VDash 022AB +Vbar 02AEB +Vcy 00412 +Vdash 022A9 +Vdashl 02AE6 +Vee 022C1 +Verbar 02016 +Vert 02016 +VerticalBar 02223 +VerticalLine 0007C +VerticalSeparator 02758 +VerticalTilde 02240 +VeryThinSpace 0200A +Vfr 1D519 +Vopf 1D54D +Vscr 1D4B1 +Vvdash 022AA +Wcirc 00174 +Wedge 022C0 +Wfr 1D51A +Wopf 1D54E +Wscr 1D4B2 +Xfr 1D51B +Xi 0039E +Xopf 1D54F +Xscr 1D4B3 +YAcy 0042F +YIcy 00407 +YUcy 0042E +Yacute 000DD +Ycirc 00176 +Ycy 0042B +Yfr 1D51C +Yopf 1D550 +Yscr 1D4B4 +Yuml 00178 +ZHcy 00416 +Zacute 00179 +Zcaron 0017D +Zcy 00417 +Zdot 0017B +ZeroWidthSpace 0200B +Zeta 00396 +Zfr 02128 +Zopf 02124 +Zscr 1D4B5 +aacute 000E1 +abreve 00103 +ac 0223E acE 0223E 00333 -acd 0223F -acirc 000E2 -acute 000B4 -acy 00430 -aelig 000E6 -af 02061 -afr 1D51E -agrave 000E0 -alefsym 02135 -aleph 02135 -alpha 003B1 -amacr 00101 -amalg 02A3F -amp 00026 -and 02227 -andand 02A55 -andd 02A5C -andslope 02A58 -andv 02A5A -ang 02220 -ange 029A4 -angle 02220 -angmsd 02221 -angmsdaa 029A8 -angmsdab 029A9 -angmsdac 029AA -angmsdad 029AB -angmsdae 029AC -angmsdaf 029AD -angmsdag 029AE -angmsdah 029AF -angrt 0221F -angrtvb 022BE -angrtvbd 0299D -angsph 02222 -angst 000C5 -angzarr 0237C -aogon 00105 -aopf 1D552 -ap 02248 -apE 02A70 -apacir 02A6F -ape 0224A -apid 0224B -apos 00027 -approx 02248 -approxeq 0224A -aring 000E5 -ascr 1D4B6 -ast 0002A -asymp 02248 -asympeq 0224D -atilde 000E3 -auml 000E4 -awconint 02233 -awint 02A11 -bNot 02AED -backcong 0224C -backepsilon 003F6 -backprime 02035 -backsim 0223D -backsimeq 022CD -barvee 022BD -barwed 02305 -barwedge 02305 -bbrk 023B5 -bbrktbrk 023B6 -bcong 0224C -bcy 00431 -bdquo 0201E -becaus 02235 -because 02235 -bemptyv 029B0 -bepsi 003F6 -bernou 0212C -beta 003B2 -beth 02136 -between 0226C -bfr 1D51F -bigcap 022C2 -bigcirc 025EF -bigcup 022C3 -bigodot 02A00 -bigoplus 02A01 -bigotimes 02A02 -bigsqcup 02A06 -bigstar 02605 -bigtriangledown 025BD -bigtriangleup 025B3 -biguplus 02A04 -bigvee 022C1 -bigwedge 022C0 -bkarow 0290D -blacklozenge 029EB -blacksquare 025AA -blacktriangle 025B4 -blacktriangledown 025BE -blacktriangleleft 025C2 -blacktriangleright 025B8 -blank 02423 -blk12 02592 -blk14 02591 -blk34 02593 -block 02588 +acd 0223F +acirc 000E2 +acute 000B4 +acy 00430 +aelig 000E6 +af 02061 +afr 1D51E +agrave 000E0 +alefsym 02135 +aleph 02135 +alpha 003B1 +amacr 00101 +amalg 02A3F +amp 00026 +and 02227 +andand 02A55 +andd 02A5C +andslope 02A58 +andv 02A5A +ang 02220 +ange 029A4 +angle 02220 +angmsd 02221 +angmsdaa 029A8 +angmsdab 029A9 +angmsdac 029AA +angmsdad 029AB +angmsdae 029AC +angmsdaf 029AD +angmsdag 029AE +angmsdah 029AF +angrt 0221F +angrtvb 022BE +angrtvbd 0299D +angsph 02222 +angst 000C5 +angzarr 0237C +aogon 00105 +aopf 1D552 +ap 02248 +apE 02A70 +apacir 02A6F +ape 0224A +apid 0224B +apos 00027 +approx 02248 +approxeq 0224A +aring 000E5 +ascr 1D4B6 +ast 0002A +asymp 02248 +asympeq 0224D +atilde 000E3 +auml 000E4 +awconint 02233 +awint 02A11 +bNot 02AED +backcong 0224C +backepsilon 003F6 +backprime 02035 +backsim 0223D +backsimeq 022CD +barvee 022BD +barwed 02305 +barwedge 02305 +bbrk 023B5 +bbrktbrk 023B6 +bcong 0224C +bcy 00431 +bdquo 0201E +becaus 02235 +because 02235 +bemptyv 029B0 +bepsi 003F6 +bernou 0212C +beta 003B2 +beth 02136 +between 0226C +bfr 1D51F +bigcap 022C2 +bigcirc 025EF +bigcup 022C3 +bigodot 02A00 +bigoplus 02A01 +bigotimes 02A02 +bigsqcup 02A06 +bigstar 02605 +bigtriangledown 025BD +bigtriangleup 025B3 +biguplus 02A04 +bigvee 022C1 +bigwedge 022C0 +bkarow 0290D +blacklozenge 029EB +blacksquare 025AA +blacktriangle 025B4 +blacktriangledown 025BE +blacktriangleleft 025C2 +blacktriangleright 025B8 +blank 02423 +blk12 02592 +blk14 02591 +blk34 02593 +block 02588 bne 0003D 020E5 bnequiv 02261 020E5 -bnot 02310 -bopf 1D553 -bot 022A5 -bottom 022A5 -bowtie 022C8 -boxDL 02557 -boxDR 02554 -boxDl 02556 -boxDr 02553 -boxH 02550 -boxHD 02566 -boxHU 02569 -boxHd 02564 -boxHu 02567 -boxUL 0255D -boxUR 0255A -boxUl 0255C -boxUr 02559 -boxV 02551 -boxVH 0256C -boxVL 02563 -boxVR 02560 -boxVh 0256B -boxVl 02562 -boxVr 0255F -boxbox 029C9 -boxdL 02555 -boxdR 02552 -boxdl 02510 -boxdr 0250C -boxh 02500 -boxhD 02565 -boxhU 02568 -boxhd 0252C -boxhu 02534 -boxminus 0229F -boxplus 0229E -boxtimes 022A0 -boxuL 0255B -boxuR 02558 -boxul 02518 -boxur 02514 -boxv 02502 -boxvH 0256A -boxvL 02561 -boxvR 0255E -boxvh 0253C -boxvl 02524 -boxvr 0251C -bprime 02035 -breve 002D8 -brvbar 000A6 -bscr 1D4B7 -bsemi 0204F -bsim 0223D -bsime 022CD -bsol 0005C -bsolb 029C5 -bsolhsub 027C8 -bull 02022 -bullet 02022 -bump 0224E -bumpE 02AAE -bumpe 0224F -bumpeq 0224F -cacute 00107 -cap 02229 -capand 02A44 -capbrcup 02A49 -capcap 02A4B -capcup 02A47 -capdot 02A40 +bnot 02310 +bopf 1D553 +bot 022A5 +bottom 022A5 +bowtie 022C8 +boxDL 02557 +boxDR 02554 +boxDl 02556 +boxDr 02553 +boxH 02550 +boxHD 02566 +boxHU 02569 +boxHd 02564 +boxHu 02567 +boxUL 0255D +boxUR 0255A +boxUl 0255C +boxUr 02559 +boxV 02551 +boxVH 0256C +boxVL 02563 +boxVR 02560 +boxVh 0256B +boxVl 02562 +boxVr 0255F +boxbox 029C9 +boxdL 02555 +boxdR 02552 +boxdl 02510 +boxdr 0250C +boxh 02500 +boxhD 02565 +boxhU 02568 +boxhd 0252C +boxhu 02534 +boxminus 0229F +boxplus 0229E +boxtimes 022A0 +boxuL 0255B +boxuR 02558 +boxul 02518 +boxur 02514 +boxv 02502 +boxvH 0256A +boxvL 02561 +boxvR 0255E +boxvh 0253C +boxvl 02524 +boxvr 0251C +bprime 02035 +breve 002D8 +brvbar 000A6 +bscr 1D4B7 +bsemi 0204F +bsim 0223D +bsime 022CD +bsol 0005C +bsolb 029C5 +bsolhsub 027C8 +bull 02022 +bullet 02022 +bump 0224E +bumpE 02AAE +bumpe 0224F +bumpeq 0224F +cacute 00107 +cap 02229 +capand 02A44 +capbrcup 02A49 +capcap 02A4B +capcup 02A47 +capdot 02A40 caps 02229 0FE00 -caret 02041 -caron 002C7 -ccaps 02A4D -ccaron 0010D -ccedil 000E7 -ccirc 00109 -ccups 02A4C -ccupssm 02A50 -cdot 0010B -cedil 000B8 -cemptyv 029B2 -cent 000A2 -centerdot 000B7 -cfr 1D520 -chcy 00447 -check 02713 -checkmark 02713 -chi 003C7 -cir 025CB -cirE 029C3 -circ 002C6 -circeq 02257 -circlearrowleft 021BA -circlearrowright 021BB -circledR 000AE -circledS 024C8 -circledast 0229B -circledcirc 0229A -circleddash 0229D -cire 02257 -cirfnint 02A10 -cirmid 02AEF -cirscir 029C2 -clubs 02663 -clubsuit 02663 -colon 0003A -colone 02254 -coloneq 02254 -comma 0002C -commat 00040 -comp 02201 -compfn 02218 -complement 02201 -complexes 02102 -cong 02245 -congdot 02A6D -conint 0222E -copf 1D554 -coprod 02210 -copy 000A9 -copysr 02117 -crarr 021B5 -cross 02717 -cscr 1D4B8 -csub 02ACF -csube 02AD1 -csup 02AD0 -csupe 02AD2 -ctdot 022EF -cudarrl 02938 -cudarrr 02935 -cuepr 022DE -cuesc 022DF -cularr 021B6 -cularrp 0293D -cup 0222A -cupbrcap 02A48 -cupcap 02A46 -cupcup 02A4A -cupdot 0228D -cupor 02A45 +caret 02041 +caron 002C7 +ccaps 02A4D +ccaron 0010D +ccedil 000E7 +ccirc 00109 +ccups 02A4C +ccupssm 02A50 +cdot 0010B +cedil 000B8 +cemptyv 029B2 +cent 000A2 +centerdot 000B7 +cfr 1D520 +chcy 00447 +check 02713 +checkmark 02713 +chi 003C7 +cir 025CB +cirE 029C3 +circ 002C6 +circeq 02257 +circlearrowleft 021BA +circlearrowright 021BB +circledR 000AE +circledS 024C8 +circledast 0229B +circledcirc 0229A +circleddash 0229D +cire 02257 +cirfnint 02A10 +cirmid 02AEF +cirscir 029C2 +clubs 02663 +clubsuit 02663 +colon 0003A +colone 02254 +coloneq 02254 +comma 0002C +commat 00040 +comp 02201 +compfn 02218 +complement 02201 +complexes 02102 +cong 02245 +congdot 02A6D +conint 0222E +copf 1D554 +coprod 02210 +copy 000A9 +copysr 02117 +crarr 021B5 +cross 02717 +cscr 1D4B8 +csub 02ACF +csube 02AD1 +csup 02AD0 +csupe 02AD2 +ctdot 022EF +cudarrl 02938 +cudarrr 02935 +cuepr 022DE +cuesc 022DF +cularr 021B6 +cularrp 0293D +cup 0222A +cupbrcap 02A48 +cupcap 02A46 +cupcup 02A4A +cupdot 0228D +cupor 02A45 cups 0222A 0FE00 -curarr 021B7 -curarrm 0293C -curlyeqprec 022DE -curlyeqsucc 022DF -curlyvee 022CE -curlywedge 022CF -curren 000A4 -curvearrowleft 021B6 -curvearrowright 021B7 -cuvee 022CE -cuwed 022CF -cwconint 02232 -cwint 02231 -cylcty 0232D -dArr 021D3 -dHar 02965 -dagger 02020 -daleth 02138 -darr 02193 -dash 02010 -dashv 022A3 -dbkarow 0290F -dblac 002DD -dcaron 0010F -dcy 00434 -dd 02146 -ddagger 02021 -ddarr 021CA -ddotseq 02A77 -deg 000B0 -delta 003B4 -demptyv 029B1 -dfisht 0297F -dfr 1D521 -dharl 021C3 -dharr 021C2 -diam 022C4 -diamond 022C4 -diamondsuit 02666 -diams 02666 -die 000A8 -digamma 003DD -disin 022F2 -div 000F7 -divide 000F7 -divideontimes 022C7 -divonx 022C7 -djcy 00452 -dlcorn 0231E -dlcrop 0230D -dollar 00024 -dopf 1D555 -dot 002D9 -doteq 02250 -doteqdot 02251 -dotminus 02238 -dotplus 02214 -dotsquare 022A1 -doublebarwedge 02306 -downarrow 02193 -downdownarrows 021CA -downharpoonleft 021C3 -downharpoonright 021C2 -drbkarow 02910 -drcorn 0231F -drcrop 0230C -dscr 1D4B9 -dscy 00455 -dsol 029F6 -dstrok 00111 -dtdot 022F1 -dtri 025BF -dtrif 025BE -duarr 021F5 -duhar 0296F -dwangle 029A6 -dzcy 0045F -dzigrarr 027FF -eDDot 02A77 -eDot 02251 -eacute 000E9 -easter 02A6E -ecaron 0011B -ecir 02256 -ecirc 000EA -ecolon 02255 -ecy 0044D -edot 00117 -ee 02147 -efDot 02252 -efr 1D522 -eg 02A9A -egrave 000E8 -egs 02A96 -egsdot 02A98 -el 02A99 -elinters 023E7 -ell 02113 -els 02A95 -elsdot 02A97 -emacr 00113 -empty 02205 -emptyset 02205 -emptyv 02205 -emsp 02003 -emsp13 02004 -emsp14 02005 -eng 0014B -ensp 02002 -eogon 00119 -eopf 1D556 -epar 022D5 -eparsl 029E3 -eplus 02A71 -epsi 003B5 -epsilon 003B5 -epsiv 003F5 -eqcirc 02256 -eqcolon 02255 -eqsim 02242 -eqslantgtr 02A96 -eqslantless 02A95 -equals 0003D -equest 0225F -equiv 02261 -equivDD 02A78 -eqvparsl 029E5 -erDot 02253 -erarr 02971 -escr 0212F -esdot 02250 -esim 02242 -eta 003B7 -eth 000F0 -euml 000EB -euro 020AC -excl 00021 -exist 02203 -expectation 02130 -exponentiale 02147 -fallingdotseq 02252 -fcy 00444 -female 02640 -ffilig 0FB03 -fflig 0FB00 -ffllig 0FB04 -ffr 1D523 -filig 0FB01 +curarr 021B7 +curarrm 0293C +curlyeqprec 022DE +curlyeqsucc 022DF +curlyvee 022CE +curlywedge 022CF +curren 000A4 +curvearrowleft 021B6 +curvearrowright 021B7 +cuvee 022CE +cuwed 022CF +cwconint 02232 +cwint 02231 +cylcty 0232D +dArr 021D3 +dHar 02965 +dagger 02020 +daleth 02138 +darr 02193 +dash 02010 +dashv 022A3 +dbkarow 0290F +dblac 002DD +dcaron 0010F +dcy 00434 +dd 02146 +ddagger 02021 +ddarr 021CA +ddotseq 02A77 +deg 000B0 +delta 003B4 +demptyv 029B1 +dfisht 0297F +dfr 1D521 +dharl 021C3 +dharr 021C2 +diam 022C4 +diamond 022C4 +diamondsuit 02666 +diams 02666 +die 000A8 +digamma 003DD +disin 022F2 +div 000F7 +divide 000F7 +divideontimes 022C7 +divonx 022C7 +djcy 00452 +dlcorn 0231E +dlcrop 0230D +dollar 00024 +dopf 1D555 +dot 002D9 +doteq 02250 +doteqdot 02251 +dotminus 02238 +dotplus 02214 +dotsquare 022A1 +doublebarwedge 02306 +downarrow 02193 +downdownarrows 021CA +downharpoonleft 021C3 +downharpoonright 021C2 +drbkarow 02910 +drcorn 0231F +drcrop 0230C +dscr 1D4B9 +dscy 00455 +dsol 029F6 +dstrok 00111 +dtdot 022F1 +dtri 025BF +dtrif 025BE +duarr 021F5 +duhar 0296F +dwangle 029A6 +dzcy 0045F +dzigrarr 027FF +eDDot 02A77 +eDot 02251 +eacute 000E9 +easter 02A6E +ecaron 0011B +ecir 02256 +ecirc 000EA +ecolon 02255 +ecy 0044D +edot 00117 +ee 02147 +efDot 02252 +efr 1D522 +eg 02A9A +egrave 000E8 +egs 02A96 +egsdot 02A98 +el 02A99 +elinters 023E7 +ell 02113 +els 02A95 +elsdot 02A97 +emacr 00113 +empty 02205 +emptyset 02205 +emptyv 02205 +emsp 02003 +emsp13 02004 +emsp14 02005 +eng 0014B +ensp 02002 +eogon 00119 +eopf 1D556 +epar 022D5 +eparsl 029E3 +eplus 02A71 +epsi 003B5 +epsilon 003B5 +epsiv 003F5 +eqcirc 02256 +eqcolon 02255 +eqsim 02242 +eqslantgtr 02A96 +eqslantless 02A95 +equals 0003D +equest 0225F +equiv 02261 +equivDD 02A78 +eqvparsl 029E5 +erDot 02253 +erarr 02971 +escr 0212F +esdot 02250 +esim 02242 +eta 003B7 +eth 000F0 +euml 000EB +euro 020AC +excl 00021 +exist 02203 +expectation 02130 +exponentiale 02147 +fallingdotseq 02252 +fcy 00444 +female 02640 +ffilig 0FB03 +fflig 0FB00 +ffllig 0FB04 +ffr 1D523 +filig 0FB01 fjlig 00066 0006A -flat 0266D -fllig 0FB02 -fltns 025B1 -fnof 00192 -fopf 1D557 -forall 02200 -fork 022D4 -forkv 02AD9 -fpartint 02A0D -frac12 000BD -frac13 02153 -frac14 000BC -frac15 02155 -frac16 02159 -frac18 0215B -frac23 02154 -frac25 02156 -frac34 000BE -frac35 02157 -frac38 0215C -frac45 02158 -frac56 0215A -frac58 0215D -frac78 0215E -frasl 02044 -frown 02322 -fscr 1D4BB -gE 02267 -gEl 02A8C -gacute 001F5 -gamma 003B3 -gammad 003DD -gap 02A86 -gbreve 0011F -gcirc 0011D -gcy 00433 -gdot 00121 -ge 02265 -gel 022DB -geq 02265 -geqq 02267 -geqslant 02A7E -ges 02A7E -gescc 02AA9 -gesdot 02A80 -gesdoto 02A82 -gesdotol 02A84 +flat 0266D +fllig 0FB02 +fltns 025B1 +fnof 00192 +fopf 1D557 +forall 02200 +fork 022D4 +forkv 02AD9 +fpartint 02A0D +frac12 000BD +frac13 02153 +frac14 000BC +frac15 02155 +frac16 02159 +frac18 0215B +frac23 02154 +frac25 02156 +frac34 000BE +frac35 02157 +frac38 0215C +frac45 02158 +frac56 0215A +frac58 0215D +frac78 0215E +frasl 02044 +frown 02322 +fscr 1D4BB +gE 02267 +gEl 02A8C +gacute 001F5 +gamma 003B3 +gammad 003DD +gap 02A86 +gbreve 0011F +gcirc 0011D +gcy 00433 +gdot 00121 +ge 02265 +gel 022DB +geq 02265 +geqq 02267 +geqslant 02A7E +ges 02A7E +gescc 02AA9 +gesdot 02A80 +gesdoto 02A82 +gesdotol 02A84 gesl 022DB 0FE00 -gesles 02A94 -gfr 1D524 -gg 0226B -ggg 022D9 -gimel 02137 -gjcy 00453 -gl 02277 -glE 02A92 -gla 02AA5 -glj 02AA4 -gnE 02269 -gnap 02A8A -gnapprox 02A8A -gne 02A88 -gneq 02A88 -gneqq 02269 -gnsim 022E7 -gopf 1D558 -grave 00060 -gscr 0210A -gsim 02273 -gsime 02A8E -gsiml 02A90 -gt 0003E -gtcc 02AA7 -gtcir 02A7A -gtdot 022D7 -gtlPar 02995 -gtquest 02A7C -gtrapprox 02A86 -gtrarr 02978 -gtrdot 022D7 -gtreqless 022DB -gtreqqless 02A8C -gtrless 02277 -gtrsim 02273 +gesles 02A94 +gfr 1D524 +gg 0226B +ggg 022D9 +gimel 02137 +gjcy 00453 +gl 02277 +glE 02A92 +gla 02AA5 +glj 02AA4 +gnE 02269 +gnap 02A8A +gnapprox 02A8A +gne 02A88 +gneq 02A88 +gneqq 02269 +gnsim 022E7 +gopf 1D558 +grave 00060 +gscr 0210A +gsim 02273 +gsime 02A8E +gsiml 02A90 +gt 0003E +gtcc 02AA7 +gtcir 02A7A +gtdot 022D7 +gtlPar 02995 +gtquest 02A7C +gtrapprox 02A86 +gtrarr 02978 +gtrdot 022D7 +gtreqless 022DB +gtreqqless 02A8C +gtrless 02277 +gtrsim 02273 gvertneqq 02269 0FE00 gvnE 02269 0FE00 -hArr 021D4 -hairsp 0200A -half 000BD -hamilt 0210B -hardcy 0044A -harr 02194 -harrcir 02948 -harrw 021AD -hbar 0210F -hcirc 00125 -hearts 02665 -heartsuit 02665 -hellip 02026 -hercon 022B9 -hfr 1D525 -hksearow 02925 -hkswarow 02926 -hoarr 021FF -homtht 0223B -hookleftarrow 021A9 -hookrightarrow 021AA -hopf 1D559 -horbar 02015 -hscr 1D4BD -hslash 0210F -hstrok 00127 -hybull 02043 -hyphen 02010 -iacute 000ED -ic 02063 -icirc 000EE -icy 00438 -iecy 00435 -iexcl 000A1 -iff 021D4 -ifr 1D526 -igrave 000EC -ii 02148 -iiiint 02A0C -iiint 0222D -iinfin 029DC -iiota 02129 -ijlig 00133 -imacr 0012B -image 02111 -imagline 02110 -imagpart 02111 -imath 00131 -imof 022B7 -imped 001B5 -in 02208 -incare 02105 -infin 0221E -infintie 029DD -inodot 00131 -int 0222B -intcal 022BA -integers 02124 -intercal 022BA -intlarhk 02A17 -intprod 02A3C -iocy 00451 -iogon 0012F -iopf 1D55A -iota 003B9 -iprod 02A3C -iquest 000BF -iscr 1D4BE -isin 02208 -isinE 022F9 -isindot 022F5 -isins 022F4 -isinsv 022F3 -isinv 02208 -it 02062 -itilde 00129 -iukcy 00456 -iuml 000EF -jcirc 00135 -jcy 00439 -jfr 1D527 -jmath 00237 -jopf 1D55B -jscr 1D4BF -jsercy 00458 -jukcy 00454 -kappa 003BA -kappav 003F0 -kcedil 00137 -kcy 0043A -kfr 1D528 -kgreen 00138 -khcy 00445 -kjcy 0045C -kopf 1D55C -kscr 1D4C0 -lAarr 021DA -lArr 021D0 -lAtail 0291B -lBarr 0290E -lE 02266 -lEg 02A8B -lHar 02962 -lacute 0013A -laemptyv 029B4 -lagran 02112 -lambda 003BB -lang 027E8 -langd 02991 -langle 027E8 -lap 02A85 -laquo 000AB -larr 02190 -larrb 021E4 -larrbfs 0291F -larrfs 0291D -larrhk 021A9 -larrlp 021AB -larrpl 02939 -larrsim 02973 -larrtl 021A2 -lat 02AAB -latail 02919 -late 02AAD +hArr 021D4 +hairsp 0200A +half 000BD +hamilt 0210B +hardcy 0044A +harr 02194 +harrcir 02948 +harrw 021AD +hbar 0210F +hcirc 00125 +hearts 02665 +heartsuit 02665 +hellip 02026 +hercon 022B9 +hfr 1D525 +hksearow 02925 +hkswarow 02926 +hoarr 021FF +homtht 0223B +hookleftarrow 021A9 +hookrightarrow 021AA +hopf 1D559 +horbar 02015 +hscr 1D4BD +hslash 0210F +hstrok 00127 +hybull 02043 +hyphen 02010 +iacute 000ED +ic 02063 +icirc 000EE +icy 00438 +iecy 00435 +iexcl 000A1 +iff 021D4 +ifr 1D526 +igrave 000EC +ii 02148 +iiiint 02A0C +iiint 0222D +iinfin 029DC +iiota 02129 +ijlig 00133 +imacr 0012B +image 02111 +imagline 02110 +imagpart 02111 +imath 00131 +imof 022B7 +imped 001B5 +in 02208 +incare 02105 +infin 0221E +infintie 029DD +inodot 00131 +int 0222B +intcal 022BA +integers 02124 +intercal 022BA +intlarhk 02A17 +intprod 02A3C +iocy 00451 +iogon 0012F +iopf 1D55A +iota 003B9 +iprod 02A3C +iquest 000BF +iscr 1D4BE +isin 02208 +isinE 022F9 +isindot 022F5 +isins 022F4 +isinsv 022F3 +isinv 02208 +it 02062 +itilde 00129 +iukcy 00456 +iuml 000EF +jcirc 00135 +jcy 00439 +jfr 1D527 +jmath 00237 +jopf 1D55B +jscr 1D4BF +jsercy 00458 +jukcy 00454 +kappa 003BA +kappav 003F0 +kcedil 00137 +kcy 0043A +kfr 1D528 +kgreen 00138 +khcy 00445 +kjcy 0045C +kopf 1D55C +kscr 1D4C0 +lAarr 021DA +lArr 021D0 +lAtail 0291B +lBarr 0290E +lE 02266 +lEg 02A8B +lHar 02962 +lacute 0013A +laemptyv 029B4 +lagran 02112 +lambda 003BB +lang 027E8 +langd 02991 +langle 027E8 +lap 02A85 +laquo 000AB +larr 02190 +larrb 021E4 +larrbfs 0291F +larrfs 0291D +larrhk 021A9 +larrlp 021AB +larrpl 02939 +larrsim 02973 +larrtl 021A2 +lat 02AAB +latail 02919 +late 02AAD lates 02AAD 0FE00 -lbarr 0290C -lbbrk 02772 -lbrace 0007B -lbrack 0005B -lbrke 0298B -lbrksld 0298F -lbrkslu 0298D -lcaron 0013E -lcedil 0013C -lceil 02308 -lcub 0007B -lcy 0043B -ldca 02936 -ldquo 0201C -ldquor 0201E -ldrdhar 02967 -ldrushar 0294B -ldsh 021B2 -le 02264 -leftarrow 02190 -leftarrowtail 021A2 -leftharpoondown 021BD -leftharpoonup 021BC -leftleftarrows 021C7 -leftrightarrow 02194 -leftrightarrows 021C6 -leftrightharpoons 021CB -leftrightsquigarrow 021AD -leftthreetimes 022CB -leg 022DA -leq 02264 -leqq 02266 -leqslant 02A7D -les 02A7D -lescc 02AA8 -lesdot 02A7F -lesdoto 02A81 -lesdotor 02A83 +lbarr 0290C +lbbrk 02772 +lbrace 0007B +lbrack 0005B +lbrke 0298B +lbrksld 0298F +lbrkslu 0298D +lcaron 0013E +lcedil 0013C +lceil 02308 +lcub 0007B +lcy 0043B +ldca 02936 +ldquo 0201C +ldquor 0201E +ldrdhar 02967 +ldrushar 0294B +ldsh 021B2 +le 02264 +leftarrow 02190 +leftarrowtail 021A2 +leftharpoondown 021BD +leftharpoonup 021BC +leftleftarrows 021C7 +leftrightarrow 02194 +leftrightarrows 021C6 +leftrightharpoons 021CB +leftrightsquigarrow 021AD +leftthreetimes 022CB +leg 022DA +leq 02264 +leqq 02266 +leqslant 02A7D +les 02A7D +lescc 02AA8 +lesdot 02A7F +lesdoto 02A81 +lesdotor 02A83 lesg 022DA 0FE00 -lesges 02A93 -lessapprox 02A85 -lessdot 022D6 -lesseqgtr 022DA -lesseqqgtr 02A8B -lessgtr 02276 -lesssim 02272 -lfisht 0297C -lfloor 0230A -lfr 1D529 -lg 02276 -lgE 02A91 -lhard 021BD -lharu 021BC -lharul 0296A -lhblk 02584 -ljcy 00459 -ll 0226A -llarr 021C7 -llcorner 0231E -llhard 0296B -lltri 025FA -lmidot 00140 -lmoust 023B0 -lmoustache 023B0 -lnE 02268 -lnap 02A89 -lnapprox 02A89 -lne 02A87 -lneq 02A87 -lneqq 02268 -lnsim 022E6 -loang 027EC -loarr 021FD -lobrk 027E6 -longleftarrow 027F5 -longleftrightarrow 027F7 -longmapsto 027FC -longrightarrow 027F6 -looparrowleft 021AB -looparrowright 021AC -lopar 02985 -lopf 1D55D -loplus 02A2D -lotimes 02A34 -lowast 02217 -lowbar 0005F -loz 025CA -lozenge 025CA -lozf 029EB -lpar 00028 -lparlt 02993 -lrarr 021C6 -lrcorner 0231F -lrhar 021CB -lrhard 0296D -lrm 0200E -lrtri 022BF -lsaquo 02039 -lscr 1D4C1 -lsh 021B0 -lsim 02272 -lsime 02A8D -lsimg 02A8F -lsqb 0005B -lsquo 02018 -lsquor 0201A -lstrok 00142 -lt 0003C -ltcc 02AA6 -ltcir 02A79 -ltdot 022D6 -lthree 022CB -ltimes 022C9 -ltlarr 02976 -ltquest 02A7B -ltrPar 02996 -ltri 025C3 -ltrie 022B4 -ltrif 025C2 -lurdshar 0294A -luruhar 02966 +lesges 02A93 +lessapprox 02A85 +lessdot 022D6 +lesseqgtr 022DA +lesseqqgtr 02A8B +lessgtr 02276 +lesssim 02272 +lfisht 0297C +lfloor 0230A +lfr 1D529 +lg 02276 +lgE 02A91 +lhard 021BD +lharu 021BC +lharul 0296A +lhblk 02584 +ljcy 00459 +ll 0226A +llarr 021C7 +llcorner 0231E +llhard 0296B +lltri 025FA +lmidot 00140 +lmoust 023B0 +lmoustache 023B0 +lnE 02268 +lnap 02A89 +lnapprox 02A89 +lne 02A87 +lneq 02A87 +lneqq 02268 +lnsim 022E6 +loang 027EC +loarr 021FD +lobrk 027E6 +longleftarrow 027F5 +longleftrightarrow 027F7 +longmapsto 027FC +longrightarrow 027F6 +looparrowleft 021AB +looparrowright 021AC +lopar 02985 +lopf 1D55D +loplus 02A2D +lotimes 02A34 +lowast 02217 +lowbar 0005F +loz 025CA +lozenge 025CA +lozf 029EB +lpar 00028 +lparlt 02993 +lrarr 021C6 +lrcorner 0231F +lrhar 021CB +lrhard 0296D +lrm 0200E +lrtri 022BF +lsaquo 02039 +lscr 1D4C1 +lsh 021B0 +lsim 02272 +lsime 02A8D +lsimg 02A8F +lsqb 0005B +lsquo 02018 +lsquor 0201A +lstrok 00142 +lt 0003C +ltcc 02AA6 +ltcir 02A79 +ltdot 022D6 +lthree 022CB +ltimes 022C9 +ltlarr 02976 +ltquest 02A7B +ltrPar 02996 +ltri 025C3 +ltrie 022B4 +ltrif 025C2 +lurdshar 0294A +luruhar 02966 lvertneqq 02268 0FE00 lvnE 02268 0FE00 -mDDot 0223A -macr 000AF -male 02642 -malt 02720 -maltese 02720 -map 021A6 -mapsto 021A6 -mapstodown 021A7 -mapstoleft 021A4 -mapstoup 021A5 -marker 025AE -mcomma 02A29 -mcy 0043C -mdash 02014 -measuredangle 02221 -mfr 1D52A -mho 02127 -micro 000B5 -mid 02223 -midast 0002A -midcir 02AF0 -middot 000B7 -minus 02212 -minusb 0229F -minusd 02238 -minusdu 02A2A -mlcp 02ADB -mldr 02026 -mnplus 02213 -models 022A7 -mopf 1D55E -mp 02213 -mscr 1D4C2 -mstpos 0223E -mu 003BC -multimap 022B8 -mumap 022B8 +mDDot 0223A +macr 000AF +male 02642 +malt 02720 +maltese 02720 +map 021A6 +mapsto 021A6 +mapstodown 021A7 +mapstoleft 021A4 +mapstoup 021A5 +marker 025AE +mcomma 02A29 +mcy 0043C +mdash 02014 +measuredangle 02221 +mfr 1D52A +mho 02127 +micro 000B5 +mid 02223 +midast 0002A +midcir 02AF0 +middot 000B7 +minus 02212 +minusb 0229F +minusd 02238 +minusdu 02A2A +mlcp 02ADB +mldr 02026 +mnplus 02213 +models 022A7 +mopf 1D55E +mp 02213 +mscr 1D4C2 +mstpos 0223E +mu 003BC +multimap 022B8 +mumap 022B8 nGg 022D9 00338 nGt 0226B 020D2 nGtv 0226B 00338 -nLeftarrow 021CD -nLeftrightarrow 021CE +nLeftarrow 021CD +nLeftrightarrow 021CE nLl 022D8 00338 nLt 0226A 020D2 nLtv 0226A 00338 -nRightarrow 021CF -nVDash 022AF -nVdash 022AE -nabla 02207 -nacute 00144 +nRightarrow 021CF +nVDash 022AF +nVdash 022AE +nabla 02207 +nacute 00144 nang 02220 020D2 -nap 02249 +nap 02249 napE 02A70 00338 napid 0224B 00338 -napos 00149 -napprox 02249 -natur 0266E -natural 0266E -naturals 02115 -nbsp 000A0 +napos 00149 +napprox 02249 +natur 0266E +natural 0266E +naturals 02115 +nbsp 000A0 nbump 0224E 00338 nbumpe 0224F 00338 -ncap 02A43 -ncaron 00148 -ncedil 00146 -ncong 02247 +ncap 02A43 +ncaron 00148 +ncedil 00146 +ncong 02247 ncongdot 02A6D 00338 -ncup 02A42 -ncy 0043D -ndash 02013 -ne 02260 -neArr 021D7 -nearhk 02924 -nearr 02197 -nearrow 02197 +ncup 02A42 +ncy 0043D +ndash 02013 +ne 02260 +neArr 021D7 +nearhk 02924 +nearr 02197 +nearrow 02197 nedot 02250 00338 -nequiv 02262 -nesear 02928 +nequiv 02262 +nesear 02928 nesim 02242 00338 -nexist 02204 -nexists 02204 -nfr 1D52B +nexist 02204 +nexists 02204 +nfr 1D52B ngE 02267 00338 -nge 02271 -ngeq 02271 +nge 02271 +ngeq 02271 ngeqq 02267 00338 ngeqslant 02A7E 00338 nges 02A7E 00338 -ngsim 02275 -ngt 0226F -ngtr 0226F -nhArr 021CE -nharr 021AE -nhpar 02AF2 -ni 0220B -nis 022FC -nisd 022FA -niv 0220B -njcy 0045A -nlArr 021CD +ngsim 02275 +ngt 0226F +ngtr 0226F +nhArr 021CE +nharr 021AE +nhpar 02AF2 +ni 0220B +nis 022FC +nisd 022FA +niv 0220B +njcy 0045A +nlArr 021CD nlE 02266 00338 -nlarr 0219A -nldr 02025 -nle 02270 -nleftarrow 0219A -nleftrightarrow 021AE -nleq 02270 +nlarr 0219A +nldr 02025 +nle 02270 +nleftarrow 0219A +nleftrightarrow 021AE +nleq 02270 nleqq 02266 00338 nleqslant 02A7D 00338 nles 02A7D 00338 -nless 0226E -nlsim 02274 -nlt 0226E -nltri 022EA -nltrie 022EC -nmid 02224 -nopf 1D55F -not 000AC -notin 02209 +nless 0226E +nlsim 02274 +nlt 0226E +nltri 022EA +nltrie 022EC +nmid 02224 +nopf 1D55F +not 000AC +notin 02209 notinE 022F9 00338 notindot 022F5 00338 -notinva 02209 -notinvb 022F7 -notinvc 022F6 -notni 0220C -notniva 0220C -notnivb 022FE -notnivc 022FD -npar 02226 -nparallel 02226 +notinva 02209 +notinvb 022F7 +notinvc 022F6 +notni 0220C +notniva 0220C +notnivb 022FE +notnivc 022FD +npar 02226 +nparallel 02226 nparsl 02AFD 020E5 npart 02202 00338 -npolint 02A14 -npr 02280 -nprcue 022E0 +npolint 02A14 +npr 02280 +nprcue 022E0 npre 02AAF 00338 -nprec 02280 +nprec 02280 npreceq 02AAF 00338 -nrArr 021CF -nrarr 0219B +nrArr 021CF +nrarr 0219B nrarrc 02933 00338 nrarrw 0219D 00338 -nrightarrow 0219B -nrtri 022EB -nrtrie 022ED -nsc 02281 -nsccue 022E1 +nrightarrow 0219B +nrtri 022EB +nrtrie 022ED +nsc 02281 +nsccue 022E1 nsce 02AB0 00338 -nscr 1D4C3 -nshortmid 02224 -nshortparallel 02226 -nsim 02241 -nsime 02244 -nsimeq 02244 -nsmid 02224 -nspar 02226 -nsqsube 022E2 -nsqsupe 022E3 -nsub 02284 +nscr 1D4C3 +nshortmid 02224 +nshortparallel 02226 +nsim 02241 +nsime 02244 +nsimeq 02244 +nsmid 02224 +nspar 02226 +nsqsube 022E2 +nsqsupe 022E3 +nsub 02284 nsubE 02AC5 00338 -nsube 02288 +nsube 02288 nsubset 02282 020D2 -nsubseteq 02288 +nsubseteq 02288 nsubseteqq 02AC5 00338 -nsucc 02281 +nsucc 02281 nsucceq 02AB0 00338 -nsup 02285 +nsup 02285 nsupE 02AC6 00338 -nsupe 02289 +nsupe 02289 nsupset 02283 020D2 -nsupseteq 02289 +nsupseteq 02289 nsupseteqq 02AC6 00338 -ntgl 02279 -ntilde 000F1 -ntlg 02278 -ntriangleleft 022EA -ntrianglelefteq 022EC -ntriangleright 022EB -ntrianglerighteq 022ED -nu 003BD -num 00023 -numero 02116 -numsp 02007 -nvDash 022AD -nvHarr 02904 +ntgl 02279 +ntilde 000F1 +ntlg 02278 +ntriangleleft 022EA +ntrianglelefteq 022EC +ntriangleright 022EB +ntrianglerighteq 022ED +nu 003BD +num 00023 +numero 02116 +numsp 02007 +nvDash 022AD +nvHarr 02904 nvap 0224D 020D2 -nvdash 022AC +nvdash 022AC nvge 02265 020D2 nvgt 0003E 020D2 -nvinfin 029DE -nvlArr 02902 +nvinfin 029DE +nvlArr 02902 nvle 02264 020D2 nvlt 0003C 020D2 nvltrie 022B4 020D2 -nvrArr 02903 +nvrArr 02903 nvrtrie 022B5 020D2 nvsim 0223C 020D2 -nwArr 021D6 -nwarhk 02923 -nwarr 02196 -nwarrow 02196 -nwnear 02927 -oS 024C8 -oacute 000F3 -oast 0229B -ocir 0229A -ocirc 000F4 -ocy 0043E -odash 0229D -odblac 00151 -odiv 02A38 -odot 02299 -odsold 029BC -oelig 00153 -ofcir 029BF -ofr 1D52C -ogon 002DB -ograve 000F2 -ogt 029C1 -ohbar 029B5 -ohm 003A9 -oint 0222E -olarr 021BA -olcir 029BE -olcross 029BB -oline 0203E -olt 029C0 -omacr 0014D -omega 003C9 -omicron 003BF -omid 029B6 -ominus 02296 -oopf 1D560 -opar 029B7 -operp 029B9 -oplus 02295 -or 02228 -orarr 021BB -ord 02A5D -order 02134 -orderof 02134 -ordf 000AA -ordm 000BA -origof 022B6 -oror 02A56 -orslope 02A57 -orv 02A5B -oscr 02134 -oslash 000F8 -osol 02298 -otilde 000F5 -otimes 02297 -otimesas 02A36 -ouml 000F6 -ovbar 0233D -par 02225 -para 000B6 -parallel 02225 -parsim 02AF3 -parsl 02AFD -part 02202 -pcy 0043F -percnt 00025 -period 0002E -permil 02030 -perp 022A5 -pertenk 02031 -pfr 1D52D -phi 003C6 -phiv 003D5 -phmmat 02133 -phone 0260E -pi 003C0 -pitchfork 022D4 -piv 003D6 -planck 0210F -planckh 0210E -plankv 0210F -plus 0002B -plusacir 02A23 -plusb 0229E -pluscir 02A22 -plusdo 02214 -plusdu 02A25 -pluse 02A72 -plusmn 000B1 -plussim 02A26 -plustwo 02A27 -pm 000B1 -pointint 02A15 -popf 1D561 -pound 000A3 -pr 0227A -prE 02AB3 -prap 02AB7 -prcue 0227C -pre 02AAF -prec 0227A -precapprox 02AB7 -preccurlyeq 0227C -preceq 02AAF -precnapprox 02AB9 -precneqq 02AB5 -precnsim 022E8 -precsim 0227E -prime 02032 -primes 02119 -prnE 02AB5 -prnap 02AB9 -prnsim 022E8 -prod 0220F -profalar 0232E -profline 02312 -profsurf 02313 -prop 0221D -propto 0221D -prsim 0227E -prurel 022B0 -pscr 1D4C5 -psi 003C8 -puncsp 02008 -qfr 1D52E -qint 02A0C -qopf 1D562 -qprime 02057 -qscr 1D4C6 -quaternions 0210D -quatint 02A16 -quest 0003F -questeq 0225F -quot 00022 -rAarr 021DB -rArr 021D2 -rAtail 0291C -rBarr 0290F -rHar 02964 +nwArr 021D6 +nwarhk 02923 +nwarr 02196 +nwarrow 02196 +nwnear 02927 +oS 024C8 +oacute 000F3 +oast 0229B +ocir 0229A +ocirc 000F4 +ocy 0043E +odash 0229D +odblac 00151 +odiv 02A38 +odot 02299 +odsold 029BC +oelig 00153 +ofcir 029BF +ofr 1D52C +ogon 002DB +ograve 000F2 +ogt 029C1 +ohbar 029B5 +ohm 003A9 +oint 0222E +olarr 021BA +olcir 029BE +olcross 029BB +oline 0203E +olt 029C0 +omacr 0014D +omega 003C9 +omicron 003BF +omid 029B6 +ominus 02296 +oopf 1D560 +opar 029B7 +operp 029B9 +oplus 02295 +or 02228 +orarr 021BB +ord 02A5D +order 02134 +orderof 02134 +ordf 000AA +ordm 000BA +origof 022B6 +oror 02A56 +orslope 02A57 +orv 02A5B +oscr 02134 +oslash 000F8 +osol 02298 +otilde 000F5 +otimes 02297 +otimesas 02A36 +ouml 000F6 +ovbar 0233D +par 02225 +para 000B6 +parallel 02225 +parsim 02AF3 +parsl 02AFD +part 02202 +pcy 0043F +percnt 00025 +period 0002E +permil 02030 +perp 022A5 +pertenk 02031 +pfr 1D52D +phi 003C6 +phiv 003D5 +phmmat 02133 +phone 0260E +pi 003C0 +pitchfork 022D4 +piv 003D6 +planck 0210F +planckh 0210E +plankv 0210F +plus 0002B +plusacir 02A23 +plusb 0229E +pluscir 02A22 +plusdo 02214 +plusdu 02A25 +pluse 02A72 +plusmn 000B1 +plussim 02A26 +plustwo 02A27 +pm 000B1 +pointint 02A15 +popf 1D561 +pound 000A3 +pr 0227A +prE 02AB3 +prap 02AB7 +prcue 0227C +pre 02AAF +prec 0227A +precapprox 02AB7 +preccurlyeq 0227C +preceq 02AAF +precnapprox 02AB9 +precneqq 02AB5 +precnsim 022E8 +precsim 0227E +prime 02032 +primes 02119 +prnE 02AB5 +prnap 02AB9 +prnsim 022E8 +prod 0220F +profalar 0232E +profline 02312 +profsurf 02313 +prop 0221D +propto 0221D +prsim 0227E +prurel 022B0 +pscr 1D4C5 +psi 003C8 +puncsp 02008 +qfr 1D52E +qint 02A0C +qopf 1D562 +qprime 02057 +qscr 1D4C6 +quaternions 0210D +quatint 02A16 +quest 0003F +questeq 0225F +quot 00022 +rAarr 021DB +rArr 021D2 +rAtail 0291C +rBarr 0290F +rHar 02964 race 0223D 00331 -racute 00155 -radic 0221A -raemptyv 029B3 -rang 027E9 -rangd 02992 -range 029A5 -rangle 027E9 -raquo 000BB -rarr 02192 -rarrap 02975 -rarrb 021E5 -rarrbfs 02920 -rarrc 02933 -rarrfs 0291E -rarrhk 021AA -rarrlp 021AC -rarrpl 02945 -rarrsim 02974 -rarrtl 021A3 -rarrw 0219D -ratail 0291A -ratio 02236 -rationals 0211A -rbarr 0290D -rbbrk 02773 -rbrace 0007D -rbrack 0005D -rbrke 0298C -rbrksld 0298E -rbrkslu 02990 -rcaron 00159 -rcedil 00157 -rceil 02309 -rcub 0007D -rcy 00440 -rdca 02937 -rdldhar 02969 -rdquo 0201D -rdquor 0201D -rdsh 021B3 -real 0211C -realine 0211B -realpart 0211C -reals 0211D -rect 025AD -reg 000AE -rfisht 0297D -rfloor 0230B -rfr 1D52F -rhard 021C1 -rharu 021C0 -rharul 0296C -rho 003C1 -rhov 003F1 -rightarrow 02192 -rightarrowtail 021A3 -rightharpoondown 021C1 -rightharpoonup 021C0 -rightleftarrows 021C4 -rightleftharpoons 021CC -rightrightarrows 021C9 -rightsquigarrow 0219D -rightthreetimes 022CC -ring 002DA -risingdotseq 02253 -rlarr 021C4 -rlhar 021CC -rlm 0200F -rmoust 023B1 -rmoustache 023B1 -rnmid 02AEE -roang 027ED -roarr 021FE -robrk 027E7 -ropar 02986 -ropf 1D563 -roplus 02A2E -rotimes 02A35 -rpar 00029 -rpargt 02994 -rppolint 02A12 -rrarr 021C9 -rsaquo 0203A -rscr 1D4C7 -rsh 021B1 -rsqb 0005D -rsquo 02019 -rsquor 02019 -rthree 022CC -rtimes 022CA -rtri 025B9 -rtrie 022B5 -rtrif 025B8 -rtriltri 029CE -ruluhar 02968 -rx 0211E -sacute 0015B -sbquo 0201A -sc 0227B -scE 02AB4 -scap 02AB8 -scaron 00161 -sccue 0227D -sce 02AB0 -scedil 0015F -scirc 0015D -scnE 02AB6 -scnap 02ABA -scnsim 022E9 -scpolint 02A13 -scsim 0227F -scy 00441 -sdot 022C5 -sdotb 022A1 -sdote 02A66 -seArr 021D8 -searhk 02925 -searr 02198 -searrow 02198 -sect 000A7 -semi 0003B -seswar 02929 -setminus 02216 -setmn 02216 -sext 02736 -sfr 1D530 -sfrown 02322 -sharp 0266F -shchcy 00449 -shcy 00448 -shortmid 02223 -shortparallel 02225 -shy 000AD -sigma 003C3 -sigmaf 003C2 -sigmav 003C2 -sim 0223C -simdot 02A6A -sime 02243 -simeq 02243 -simg 02A9E -simgE 02AA0 -siml 02A9D -simlE 02A9F -simne 02246 -simplus 02A24 -simrarr 02972 -slarr 02190 -smallsetminus 02216 -smashp 02A33 -smeparsl 029E4 -smid 02223 -smile 02323 -smt 02AAA -smte 02AAC +racute 00155 +radic 0221A +raemptyv 029B3 +rang 027E9 +rangd 02992 +range 029A5 +rangle 027E9 +raquo 000BB +rarr 02192 +rarrap 02975 +rarrb 021E5 +rarrbfs 02920 +rarrc 02933 +rarrfs 0291E +rarrhk 021AA +rarrlp 021AC +rarrpl 02945 +rarrsim 02974 +rarrtl 021A3 +rarrw 0219D +ratail 0291A +ratio 02236 +rationals 0211A +rbarr 0290D +rbbrk 02773 +rbrace 0007D +rbrack 0005D +rbrke 0298C +rbrksld 0298E +rbrkslu 02990 +rcaron 00159 +rcedil 00157 +rceil 02309 +rcub 0007D +rcy 00440 +rdca 02937 +rdldhar 02969 +rdquo 0201D +rdquor 0201D +rdsh 021B3 +real 0211C +realine 0211B +realpart 0211C +reals 0211D +rect 025AD +reg 000AE +rfisht 0297D +rfloor 0230B +rfr 1D52F +rhard 021C1 +rharu 021C0 +rharul 0296C +rho 003C1 +rhov 003F1 +rightarrow 02192 +rightarrowtail 021A3 +rightharpoondown 021C1 +rightharpoonup 021C0 +rightleftarrows 021C4 +rightleftharpoons 021CC +rightrightarrows 021C9 +rightsquigarrow 0219D +rightthreetimes 022CC +ring 002DA +risingdotseq 02253 +rlarr 021C4 +rlhar 021CC +rlm 0200F +rmoust 023B1 +rmoustache 023B1 +rnmid 02AEE +roang 027ED +roarr 021FE +robrk 027E7 +ropar 02986 +ropf 1D563 +roplus 02A2E +rotimes 02A35 +rpar 00029 +rpargt 02994 +rppolint 02A12 +rrarr 021C9 +rsaquo 0203A +rscr 1D4C7 +rsh 021B1 +rsqb 0005D +rsquo 02019 +rsquor 02019 +rthree 022CC +rtimes 022CA +rtri 025B9 +rtrie 022B5 +rtrif 025B8 +rtriltri 029CE +ruluhar 02968 +rx 0211E +sacute 0015B +sbquo 0201A +sc 0227B +scE 02AB4 +scap 02AB8 +scaron 00161 +sccue 0227D +sce 02AB0 +scedil 0015F +scirc 0015D +scnE 02AB6 +scnap 02ABA +scnsim 022E9 +scpolint 02A13 +scsim 0227F +scy 00441 +sdot 022C5 +sdotb 022A1 +sdote 02A66 +seArr 021D8 +searhk 02925 +searr 02198 +searrow 02198 +sect 000A7 +semi 0003B +seswar 02929 +setminus 02216 +setmn 02216 +sext 02736 +sfr 1D530 +sfrown 02322 +sharp 0266F +shchcy 00449 +shcy 00448 +shortmid 02223 +shortparallel 02225 +shy 000AD +sigma 003C3 +sigmaf 003C2 +sigmav 003C2 +sim 0223C +simdot 02A6A +sime 02243 +simeq 02243 +simg 02A9E +simgE 02AA0 +siml 02A9D +simlE 02A9F +simne 02246 +simplus 02A24 +simrarr 02972 +slarr 02190 +smallsetminus 02216 +smashp 02A33 +smeparsl 029E4 +smid 02223 +smile 02323 +smt 02AAA +smte 02AAC smtes 02AAC 0FE00 -softcy 0044C -sol 0002F -solb 029C4 -solbar 0233F -sopf 1D564 -spades 02660 -spadesuit 02660 -spar 02225 -sqcap 02293 +softcy 0044C +sol 0002F +solb 029C4 +solbar 0233F +sopf 1D564 +spades 02660 +spadesuit 02660 +spar 02225 +sqcap 02293 sqcaps 02293 0FE00 -sqcup 02294 +sqcup 02294 sqcups 02294 0FE00 -sqsub 0228F -sqsube 02291 -sqsubset 0228F -sqsubseteq 02291 -sqsup 02290 -sqsupe 02292 -sqsupset 02290 -sqsupseteq 02292 -squ 025A1 -square 025A1 -squarf 025AA -squf 025AA -srarr 02192 -sscr 1D4C8 -ssetmn 02216 -ssmile 02323 -sstarf 022C6 -star 02606 -starf 02605 -straightepsilon 003F5 -straightphi 003D5 -strns 000AF -sub 02282 -subE 02AC5 -subdot 02ABD -sube 02286 -subedot 02AC3 -submult 02AC1 -subnE 02ACB -subne 0228A -subplus 02ABF -subrarr 02979 -subset 02282 -subseteq 02286 -subseteqq 02AC5 -subsetneq 0228A -subsetneqq 02ACB -subsim 02AC7 -subsub 02AD5 -subsup 02AD3 -succ 0227B -succapprox 02AB8 -succcurlyeq 0227D -succeq 02AB0 -succnapprox 02ABA -succneqq 02AB6 -succnsim 022E9 -succsim 0227F -sum 02211 -sung 0266A -sup 02283 -sup1 000B9 -sup2 000B2 -sup3 000B3 -supE 02AC6 -supdot 02ABE -supdsub 02AD8 -supe 02287 -supedot 02AC4 -suphsol 027C9 -suphsub 02AD7 -suplarr 0297B -supmult 02AC2 -supnE 02ACC -supne 0228B -supplus 02AC0 -supset 02283 -supseteq 02287 -supseteqq 02AC6 -supsetneq 0228B -supsetneqq 02ACC -supsim 02AC8 -supsub 02AD4 -supsup 02AD6 -swArr 021D9 -swarhk 02926 -swarr 02199 -swarrow 02199 -swnwar 0292A -szlig 000DF -target 02316 -tau 003C4 -tbrk 023B4 -tcaron 00165 -tcedil 00163 -tcy 00442 -tdot 020DB -telrec 02315 -tfr 1D531 -there4 02234 -therefore 02234 -theta 003B8 -thetasym 003D1 -thetav 003D1 -thickapprox 02248 -thicksim 0223C -thinsp 02009 -thkap 02248 -thksim 0223C -thorn 000FE -tilde 002DC -times 000D7 -timesb 022A0 -timesbar 02A31 -timesd 02A30 -tint 0222D -toea 02928 -top 022A4 -topbot 02336 -topcir 02AF1 -topf 1D565 -topfork 02ADA -tosa 02929 -tprime 02034 -trade 02122 -triangle 025B5 -triangledown 025BF -triangleleft 025C3 -trianglelefteq 022B4 -triangleq 0225C -triangleright 025B9 -trianglerighteq 022B5 -tridot 025EC -trie 0225C -triminus 02A3A -triplus 02A39 -trisb 029CD -tritime 02A3B -trpezium 023E2 -tscr 1D4C9 -tscy 00446 -tshcy 0045B -tstrok 00167 -twixt 0226C -twoheadleftarrow 0219E -twoheadrightarrow 021A0 -uArr 021D1 -uHar 02963 -uacute 000FA -uarr 02191 -ubrcy 0045E -ubreve 0016D -ucirc 000FB -ucy 00443 -udarr 021C5 -udblac 00171 -udhar 0296E -ufisht 0297E -ufr 1D532 -ugrave 000F9 -uharl 021BF -uharr 021BE -uhblk 02580 -ulcorn 0231C -ulcorner 0231C -ulcrop 0230F -ultri 025F8 -umacr 0016B -uml 000A8 -uogon 00173 -uopf 1D566 -uparrow 02191 -updownarrow 02195 -upharpoonleft 021BF -upharpoonright 021BE -uplus 0228E -upsi 003C5 -upsih 003D2 -upsilon 003C5 -upuparrows 021C8 -urcorn 0231D -urcorner 0231D -urcrop 0230E -uring 0016F -urtri 025F9 -uscr 1D4CA -utdot 022F0 -utilde 00169 -utri 025B5 -utrif 025B4 -uuarr 021C8 -uuml 000FC -uwangle 029A7 -vArr 021D5 -vBar 02AE8 -vBarv 02AE9 -vDash 022A8 -vangrt 0299C -varepsilon 003F5 -varkappa 003F0 -varnothing 02205 -varphi 003D5 -varpi 003D6 -varpropto 0221D -varr 02195 -varrho 003F1 -varsigma 003C2 +sqsub 0228F +sqsube 02291 +sqsubset 0228F +sqsubseteq 02291 +sqsup 02290 +sqsupe 02292 +sqsupset 02290 +sqsupseteq 02292 +squ 025A1 +square 025A1 +squarf 025AA +squf 025AA +srarr 02192 +sscr 1D4C8 +ssetmn 02216 +ssmile 02323 +sstarf 022C6 +star 02606 +starf 02605 +straightepsilon 003F5 +straightphi 003D5 +strns 000AF +sub 02282 +subE 02AC5 +subdot 02ABD +sube 02286 +subedot 02AC3 +submult 02AC1 +subnE 02ACB +subne 0228A +subplus 02ABF +subrarr 02979 +subset 02282 +subseteq 02286 +subseteqq 02AC5 +subsetneq 0228A +subsetneqq 02ACB +subsim 02AC7 +subsub 02AD5 +subsup 02AD3 +succ 0227B +succapprox 02AB8 +succcurlyeq 0227D +succeq 02AB0 +succnapprox 02ABA +succneqq 02AB6 +succnsim 022E9 +succsim 0227F +sum 02211 +sung 0266A +sup 02283 +sup1 000B9 +sup2 000B2 +sup3 000B3 +supE 02AC6 +supdot 02ABE +supdsub 02AD8 +supe 02287 +supedot 02AC4 +suphsol 027C9 +suphsub 02AD7 +suplarr 0297B +supmult 02AC2 +supnE 02ACC +supne 0228B +supplus 02AC0 +supset 02283 +supseteq 02287 +supseteqq 02AC6 +supsetneq 0228B +supsetneqq 02ACC +supsim 02AC8 +supsub 02AD4 +supsup 02AD6 +swArr 021D9 +swarhk 02926 +swarr 02199 +swarrow 02199 +swnwar 0292A +szlig 000DF +target 02316 +tau 003C4 +tbrk 023B4 +tcaron 00165 +tcedil 00163 +tcy 00442 +tdot 020DB +telrec 02315 +tfr 1D531 +there4 02234 +therefore 02234 +theta 003B8 +thetasym 003D1 +thetav 003D1 +thickapprox 02248 +thicksim 0223C +thinsp 02009 +thkap 02248 +thksim 0223C +thorn 000FE +tilde 002DC +times 000D7 +timesb 022A0 +timesbar 02A31 +timesd 02A30 +tint 0222D +toea 02928 +top 022A4 +topbot 02336 +topcir 02AF1 +topf 1D565 +topfork 02ADA +tosa 02929 +tprime 02034 +trade 02122 +triangle 025B5 +triangledown 025BF +triangleleft 025C3 +trianglelefteq 022B4 +triangleq 0225C +triangleright 025B9 +trianglerighteq 022B5 +tridot 025EC +trie 0225C +triminus 02A3A +triplus 02A39 +trisb 029CD +tritime 02A3B +trpezium 023E2 +tscr 1D4C9 +tscy 00446 +tshcy 0045B +tstrok 00167 +twixt 0226C +twoheadleftarrow 0219E +twoheadrightarrow 021A0 +uArr 021D1 +uHar 02963 +uacute 000FA +uarr 02191 +ubrcy 0045E +ubreve 0016D +ucirc 000FB +ucy 00443 +udarr 021C5 +udblac 00171 +udhar 0296E +ufisht 0297E +ufr 1D532 +ugrave 000F9 +uharl 021BF +uharr 021BE +uhblk 02580 +ulcorn 0231C +ulcorner 0231C +ulcrop 0230F +ultri 025F8 +umacr 0016B +uml 000A8 +uogon 00173 +uopf 1D566 +uparrow 02191 +updownarrow 02195 +upharpoonleft 021BF +upharpoonright 021BE +uplus 0228E +upsi 003C5 +upsih 003D2 +upsilon 003C5 +upuparrows 021C8 +urcorn 0231D +urcorner 0231D +urcrop 0230E +uring 0016F +urtri 025F9 +uscr 1D4CA +utdot 022F0 +utilde 00169 +utri 025B5 +utrif 025B4 +uuarr 021C8 +uuml 000FC +uwangle 029A7 +vArr 021D5 +vBar 02AE8 +vBarv 02AE9 +vDash 022A8 +vangrt 0299C +varepsilon 003F5 +varkappa 003F0 +varnothing 02205 +varphi 003D5 +varpi 003D6 +varpropto 0221D +varr 02195 +varrho 003F1 +varsigma 003C2 varsubsetneq 0228A 0FE00 varsubsetneqq 02ACB 0FE00 varsupsetneq 0228B 0FE00 varsupsetneqq 02ACC 0FE00 -vartheta 003D1 -vartriangleleft 022B2 -vartriangleright 022B3 -vcy 00432 -vdash 022A2 -vee 02228 -veebar 022BB -veeeq 0225A -vellip 022EE -verbar 0007C -vert 0007C -vfr 1D533 -vltri 022B2 +vartheta 003D1 +vartriangleleft 022B2 +vartriangleright 022B3 +vcy 00432 +vdash 022A2 +vee 02228 +veebar 022BB +veeeq 0225A +vellip 022EE +verbar 0007C +vert 0007C +vfr 1D533 +vltri 022B2 vnsub 02282 020D2 vnsup 02283 020D2 -vopf 1D567 -vprop 0221D -vrtri 022B3 -vscr 1D4CB +vopf 1D567 +vprop 0221D +vrtri 022B3 +vscr 1D4CB vsubnE 02ACB 0FE00 vsubne 0228A 0FE00 vsupnE 02ACC 0FE00 vsupne 0228B 0FE00 -vzigzag 0299A -wcirc 00175 -wedbar 02A5F -wedge 02227 -wedgeq 02259 -weierp 02118 -wfr 1D534 -wopf 1D568 -wp 02118 -wr 02240 -wreath 02240 -wscr 1D4CC -xcap 022C2 -xcirc 025EF -xcup 022C3 -xdtri 025BD -xfr 1D535 -xhArr 027FA -xharr 027F7 -xi 003BE -xlArr 027F8 -xlarr 027F5 -xmap 027FC -xnis 022FB -xodot 02A00 -xopf 1D569 -xoplus 02A01 -xotime 02A02 -xrArr 027F9 -xrarr 027F6 -xscr 1D4CD -xsqcup 02A06 -xuplus 02A04 -xutri 025B3 -xvee 022C1 -xwedge 022C0 -yacute 000FD -yacy 0044F -ycirc 00177 -ycy 0044B -yen 000A5 -yfr 1D536 -yicy 00457 -yopf 1D56A -yscr 1D4CE -yucy 0044E -yuml 000FF -zacute 0017A -zcaron 0017E -zcy 00437 -zdot 0017C -zeetrf 02128 -zeta 003B6 -zfr 1D537 -zhcy 00436 -zigrarr 021DD -zopf 1D56B -zscr 1D4CF -zwj 0200D -zwnj 0200C
\ No newline at end of file +vzigzag 0299A +wcirc 00175 +wedbar 02A5F +wedge 02227 +wedgeq 02259 +weierp 02118 +wfr 1D534 +wopf 1D568 +wp 02118 +wr 02240 +wreath 02240 +wscr 1D4CC +xcap 022C2 +xcirc 025EF +xcup 022C3 +xdtri 025BD +xfr 1D535 +xhArr 027FA +xharr 027F7 +xi 003BE +xlArr 027F8 +xlarr 027F5 +xmap 027FC +xnis 022FB +xodot 02A00 +xopf 1D569 +xoplus 02A01 +xotime 02A02 +xrArr 027F9 +xrarr 027F6 +xscr 1D4CD +xsqcup 02A06 +xuplus 02A04 +xutri 025B3 +xvee 022C1 +xwedge 022C0 +yacute 000FD +yacy 0044F +ycirc 00177 +ycy 0044B +yen 000A5 +yfr 1D536 +yicy 00457 +yopf 1D56A +yscr 1D4CE +yucy 0044E +yuml 000FF +zacute 0017A +zcaron 0017E +zcy 00437 +zdot 0017C +zeetrf 02128 +zeta 003B6 +zfr 1D537 +zhcy 00436 +zigrarr 021DD +zopf 1D56B +zscr 1D4CF +zwj 0200D +zwnj 0200C
\ No newline at end of file diff --git a/ext/standard/html_tables/html_table_gen.php b/ext/standard/html_tables/html_table_gen.php index 23853b5750..530f93c184 100644 --- a/ext/standard/html_tables/html_table_gen.php +++ b/ext/standard/html_tables/html_table_gen.php @@ -190,10 +190,10 @@ foreach ($encodings as $e) { if (preg_match("/^0x([0-9A-Z]{2})\t0x([0-9A-Z]{2,})/i", $l, $matches)) $map[] = array($matches[1], $matches[2]); } - + $mappy = array(); foreach ($map as $v) { $mappy[hexdec($v[0])] = hexdec($v[1]); } - + $mstable = array("ident" => $e['ident']); /* calculate two-stage tables */ for ($i = 0; $i < 4; $i++) { @@ -202,7 +202,7 @@ foreach ($encodings as $e) { $mstable[$i][$j] = isset($mappy[$cp]) ? $mappy[$cp] : NULL; } } - + echo "/* {{{ Stage 2 tables for {$e['name']} */\n\n"; @@ -212,9 +212,9 @@ foreach ($encodings as $e) { $s2tables_idents[$i] = $encodings[$t[0]/5]["ident"]; continue; } - + $s2tables_idents[$i] = $e["ident"]; - + echo "static const enc_to_uni_stage2 enc_to_uni_s2_{$e['ident']}_". sprintf("%02X", $i << 6)." = { {\n"; for ($j = 0; $j < 64; $j++) { @@ -227,10 +227,10 @@ foreach ($encodings as $e) { echo "0xFFFF,"; /* special value; indicates no mapping */ } echo "\n} };\n\n"; - + $prevStage2[] = $mstable[$i]; } - + echo "/* end of stage 2 tables for {$e['name']} }}} */\n\n"; @@ -333,23 +333,23 @@ foreach ($encodings as $e) { if (preg_match("/^0x([0-9A-Z]{2})\t0x([0-9A-Z]{2,})\s+#\s*(.*)$/i", $l, $matches)) $map[] = array($matches[1], $matches[2], rtrim($matches[3])); } - + $mappy = array(); foreach ($map as $v) { if (hexdec($v[0]) >= $e['range'][0] && hexdec($v[0]) <= $e['range'][1]) $mappy[hexdec($v[1])] = array(hexdec($v[0]), strtolower($v[2])); } ksort($mappy); - + echo "static const uni_to_enc unimap_{$e['ident']}[] = {\n"; - + foreach ($mappy as $k => $v) { echo "\t{ ", sprintf("0x%04X", $k), ", ", sprintf("0x%02X", $v[0]), " },\t/* ", $v[1], " */\n"; } echo "};\n"; - + echo "/* {{{ end of mappings *from* Unicode for {$e['name']} */\n\n"; } @@ -476,7 +476,7 @@ foreach ($multicp_rows as $k => $v) { $v['default'] = "gt"; echo "\t{ {", sprintf("\"%-21s", $v["default"].'",'), "\t", sprintf("%02d", (count($v) - 1)), ",\t\t", - sprintf("% 2d", strlen($v["default"])), '} },', "\n"; + sprintf("% 2d", strlen($v["default"])), '} },', "\n"; } else { echo "\t{ {", sprintf("%-22s", 'NULL,'), "\t", sprintf("%02d", count($v)), ",\t\t0} },\n"; @@ -484,7 +484,7 @@ foreach ($multicp_rows as $k => $v) { unset($v["default"]); foreach ($v as $l => $w) { echo "\t{ {", sprintf("\"%-21s", $w.'",'), "\t", sprintf("0x%05s", $l), ",\t", - sprintf("% 2d", strlen($w)), '} },', "\n"; + sprintf("% 2d", strlen($w)), '} },', "\n"; } echo "};\n"; } @@ -561,7 +561,7 @@ for ($i = 0; $i < 0x1E; $i++) { else echo "{1, { {(void *)", sprintf("multi_cp_{$ident}_%05X", ($i << 12) | ($k << 6) | $y ), ", 0} } },"; - + } echo "\n};\n\n"; } @@ -685,7 +685,7 @@ echo // die("violated assumption for traverse_for_entities"); // } // } -// +// // $k++; //} //echo "\n};\n\n"; diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index ff49128de9..30bee8bb0e 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -756,7 +756,7 @@ finish: while (!php_stream_eof(stream)) { size_t http_header_line_length; - + if (php_stream_get_line(stream, http_header_line, HTTP_HEADER_BLOCK_SIZE, &http_header_line_length) && *http_header_line != '\n' && *http_header_line != '\r') { char *e = http_header_line + http_header_line_length - 1; char *http_header_value; diff --git a/ext/standard/image.c b/ext/standard/image.c index 395063abb7..1d999ca1b9 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -1344,7 +1344,7 @@ PHPAPI int php_getimagetype(php_stream * stream, char *filetype) /* WBMP may be smaller than 12 bytes, so delay error */ twelve_bytes_read = (php_stream_read(stream, filetype+4, 8) == 8); - + /* BYTES READ: 12 */ if (twelve_bytes_read && !memcmp(filetype, php_sig_jp2, 12)) { return IMAGE_FILETYPE_JP2; diff --git a/ext/standard/info.c b/ext/standard/info.c index 3a79312f05..15aec29ae4 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -337,8 +337,8 @@ char* php_get_windows_name() /* could be Windows 8/Windows Server 2012, could be Windows 8.1/Windows Server 2012 R2 */ /* XXX and one more X - the above comment is true if no manifest is used for two cases: - if the PHP build doesn't use the correct manifest - - if PHP DLL loaded under some binary that doesn't use the correct manifest - + - if PHP DLL loaded under some binary that doesn't use the correct manifest + So keep the handling here as is for now, even if we know 6.2 is win8 and nothing else, and think about an improvement. */ OSVERSIONINFOEX osvi81; DWORDLONG dwlConditionMask = 0; diff --git a/ext/standard/mail.c b/ext/standard/mail.c index ed9af20c14..735ea249a4 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -302,14 +302,14 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char time_t curtime; zend_string *date_str; size_t len; - - + + time(&curtime); date_str = php_format_date("d-M-Y H:i:s e", 13, curtime, 1); len = spprintf(&tmp, 0, "[%s] %s%s", date_str->val, logline, PHP_EOL); - + php_mail_log_to_file(mail_log, tmp, len); - + zend_string_free(date_str); efree(tmp); } diff --git a/ext/standard/mt_rand.c b/ext/standard/mt_rand.c index 3d02c48d67..e08e61fc84 100644 --- a/ext/standard/mt_rand.c +++ b/ext/standard/mt_rand.c @@ -204,7 +204,7 @@ PHP_FUNCTION(mt_srand) default: BG(mt_rand_mode) = MT_RAND_MT19937; } - + php_mt_srand(seed); } /* }}} */ diff --git a/ext/standard/pack.c b/ext/standard/pack.c index 93de49d3a1..f71ef64181 100644 --- a/ext/standard/pack.c +++ b/ext/standard/pack.c @@ -606,7 +606,7 @@ PHP_FUNCTION(pack) } break; } - + case 'g': { /* pack little endian float */ while (arg-- > 0) { @@ -614,7 +614,7 @@ PHP_FUNCTION(pack) php_pack_copy_float(1, &ZSTR_VAL(output)[outputpos], v); outputpos += sizeof(v); } - + break; } case 'G': { @@ -635,7 +635,7 @@ PHP_FUNCTION(pack) } break; } - + case 'e': { /* pack little endian double */ while (arg-- > 0) { @@ -645,7 +645,7 @@ PHP_FUNCTION(pack) } break; } - + case 'E': { /* pack big endian double */ while (arg-- > 0) { @@ -1124,7 +1124,7 @@ PHP_FUNCTION(unpack) } #endif - case 'f': /* float */ + case 'f': /* float */ case 'g': /* little endian float*/ case 'G': /* big endian float*/ { @@ -1137,15 +1137,15 @@ PHP_FUNCTION(unpack) } else { memcpy(&v, &input[inputpos], sizeof(float)); } - + add_assoc_double(return_value, n, (double)v); break; } - + case 'd': /* double */ case 'e': /* little endian float */ - case 'E': /* big endian float */ + case 'E': /* big endian float */ { double v; if (type == 'e') { diff --git a/ext/standard/php_math.h b/ext/standard/php_math.h index e6450458ca..6c2237787f 100644 --- a/ext/standard/php_math.h +++ b/ext/standard/php_math.h @@ -1,4 +1,4 @@ -/* +/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ @@ -68,7 +68,7 @@ PHP_FUNCTION(rad2deg); PHP_FUNCTION(intdiv); /* - WARNING: these functions are expermental: they could change their names or + WARNING: these functions are expermental: they could change their names or disappear in the next version of PHP! */ PHP_FUNCTION(hypot); diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index 9ac594211d..136443682c 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -1,4 +1,4 @@ -/* +/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ @@ -138,8 +138,8 @@ PHPAPI size_t php_strip_tags_ex(char *rbuf, size_t len, int *stateptr, const cha PHPAPI void php_implode(const zend_string *delim, zval *arr, zval *return_value); PHPAPI void php_explode(const zend_string *delim, zend_string *str, zval *return_value, zend_long limit); -PHPAPI size_t php_strspn(char *s1, char *s2, char *s1_end, char *s2_end); -PHPAPI size_t php_strcspn(char *s1, char *s2, char *s1_end, char *s2_end); +PHPAPI size_t php_strspn(char *s1, char *s2, char *s1_end, char *s2_end); +PHPAPI size_t php_strcspn(char *s1, char *s2, char *s1_end, char *s2_end); PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive); PHPAPI int string_natural_compare_function(zval *result, zval *op1, zval *op2); diff --git a/ext/standard/php_versioning.h b/ext/standard/php_versioning.h index d14f3e0d5e..00887aa717 100644 --- a/ext/standard/php_versioning.h +++ b/ext/standard/php_versioning.h @@ -1,4 +1,4 @@ -/* +/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index fecbc6fe65..94012635ef 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -44,7 +44,7 @@ PHP_MINIT_FUNCTION(syslog) REGISTER_LONG_CONSTANT("LOG_EMERG", LOG_EMERG, CONST_CS | CONST_PERSISTENT); /* system unusable */ REGISTER_LONG_CONSTANT("LOG_ALERT", LOG_ALERT, CONST_CS | CONST_PERSISTENT); /* immediate action required */ REGISTER_LONG_CONSTANT("LOG_CRIT", LOG_CRIT, CONST_CS | CONST_PERSISTENT); /* critical conditions */ - REGISTER_LONG_CONSTANT("LOG_ERR", LOG_ERR, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("LOG_ERR", LOG_ERR, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("LOG_WARNING", LOG_WARNING, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("LOG_NOTICE", LOG_NOTICE, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("LOG_INFO", LOG_INFO, CONST_CS | CONST_PERSISTENT); diff --git a/ext/standard/tests/array/data.inc b/ext/standard/tests/array/data.inc index 2991274be8..bbc8d43c23 100644 --- a/ext/standard/tests/array/data.inc +++ b/ext/standard/tests/array/data.inc @@ -1,6 +1,6 @@ <?php $tmp = pow(2,24); -$data = array( +$data = array( 'PHP', 17=>'PHP: Hypertext Preprocessor', 5=>'Test', diff --git a/ext/standard/tests/class_object/AutoTest.inc b/ext/standard/tests/class_object/AutoTest.inc index 0627096fff..a0c8244265 100644 --- a/ext/standard/tests/class_object/AutoTest.inc +++ b/ext/standard/tests/class_object/AutoTest.inc @@ -2,12 +2,12 @@ class autoTest { public static $bob = "bob"; - + public function __get($name) { echo "attempt to access $name\n"; return "foo"; } - + } ?>
\ No newline at end of file diff --git a/ext/standard/tests/file/file.inc b/ext/standard/tests/file/file.inc index aff9d107d9..afee2d20ce 100644 --- a/ext/standard/tests/file/file.inc +++ b/ext/standard/tests/file/file.inc @@ -1,29 +1,29 @@ <?php -/* Header file for common file test functions +/* Header file for common file test functions Following functions are provided : - create_files() : create files with specified contents + create_files() : create files with specified contents delete_files() : delete files create_links() : crate links of different types - delete_links() : delete links - fill_files() : fill file with specified contents - change_file_perms() : Change permission of files + delete_links() : delete links + fill_files() : fill file with specified contents + change_file_perms() : Change permission of files fill_buffer() : fills buffer with specified contents - compare_self_stat() : compares the first 13 elements of the + compare_self_stat() : compares the first 13 elements of the stat with the corresponding named key values of the same stat. compare_stats() : Compares two stat values -*/ +*/ define('file_not_found', 2, 1); -/* +/* Function: bool create_file(string $filename, string $mode = "w"); - Description: creates a new file using fopen() call - $filename = Name of the file + Description: creates a new file using fopen() call + $filename = Name of the file $mode = Mode as specified in fopen call, read documentation of fopen() call for more info - Returns: + Returns: true on success, false otherwise */ function create_file($filename, $mode = "w") { @@ -83,23 +83,23 @@ function fill_buffer(&$buffer, $fill_type, $fill_size) { Function : bool fill_file(resource $file_handle, string $fill_type, string $file_size); Description: Fills the file with data as specified with requested size. $file_handle = file handle, opened with write options, - $fill_type: + $fill_type: "text" = fills with string of size $file_size "numeric" = fills with numeric value of size $file_size "empty" = no fill operation performed, returns true "text_with_new_line" = similar to "text" fill type but writes with new line - "alphanumeric" = fills with alphnumeric values + "alphanumeric" = fills with alphnumeric values Returns: true on success, false on failure & invalid fill type */ function fill_file($file_handle, $fill_type, $file_size) { - + if ( $fill_type == "empty" ) { // no fill required, return true return true; } if ( $fill_type == "text" ) { $data = "text "; - $size_divider = strlen($data); + $size_divider = strlen($data); $add_value = strlen($data); } else if ( $fill_type == "text_with_new_line" ) { $data = "line\nline of text\n"; @@ -113,7 +113,7 @@ function fill_file($file_handle, $fill_type, $file_size) { $data = 2; $size_divider = 1; $add_value = 0; - } else { + } else { // invalid fill type; return false; } @@ -124,7 +124,7 @@ function fill_file($file_handle, $fill_type, $file_size) { if ( $size > $chunk_size ) { $loop_count = 1; do { - $loop_count ++; + $loop_count ++; if ( $size <= $chunk_size ) { $chunk_size = $size; } @@ -142,14 +142,14 @@ function fill_file($file_handle, $fill_type, $file_size) { return false; } } - + // successful, return true return true; } /* - Function: int change_file_perms(string $file_path, int $count = 1, int $perms = 0755, - string $name_prefix = "file", + Function: int change_file_perms(string $file_path, int $count = 1, int $perms = 0755, + string $name_prefix = "file", string $name_suffix = 1, $file_extension = ".tmp"); Description: changes file permission for given file(s). $file_path = dir path where file exists @@ -157,21 +157,21 @@ function fill_file($file_handle, $fill_type, $file_size) { $perms = new permission of the file, similar to $mode args of chmod() call $name_prefix = common name prefix, default is "file" $name_suffix = suffix to end the common name given in name_prefix to create - a unique name. default is 1. + a unique name. default is 1. $file_extension = default is .tmp Returns: Integer, Count of total files permission changed. */ function change_file_perms($file_path, - $count = 1, - $perms = 0755, - $name_prefix = "file", - $name_suffix = 1, - $file_extension = ".tmp" ) + $count = 1, + $perms = 0755, + $name_prefix = "file", + $name_suffix = 1, + $file_extension = ".tmp" ) { $changed = 0; - if( $count <= 0 ) + if( $count <= 0 ) return $changed; if ( $name_suffix <= 0) @@ -182,34 +182,34 @@ function change_file_perms($file_path, if( chmod($filename, $perms) ) $changed++; $name_suffix++; - } + } return $changed; } -/* +/* Function: array create_files( string $file_path, int $count = 1, - string $content_type = "numeric", - int $permission = 0755, + string $content_type = "numeric", + int $permission = 0755, int $size = 1, - string $mode = "w", - string $name_prefix = "file", + string $mode = "w", + string $name_prefix = "file", int $name_suffix = 1, string $flag = "kilobytes" string $file_extension = ".tmp" ); - Description: Creates given number of files with specified mode and + Description: Creates given number of files with specified mode and permissions. File is filled with content of size specified. $file_path = dir where files will be created - $name_prefix = prefix to be used for names, name is suffix with a + $name_prefix = prefix to be used for names, name is suffix with a unqiue numeric value to make the file name unique, default = file $name_suffix = suffix to be used for the name, default = 1 $count = total no. of files to be created, default = 1 - $mode = file open mode as specified in fopen() call. Do not use + $mode = file open mode as specified in fopen() call. Do not use modes used for only reading the file. Default = "w" - $permission = An octal number, This should be similar to $mode - specified in chmod() call. - $content_type = Specify type of the content to fill in the file. + $permission = An octal number, This should be similar to $mode + specified in chmod() call. + $content_type = Specify type of the content to fill in the file. "numeric" = fill file with numeric vlaues "text" = fill file with regular text "empty" = empty file @@ -218,16 +218,16 @@ function change_file_perms($file_path, If imporper $content type is specified, file is created as empty $size = size of the fill in terms of kilobyte, i.e size of the file. if $flag is specified as "byte", then then given size is taken in bytes - $flag = specifiy if size has to be treated as no of total bytes or + $flag = specifiy if size has to be treated as no of total bytes or multiple of KB. "kilobytes" = take size in terms of multiple of KB - "byte" = take size in terms of bytes + "byte" = take size in terms of bytes $file_extension = default is .tmp Returns: An array with following key value pair: created => total file created - filled => total files filled + filled => total files filled perms_changed => total files permission changed */ function create_files( $file_path, @@ -253,7 +253,7 @@ function create_files( $file_path, if ( $size == 0 ) return $return_value; - // prepare the size based on flag + // prepare the size based on flag $file_size = $size; if ( $flag == "kilobytes" ) { $file_size = $file_size * 1024; @@ -288,11 +288,11 @@ function create_files( $file_path, fclose($file_handle); return $return_value; } // end of if - - // call fill_file() to fill the file + + // call fill_file() to fill the file if( fill_file($file_handle, $content_type, $file_size) ) $return_value['filled']++; - + fclose($file_handle); $tmp_name_suffix++; @@ -300,9 +300,9 @@ function create_files( $file_path, } // change all file's permissions - $return_value['perms_changed'] = change_file_perms($file_path, $count, $permission, $name_prefix, + $return_value['perms_changed'] = change_file_perms($file_path, $count, $permission, $name_prefix, $name_suffix, $file_extension); - + return $return_value; } @@ -336,8 +336,8 @@ function create_files( $file_path, alphanumeric = fill with alphanumeric text If imporper $content type is specified, file is created as empty $size = size of the fill in terms of kilobyte, i.e size of the file. - $link_type = type of the link to be created - "soft" = soft link + $link_type = type of the link to be created + "soft" = soft link "hard" = hard link $filename = file used to create a link on @@ -392,12 +392,12 @@ function create_links($file_path, } break; } - + if ( $link_file_content == "empty" ) { $return_value['filled'] = 1; return $return_value; } - + // fill the file with specific type of data and size $tmp_name_suffix = $link_name_suffix; $linkname = $file_path."/".$link_name_prefix.$tmp_name_suffix.$link_file_extension; @@ -405,8 +405,8 @@ function create_links($file_path, if($file_handle == false) { return $return_value; } // end of if - - // call fill_file() to fill the file + + // call fill_file() to fill the file if( fill_file($file_handle, $link_file_content, $link_size) ) $return_value['filled']++; @@ -415,11 +415,11 @@ function create_links($file_path, // change the permission of the link file, only if hard link. // this is not applicable to soft links - if( $link_type == "hard" ) { - $return_value['perms_changed'] = change_file_perms($file_path, - $link_count, - $link_perms, - $link_name_prefix, + if( $link_type == "hard" ) { + $return_value['perms_changed'] = change_file_perms($file_path, + $link_count, + $link_perms, + $link_name_prefix, $link_name_suffix, $link_file_extension ); } @@ -427,10 +427,10 @@ function create_links($file_path, return $return_value; } -/* +/* Function: bool delete_file(string $filename); - Description: delete a given file if exists - Returns: true on success + Description: delete a given file if exists + Returns: true on success false on failure file_not_found if file doesn't exist */ @@ -446,7 +446,7 @@ function delete_file($filename) { } /* - Function: array delete_files(string $file_path, int $count = 1, string $name_prefix = "file", + Function: array delete_files(string $file_path, int $count = 1, string $name_prefix = "file", int name_suffix = 1, $file_extension = ".tmp" ); Description: Deletes given number of files if exists. $file_path = location of the files @@ -460,15 +460,15 @@ function delete_file($filename) { failed = Count of failed to delete */ function delete_files($file_path, - $count = 1, - $name_prefix = "file", - $name_suffix = 1, - $file_extension = ".tmp") + $count = 1, + $name_prefix = "file", + $name_suffix = 1, + $file_extension = ".tmp") { $return_value = array ('deleted' => 0, 'notfound' => 0, 'failed' => 0); if ( $name_suffix < 1 ) - $name_suffix = 1; + $name_suffix = 1; for($loop_counter = 1; $loop_counter <= $count; $loop_counter++) { $filename = $file_path."/".$name_prefix.$name_suffix.$file_extension; $name_suffix++; @@ -480,20 +480,20 @@ function delete_files($file_path, } else { $return_value['failed']++; } - + } // end of for return $return_value; } /* - Function: array delete_links( $file_path, - $link_file_count, - $link_name_prefix, - $link_name_suffix, + Function: array delete_links( $file_path, + $link_file_count, + $link_name_prefix, + $link_name_suffix, $link_file_extension ); Description: Deletes given number of links if exists. Uses delete_files() function - $file_path = location of link files - $link_file_count = Number of link files + $file_path = location of link files + $link_file_count = Number of link files $link_name_prefix = prefix for the linkname, rest of the name is incremental(increment by 1 only) numeric starting from $link_name_suffix up to count $link_name_suffix = first numeric suffix in the name @@ -504,16 +504,16 @@ function delete_files($file_path, failed = Count of failed to delete */ function delete_links($file_path, - $link_file_count = 1, - $link_name_prefix = "link", - $link_name_suffix = 1, - $link_file_extension = ".tmp") + $link_file_count = 1, + $link_name_prefix = "link", + $link_name_suffix = 1, + $link_file_extension = ".tmp") { - // call the delete files to delete links - $return_value = delete_files( $file_path, - $link_file_count, - $link_name_prefix, - $link_name_suffix, + // call the delete files to delete links + $return_value = delete_files( $file_path, + $link_file_count, + $link_name_prefix, + $link_name_suffix, $link_file_extension ); return $return_value; } @@ -524,7 +524,7 @@ function delete_links($file_path, Prototype: function compare_self_stat( array $stat ); Description: - Compares the each of the first 13 values of the stat array with the + Compares the each of the first 13 values of the stat array with the corresponding next 13 values of the same stat for equality $stat = stat array @@ -536,7 +536,7 @@ function compare_self_stat( array $stat ) $return_value = true; // named keys present in a stat - $string_keys = array("dev", "ino", "mode", "nlink", "uid", "gid", + $string_keys = array("dev", "ino", "mode", "nlink", "uid", "gid", "rdev", "size", "atime", "mtime", "ctime", "blksize", "blocks"); @@ -557,7 +557,7 @@ function compare_self_stat( array $stat ) } } // end of foreach - // if the $return_value is false, i.e all the element do not match then + // if the $return_value is false, i.e all the element do not match then // dump the stat array so that its easy to figure out the error if ($return_value == false ) { echo "\n Dumping stat array ...\n"; @@ -569,7 +569,7 @@ function compare_self_stat( array $stat ) /* Prototype: - function compare_stats( array $stat1, array $stat2, array $fields, + function compare_stats( array $stat1, array $stat2, array $fields, [string $op = "==", [ bool $flag = false] ]); Description: Compares two stat values, stat value should be obtained by stat/lstat @@ -580,12 +580,12 @@ Description: "==" compare for equality ">" if each element of stat1 is > than stat2 "<" if each element of stat1 is < than stat2 - $fields = contains the key of the elements that needs to be compared. + $fields = contains the key of the elements that needs to be compared. type of the comparison is based on $op argument value - $flag = specify true to dump the stat1 and stat2 + $flag = specify true to dump the stat1 and stat2 */ -$all_stat_keys = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, +$all_stat_keys = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, "dev", "ino", "mode", "nlink", "uid", "gid", "rdev", "size", "atime", "mtime", "ctime", "blksize", "blocks"); @@ -599,8 +599,8 @@ function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) { $result = true; - // compare values of given key from each stat array - for($index = 0; $index < count($fields); $index++) + // compare values of given key from each stat array + for($index = 0; $index < count($fields); $index++) { switch( $op ) { @@ -635,7 +635,7 @@ function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) { break; } } - // if the result is false(i.e values are not as expected), + // if the result is false(i.e values are not as expected), // dump the stat array so that easy to figure out the error if ( $result == false ) { echo "\n Dumping stat array 1...\n"; diff --git a/ext/standard/tests/file/windows_links/common.inc b/ext/standard/tests/file/windows_links/common.inc index 2d4b47cd51..505368b8b0 100644 --- a/ext/standard/tests/file/windows_links/common.inc +++ b/ext/standard/tests/file/windows_links/common.inc @@ -9,7 +9,7 @@ function get_junction(){ // junction.exe isn't included with Windows // its a sysinternals tool for working with filesystem links // see: http://technet.microsoft.com/en-us/sysinternals/bb896768 - + // install somewhere that is on %path% or added to %path% return "junction.exe"; } diff --git a/ext/standard/tests/file/windows_mb_path/util.inc b/ext/standard/tests/file/windows_mb_path/util.inc index 57fd8f9427..98cec87dc6 100644 --- a/ext/standard/tests/file/windows_mb_path/util.inc +++ b/ext/standard/tests/file/windows_mb_path/util.inc @@ -109,21 +109,21 @@ function remove_data($id, $dir = NULL) $objects = scandir($dir); foreach ($objects as $object) { if ($object != "." && $object != "..") { - if (filetype($dir . DIRECTORY_SEPARATOR . $object) == "dir") - remove_data($id, $dir . DIRECTORY_SEPARATOR . $object); - else + if (filetype($dir . DIRECTORY_SEPARATOR . $object) == "dir") + remove_data($id, $dir . DIRECTORY_SEPARATOR . $object); + else unlink($dir . DIRECTORY_SEPARATOR . $object); } } reset($objects); rmdir($dir); - } + } } function create_data($id, $item = "", $cp = 65001, $utf8 = true) { if ($utf8) { - /* Keep this file ASCII, so zend.multibyte related stuff can be tasted as well. */ + /* Keep this file ASCII, so zend.multibyte related stuff can be tasted as well. */ include dirname(__FILE__) . DIRECTORY_SEPARATOR . "util_utf8.inc"; return create_data_from_utf8($id, $item, $cp); } else { diff --git a/ext/standard/tests/mail/mail_include.inc b/ext/standard/tests/mail/mail_include.inc index 0785552e54..2197a1f8c1 100644 --- a/ext/standard/tests/mail/mail_include.inc +++ b/ext/standard/tests/mail/mail_include.inc @@ -3,46 +3,46 @@ $server = '{localhost}'; $default_mailbox = $server . "INBOX"; $domain = "example.com"; -$admin_user = "webmaster"; // a user with admin access +$admin_user = "webmaster"; // a user with admin access $username = "$admin_user@$domain"; $password = 'p4ssw0rd'; $users = array("webmaster", "info", "admin", "foo"); // tests require 4 valid userids $mailbox_prefix = "phpttest"; // name used for test mailbox /** - * Create a test mailbox and populate with msgs + * Create a test mailbox and populate with msgs * * @para, string mailbox_suffix Suffix used to uniquely identify mailboxes - * @param int message_count number of test msgs to be written to new mailbox - * + * @param int message_count number of test msgs to be written to new mailbox + * * @return IMAP stream to new mailbox on success; FALSE on failure */ function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = null, $msg_type = "simple"){ global $server, $default_mailbox, $username, $password; - + // open a stream to default mailbox $imap_stream = imap_open($default_mailbox, $username, $password); if ($imap_stream === false) { echo "Cannot connect to IMAP server $server: " . imap_last_error() . "\n"; return false; - } - + } + echo "Create a temporary mailbox and add " . $message_count . " msgs\n"; $new_mailbox = create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type); if ($new_mailbox === false) { echo "Cant create a temporary mailbox: " . imap_last_error(). "\n"; return false; } - + echo ".. mailbox '$new_mailbox' created\n"; - + // reopen stream to new mailbox if (imap_reopen($imap_stream, $new_mailbox) === false) { echo "cant re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n"; return false; } - + return $imap_stream; } @@ -55,9 +55,9 @@ function setup_test_mailbox($mailbox_suffix, $message_count, &$new_mailbox = nul function create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type= "simple"){ global $default_mailbox, $mailbox_prefix; $mailbox = $default_mailbox . "." . $mailbox_prefix . $mailbox_suffix; - + $mailboxes = imap_getmailboxes($imap_stream, $mailbox, '*'); - + // check mailbox does not already exist if ($mailboxes) { foreach($mailboxes as $value) { @@ -65,17 +65,17 @@ function create_mailbox($imap_stream, $mailbox_suffix, $message_count, $msg_type exit ("TEST FAILED : Mailbox '$mailbox' already exists\n"); } } - } + } if (imap_createmailbox($imap_stream, $mailbox) === false) { return false; } - + // Add number of test msgs requested if ($message_count > 0) { populate_mailbox($imap_stream, $mailbox, $message_count, $msg_type); - } - + } + return $mailbox; } @@ -100,42 +100,42 @@ function populate_mailbox($imap_stream, $mailbox, $message_count, $msg_type = "s $envelope["from"]= "foo@anywhere.com"; $envelope["to"] = "$users[0]@$domain"; $envelope["subject"] = "Test msg $i"; - + $part1["type"] = TYPEMULTIPART; $part1["subtype"] = "mixed"; - + $part2["type"] = TYPETEXT; $part2["subtype"] = "plain"; $part2["description"] = "imap_mail_compose() function"; $part2["contents.data"] = "message 1:xxxxxxxxxxxxxxxxxxxxxxxxxx"; - + $part3["type"] = TYPETEXT; $part3["subtype"] = "plain"; $part3["description"] = "Example"; $part3["contents.data"] = "message 2:yyyyyyyyyyyyyyyyyyyyyyyyyy"; - + $part4["type"] = TYPETEXT; $part4["subtype"] = "plain"; $part4["description"] = "Return Values"; $part4["contents.data"] = "message 3:zzzzzzzzzzzzzzzzzzzzzzzzzz"; - + $body[1] = $part1; $body[2] = $part2; $body[3] = $part3; $body[4] = $part4; - + $msg = imap_mail_compose($envelope, $body); } - + imap_append($imap_stream, $mailbox, $msg); } } /** - * Get the mailbox name from a mailbox decription, i.e strip off server details. + * Get the mailbox name from a mailbox decription, i.e strip off server details. * - * @param string mailbox complete mailbox name - * @return mailbox name + * @param string mailbox complete mailbox name + * @return mailbox name */ function get_mailbox_name($mailbox){ diff --git a/ext/standard/tests/mail/mail_skipif.inc b/ext/standard/tests/mail/mail_skipif.inc index 006594021d..8da04b072a 100644 --- a/ext/standard/tests/mail/mail_skipif.inc +++ b/ext/standard/tests/mail/mail_skipif.inc @@ -10,7 +10,7 @@ if( substr(PHP_OS, 0, 3) == 'WIN' && extension_loaded('sockets')) { // imap uses tcp port 143 socket_connect($socket, "localhost", 143) or die ("skip can't socket to mail server"); } - + // Change these to make tests run successfully $mailbox = '{localhost}'; $username = 'webmaster@example.com'; diff --git a/ext/standard/type.c b/ext/standard/type.c index 6bdd8610b1..20b965d32c 100644 --- a/ext/standard/type.c +++ b/ext/standard/type.c @@ -152,7 +152,7 @@ PHP_FUNCTION(intval) RETVAL_LONG(zval_get_long(num)); return; } - + if (base == 0 || base == 2) { char *strval = Z_STRVAL_P(num); @@ -169,7 +169,7 @@ PHP_FUNCTION(intval) if (strval[0] == '-' || strval[0] == '+') { offset = 1; } - + if (strval[offset] == '0' && (strval[offset + 1] == 'b' || strval[offset + 1] == 'B')) { char *tmpval; strlen -= 2; /* Removing "0b" */ @@ -179,7 +179,7 @@ PHP_FUNCTION(intval) if (offset) { tmpval[0] = strval[0]; } - + /* Copy the data from after "0b" to the end of the buffer */ memcpy(tmpval + offset, strval + offset + 2, strlen - offset); tmpval[strlen] = 0; @@ -441,11 +441,11 @@ PHP_FUNCTION(is_callable) PHP_FUNCTION(is_iterable) { zval *var; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &var) == FAILURE) { return; } - + RETURN_BOOL(zend_is_iterable(var)); } /* }}} */ diff --git a/ext/tidy/examples/cleanhtml.php b/ext/tidy/examples/cleanhtml.php index b47384b810..6dc37a0ad7 100644 --- a/ext/tidy/examples/cleanhtml.php +++ b/ext/tidy/examples/cleanhtml.php @@ -13,24 +13,24 @@ * Usage: php cleanhtml.php [filename] * */ - + if(!isset($_SERVER['argv'][1])) { $data = file_get_contents("php://stdin"); tidy_parse_string($data); } else { tidy_parse_file($_SERVER['argv'][1]); } - + tidy_clean_repair(); - + if(tidy_warning_count() || tidy_error_count()) { - + echo "\n\nThe following errors or warnings occurred:\n"; echo tidy_get_error_buffer(); echo "\n"; } - + echo tidy_get_output(); - + ?> diff --git a/ext/tidy/examples/cleanhtml5.php b/ext/tidy/examples/cleanhtml5.php index c5a1fcd338..5cad89a99c 100644 --- a/ext/tidy/examples/cleanhtml5.php +++ b/ext/tidy/examples/cleanhtml5.php @@ -13,23 +13,23 @@ * Usage: php cleanhtml5.php [filename] * */ - + if(!isset($_SERVER['argv'][1])) { $data = file_get_contents("php://stdin"); $tidy = tidy_parse_string($data); } else { $tidy = tidy_parse_file($_SERVER['argv'][1]); } - + $tidy->cleanRepair(); - + if(!empty($tidy->errorBuffer)) { - + echo "\n\nThe following errors or warnings occurred:\n"; echo "{$tidy->errorBuffer}\n"; - + } - + echo $tidy; - + ?> diff --git a/ext/tidy/examples/dumpit5.php b/ext/tidy/examples/dumpit5.php index d7aee2d652..1cae9b7d9a 100644 --- a/ext/tidy/examples/dumpit5.php +++ b/ext/tidy/examples/dumpit5.php @@ -11,21 +11,21 @@ * * Usage; php dumpit5.php <filename> */ - + $tidy = tidy_parse_file($_SERVER['argv'][1]); - + /* Optionally you can do this here if you want to fix up the document */ - + /* $tidy->clean_repair() */ - + $tree = $tidy->root(); dump_tree($tree); echo "\n"; - + function node_type($type) { - + switch($type) { - + case TIDY_NODETYPE_ROOT: return "Root Node"; case TIDY_NODETYPE_DOCTYPE: return "DocType Node"; case TIDY_NODETYPE_COMMENT: return "Comment Node"; @@ -43,23 +43,23 @@ default: return "Unknown Node"; } } - + function do_leaf($string, $indent) { for($i = 0; $i < $indent; $i++) { echo " "; } echo $string; } - + function dump_tree(tidyNode $node, $indent = 0) { - + /* Put something there if the node name is empty */ $nodename = trim(strtoupper($node->name)); $nodename = (empty($nodename)) ? "[EMPTY]" : $nodename; - + /* Generate the Node, and a pretty name for it */ do_leaf(" + $nodename (".node_type($node->type).")\n", $indent); - + /* Check to see if this node is a text node. Text nodes are generated by start/end tags and contain the text in between. i.e. <B>foo</B> will create a text node with $node->value @@ -68,25 +68,25 @@ do_leaf(" |\n", $indent); do_leaf(" +---- Value: '{$node->value}'\n", $indent); } - + if(count($node->attribute)) { do_leaf(" |\n", $indent); do_leaf(" +---- Attributes\n", $indent); - + foreach($node->attribute as $name=>$value) { @do_leaf(" +-- $name\n", $indent); do_leaf(" | +-- Value: $value\n", $indent); } } - + /* Recurse along the children to generate the remaining nodes */ if($node->hasChildren()) { foreach($node->child as $child) { dump_tree($child, $indent + 3); } } - + } - + ?>
\ No newline at end of file diff --git a/ext/tidy/examples/urlgrab5.php b/ext/tidy/examples/urlgrab5.php index 875baf0cf9..afa90b5f3a 100644 --- a/ext/tidy/examples/urlgrab5.php +++ b/ext/tidy/examples/urlgrab5.php @@ -15,13 +15,13 @@ function dump_nodes(tidyNode $node, &$urls = NULL) { $urls = (is_array($urls)) ? $urls : array(); - + if(isset($node->id)) { if($node->id == TIDY_TAG_A) { $urls[] = $node->attribute['href']; } } - + if($node->hasChildren()) { foreach($node->child as $c) { @@ -29,7 +29,7 @@ } } - + return $urls; } diff --git a/ext/tidy/package.xml b/ext/tidy/package.xml index a5b461ce45..a3f2413b24 100644 --- a/ext/tidy/package.xml +++ b/ext/tidy/package.xml @@ -29,7 +29,7 @@ but also traverse the document tree using the Zend Engine 2 OO semantics. <date>2003-11-13</date> <notes> Major API changes for PHP 5.0, including the re-introduction of resources, output buffering support, - dual-nature syntax (tidy_clean_repair($tidy_res) or $tidy->clean_repair()) and more. + dual-nature syntax (tidy_clean_repair($tidy_res) or $tidy->clean_repair()) and more. </notes> <configureoptions> <configureoption name="with-tidy" default="autodetect" prompt="Tidy library installation dir?"/> @@ -38,14 +38,14 @@ but also traverse the document tree using the Zend Engine 2 OO semantics. <file role="src" name="config.m4"/> <file role="src" name="tidy.c"/> <file role="src" name="php_tidy.h"/> - + <file role="doc" name="CREDITS"/> <file role="doc" name="TODO"/> <file role="doc" name="examples/cleanhtml.php"/> <file role="doc" name="examples/dumpit.php"/> <file role="doc" name="examples/urlgrab.php"/> <file role="doc" name="libtidy.txt"/> - + <file role="test" name="tests/001.phpt"/> <file role="test" name="tests/002.phpt"/> <file role="test" name="tests/003.phpt"/> diff --git a/ext/tokenizer/package.xml b/ext/tokenizer/package.xml index c6ad4ff2a7..57abbd5b55 100644 --- a/ext/tokenizer/package.xml +++ b/ext/tokenizer/package.xml @@ -12,10 +12,10 @@ </maintainer> </maintainers> <description> -The tokenizer functions provide an interface to the PHP tokenizer -embedded in the Zend Engine. Using these functions you may write -your own PHP source analyzing or modification tools without having -to deal with the language specification at the lexical level. +The tokenizer functions provide an interface to the PHP tokenizer +embedded in the Zend Engine. Using these functions you may write +your own PHP source analyzing or modification tools without having +to deal with the language specification at the lexical level. </description> <license>PHP</license> <release> diff --git a/ext/xml/config.m4 b/ext/xml/config.m4 index 715f65a915..0bdaceb0c8 100644 --- a/ext/xml/config.m4 +++ b/ext/xml/config.m4 @@ -15,7 +15,7 @@ PHP_ARG_WITH(libexpat-dir, libexpat install dir, if test "$PHP_XML" != "no"; then - dnl + dnl dnl Default to libxml2 if --with-libexpat-dir is not used. dnl if test "$PHP_LIBEXPAT_DIR" = "no"; then @@ -31,7 +31,7 @@ if test "$PHP_XML" != "no"; then AC_MSG_ERROR([libxml2 not found. Use --with-libxml-dir=<DIR>]) ]) fi - + dnl dnl Check for expat only if --with-libexpat-dir is used. dnl diff --git a/ext/xml/package.xml b/ext/xml/package.xml index ae5e6450d8..cf9d382ce6 100644 --- a/ext/xml/package.xml +++ b/ext/xml/package.xml @@ -24,8 +24,8 @@ </maintainer> </maintainers> <description> -This extension lets you create XML parsers and then define -handlers for different XML events. Each XML parser also has +This extension lets you create XML parsers and then define +handlers for different XML events. Each XML parser also has a few parameters you can adjust. </description> <license>PHP</license> diff --git a/ext/xml/php_xml.h b/ext/xml/php_xml.h index b44fb87aa9..0930f49423 100644 --- a/ext/xml/php_xml.h +++ b/ext/xml/php_xml.h @@ -34,7 +34,7 @@ extern zend_module_entry xml_module_entry; #define xml_module_ptr NULL #endif -#ifdef HAVE_XML +#ifdef HAVE_XML #include "ext/xml/expat_compat.h" @@ -60,7 +60,7 @@ typedef struct { zval unparsedEntityDeclHandler; zval notationDeclHandler; zval externalEntityRefHandler; - zval unknownEncodingHandler; + zval unknownEncodingHandler; zval startNamespaceDeclHandler; zval endNamespaceDeclHandler; @@ -88,7 +88,7 @@ typedef struct { int lastwasopen; int skipwhite; int isparsing; - + XML_Char *baseURI; } xml_parser; @@ -108,9 +108,9 @@ enum php_xml_option { }; /* for xml_parse_into_struct */ - + #define XML_MAXLEVEL 255 /* XXX this should be dynamic */ - + PHP_FUNCTION(xml_parser_create); PHP_FUNCTION(xml_parser_create_ns); PHP_FUNCTION(xml_set_object); diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 494c347201..b1f8cc5bd9 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -290,7 +290,7 @@ xml_encoding xml_encodings[] = { static XML_Memory_Handling_Suite php_xml_mem_hdlrs; /* True globals, no need for thread safety */ -static int le_xml_parser; +static int le_xml_parser; /* }}} */ @@ -353,7 +353,7 @@ PHP_MINIT_FUNCTION(xml) REGISTER_LONG_CONSTANT("XML_OPTION_SKIP_WHITE", PHP_XML_OPTION_SKIP_WHITE, CONST_CS|CONST_PERSISTENT); /* this object should not be pre-initialised at compile time, - as the order of members may vary */ + as the order of members may vary */ php_xml_mem_hdlrs.malloc_fcn = php_xml_malloc_wrapper; php_xml_mem_hdlrs.realloc_fcn = php_xml_realloc_wrapper; @@ -401,7 +401,7 @@ static void _xml_xmlchar_zval(const XML_Char *s, int len, const XML_Char *encodi static void xml_parser_dtor(zend_resource *rsrc) { xml_parser *parser = (xml_parser *)rsrc->ptr; - + if (parser->parser) { XML_ParserFree(parser->parser); } @@ -479,7 +479,7 @@ static void xml_set_handler(zval *handler, zval *data) /* {{{ xml_call_handler() */ static void xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval *argv, zval *retval) { - int i; + int i; ZVAL_UNDEF(retval); if (parser && handler && !EG(exception)) { @@ -508,10 +508,10 @@ static void xml_call_handler(xml_parser *parser, zval *handler, zend_function *f Z_TYPE_P(obj) == IS_OBJECT && Z_TYPE_P(method) == IS_STRING) { php_error_docref(NULL, E_WARNING, "Unable to call handler %s::%s()", ZSTR_VAL(Z_OBJCE_P(obj)->name), Z_STRVAL_P(method)); - } else + } else php_error_docref(NULL, E_WARNING, "Unable to call handler"); } - } + } for (i = 0; i < argc; i++) { zval_ptr_dtor(&argv[i]); } @@ -693,10 +693,10 @@ static void _xml_add_to_info(xml_parser *parser,char *name) zval values; array_init(&values); element = zend_hash_str_update(Z_ARRVAL(parser->info), name, strlen(name), &values); - } - + } + add_next_index_long(element, parser->curtag); - + parser->curtag++; } /* }}} */ @@ -747,10 +747,10 @@ void _xml_startElementHandler(void *userData, const XML_Char *name, const XML_Ch zend_string_release(att); } - + xml_call_handler(parser, &parser->startElementHandler, parser->startElementPtr, 3, args, &retval); zval_ptr_dtor(&retval); - } + } if (!Z_ISUNDEF(parser->data)) { if (parser->level <= XML_MAXLEVEL) { @@ -820,7 +820,7 @@ void _xml_endElementHandler(void *userData, const XML_Char *name) xml_call_handler(parser, &parser->endElementHandler, parser->endElementPtr, 2, args, &retval); zval_ptr_dtor(&retval); - } + } if (!Z_ISUNDEF(parser->data)) { zval tag; @@ -829,13 +829,13 @@ void _xml_endElementHandler(void *userData, const XML_Char *name) add_assoc_string(parser->ctag, "type", "complete"); } else { array_init(&tag); - + _xml_add_to_info(parser, ZSTR_VAL(tag_name) + parser->toffset); add_assoc_string(&tag, "tag", SKIP_TAGSTART(ZSTR_VAL(tag_name))); /* cast to avoid gcc-warning */ add_assoc_string(&tag, "type", "close"); add_assoc_long(&tag, "level", parser->level); - + zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); } @@ -866,7 +866,7 @@ void _xml_characterDataHandler(void *userData, const XML_Char *s, int len) _xml_xmlchar_zval(s, len, parser->target_encoding, &args[1]); xml_call_handler(parser, &parser->characterDataHandler, parser->characterDataPtr, 2, args, &retval); zval_ptr_dtor(&retval); - } + } if (!Z_ISUNDEF(parser->data)) { size_t i; @@ -891,7 +891,7 @@ void _xml_characterDataHandler(void *userData, const XML_Char *s, int len) if (doprint || (! parser->skipwhite)) { if (parser->lastwasopen) { zval *myval; - + /* check if the current tag already has a value - if yes append to that! */ if ((myval = zend_hash_str_find(Z_ARRVAL_P(parser->ctag), "value", sizeof("value") - 1))) { int newlen = Z_STRLEN_P(myval) + ZSTR_LEN(decoded_value); @@ -902,7 +902,7 @@ void _xml_characterDataHandler(void *userData, const XML_Char *s, int len) } else { add_assoc_str(parser->ctag, "value", decoded_value); } - + } else { zval tag; zval *curtag, *mytype, *myval; @@ -980,8 +980,8 @@ void _xml_defaultHandler(void *userData, const XML_Char *s, int len) /* }}} */ /* {{{ _xml_unparsedEntityDeclHandler() */ -void _xml_unparsedEntityDeclHandler(void *userData, - const XML_Char *entityName, +void _xml_unparsedEntityDeclHandler(void *userData, + const XML_Char *entityName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId, @@ -1102,9 +1102,9 @@ static void php_xml_parser_create_impl(INTERNAL_FUNCTION_PARAMETERS, int ns_supp char *ns_param = NULL; size_t ns_param_len = 0; - + XML_Char *encoding; - + if (zend_parse_parameters(ZEND_NUM_ARGS(), (ns_support ? "|ss": "|s"), &encoding_param, &encoding_param_len, &ns_param, &ns_param_len) == FAILURE) { RETURN_FALSE; } @@ -1149,15 +1149,15 @@ static void php_xml_parser_create_impl(INTERNAL_FUNCTION_PARAMETERS, int ns_supp } /* }}} */ -/* {{{ proto resource xml_parser_create([string encoding]) +/* {{{ proto resource xml_parser_create([string encoding]) Create an XML parser */ PHP_FUNCTION(xml_parser_create) { - php_xml_parser_create_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); + php_xml_parser_create_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); } /* }}} */ -/* {{{ proto resource xml_parser_create_ns([string encoding [, string sep]]) +/* {{{ proto resource xml_parser_create_ns([string encoding [, string sep]]) Create an XML parser */ PHP_FUNCTION(xml_parser_create_ns) { @@ -1165,7 +1165,7 @@ PHP_FUNCTION(xml_parser_create_ns) } /* }}} */ -/* {{{ proto int xml_set_object(resource parser, object &obj) +/* {{{ proto int xml_set_object(resource parser, object &obj) Set up object which should be used for callbacks */ PHP_FUNCTION(xml_set_object) { @@ -1194,7 +1194,7 @@ PHP_FUNCTION(xml_set_object) } /* }}} */ -/* {{{ proto int xml_set_element_handler(resource parser, string shdl, string ehdl) +/* {{{ proto int xml_set_element_handler(resource parser, string shdl, string ehdl) Set up start and end element handlers */ PHP_FUNCTION(xml_set_element_handler) { @@ -1216,7 +1216,7 @@ PHP_FUNCTION(xml_set_element_handler) } /* }}} */ -/* {{{ proto int xml_set_character_data_handler(resource parser, string hdl) +/* {{{ proto int xml_set_character_data_handler(resource parser, string hdl) Set up character data handler */ PHP_FUNCTION(xml_set_character_data_handler) { @@ -1237,7 +1237,7 @@ PHP_FUNCTION(xml_set_character_data_handler) } /* }}} */ -/* {{{ proto int xml_set_processing_instruction_handler(resource parser, string hdl) +/* {{{ proto int xml_set_processing_instruction_handler(resource parser, string hdl) Set up processing instruction (PI) handler */ PHP_FUNCTION(xml_set_processing_instruction_handler) { @@ -1258,7 +1258,7 @@ PHP_FUNCTION(xml_set_processing_instruction_handler) } /* }}} */ -/* {{{ proto int xml_set_default_handler(resource parser, string hdl) +/* {{{ proto int xml_set_default_handler(resource parser, string hdl) Set up default handler */ PHP_FUNCTION(xml_set_default_handler) { @@ -1279,7 +1279,7 @@ PHP_FUNCTION(xml_set_default_handler) } /* }}} */ -/* {{{ proto int xml_set_unparsed_entity_decl_handler(resource parser, string hdl) +/* {{{ proto int xml_set_unparsed_entity_decl_handler(resource parser, string hdl) Set up unparsed entity declaration handler */ PHP_FUNCTION(xml_set_unparsed_entity_decl_handler) { @@ -1300,7 +1300,7 @@ PHP_FUNCTION(xml_set_unparsed_entity_decl_handler) } /* }}} */ -/* {{{ proto int xml_set_notation_decl_handler(resource parser, string hdl) +/* {{{ proto int xml_set_notation_decl_handler(resource parser, string hdl) Set up notation declaration handler */ PHP_FUNCTION(xml_set_notation_decl_handler) { @@ -1321,7 +1321,7 @@ PHP_FUNCTION(xml_set_notation_decl_handler) } /* }}} */ -/* {{{ proto int xml_set_external_entity_ref_handler(resource parser, string hdl) +/* {{{ proto int xml_set_external_entity_ref_handler(resource parser, string hdl) Set up external entity reference handler */ PHP_FUNCTION(xml_set_external_entity_ref_handler) { @@ -1342,7 +1342,7 @@ PHP_FUNCTION(xml_set_external_entity_ref_handler) } /* }}} */ -/* {{{ proto int xml_set_start_namespace_decl_handler(resource parser, string hdl) +/* {{{ proto int xml_set_start_namespace_decl_handler(resource parser, string hdl) Set up character data handler */ PHP_FUNCTION(xml_set_start_namespace_decl_handler) { @@ -1363,7 +1363,7 @@ PHP_FUNCTION(xml_set_start_namespace_decl_handler) } /* }}} */ -/* {{{ proto int xml_set_end_namespace_decl_handler(resource parser, string hdl) +/* {{{ proto int xml_set_end_namespace_decl_handler(resource parser, string hdl) Set up character data handler */ PHP_FUNCTION(xml_set_end_namespace_decl_handler) { @@ -1426,7 +1426,7 @@ PHP_FUNCTION(xml_parse_into_struct) return; } - if (info) { + if (info) { zval_ptr_dtor(info); array_init(info); } @@ -1439,11 +1439,11 @@ PHP_FUNCTION(xml_parse_into_struct) array_init(xdata); ZVAL_COPY_VALUE(&parser->data, xdata); - + if (info) { ZVAL_COPY_VALUE(&parser->info, info); } - + parser->level = 0; parser->ltags = safe_emalloc(XML_MAXLEVEL, sizeof(char *), 0); @@ -1458,7 +1458,7 @@ PHP_FUNCTION(xml_parse_into_struct) } /* }}} */ -/* {{{ proto int xml_get_error_code(resource parser) +/* {{{ proto int xml_get_error_code(resource parser) Get XML parser error code */ PHP_FUNCTION(xml_get_error_code) { @@ -1495,7 +1495,7 @@ PHP_FUNCTION(xml_error_string) } /* }}} */ -/* {{{ proto int xml_get_current_line_number(resource parser) +/* {{{ proto int xml_get_current_line_number(resource parser) Get current line number for an XML parser */ PHP_FUNCTION(xml_get_current_line_number) { @@ -1533,7 +1533,7 @@ PHP_FUNCTION(xml_get_current_column_number) } /* }}} */ -/* {{{ proto int xml_get_current_byte_index(resource parser) +/* {{{ proto int xml_get_current_byte_index(resource parser) Get current byte index for an XML parser */ PHP_FUNCTION(xml_get_current_byte_index) { @@ -1552,7 +1552,7 @@ PHP_FUNCTION(xml_get_current_byte_index) } /* }}} */ -/* {{{ proto int xml_parser_free(resource parser) +/* {{{ proto int xml_parser_free(resource parser) Free an XML parser */ PHP_FUNCTION(xml_parser_free) { @@ -1580,7 +1580,7 @@ PHP_FUNCTION(xml_parser_free) } /* }}} */ -/* {{{ proto int xml_parser_set_option(resource parser, int option, mixed value) +/* {{{ proto int xml_parser_set_option(resource parser, int option, mixed value) Set options in an XML parser */ PHP_FUNCTION(xml_parser_set_option) { @@ -1633,7 +1633,7 @@ PHP_FUNCTION(xml_parser_set_option) } /* }}} */ -/* {{{ proto int xml_parser_get_option(resource parser, int option) +/* {{{ proto int xml_parser_get_option(resource parser, int option) Get options from an XML parser */ PHP_FUNCTION(xml_parser_get_option) { @@ -1666,7 +1666,7 @@ PHP_FUNCTION(xml_parser_get_option) } /* }}} */ -/* {{{ proto string utf8_encode(string data) +/* {{{ proto string utf8_encode(string data) Encodes an ISO-8859-1 string to UTF-8 */ PHP_FUNCTION(utf8_encode) { @@ -1686,7 +1686,7 @@ PHP_FUNCTION(utf8_encode) } /* }}} */ -/* {{{ proto string utf8_decode(string data) +/* {{{ proto string utf8_decode(string data) Converts a UTF-8 encoded string to ISO-8859-1 */ PHP_FUNCTION(utf8_decode) { diff --git a/ext/xmlreader/README b/ext/xmlreader/README index f85e4a2121..66f16b6cbc 100644 --- a/ext/xmlreader/README +++ b/ext/xmlreader/README @@ -1,5 +1,5 @@ -XMLReader represents a reader that provides non-cached, -forward-only access to XML data. It is based upon the +XMLReader represents a reader that provides non-cached, +forward-only access to XML data. It is based upon the xmlTextReader api from libxml This extension is designed to only work under PHP 5+. diff --git a/ext/xmlreader/package.xml b/ext/xmlreader/package.xml index 6536b78c1f..8136d78780 100644 --- a/ext/xmlreader/package.xml +++ b/ext/xmlreader/package.xml @@ -4,8 +4,8 @@ <name>xmlreader</name> <summary>Provides fast, non-cached, forward-only access to XML data under PHP 5.</summary> <description> - This extension wraps the libxml xmlReader API. The reader acts as a cursor - going forward on the document stream and stopping at each node in the way. + This extension wraps the libxml xmlReader API. The reader acts as a cursor + going forward on the document stream and stopping at each node in the way. xmlReader is similar to SAX though uses a much simpler API. </description> <license>PHP License</license> @@ -52,7 +52,7 @@ <file role="src" name="config.w32"/> <file role="src" name="php_xmlreader.c"/> <file role="src" name="php_xmlreader.h"/> - + <file role="doc" name="CREDITS"/> <file role="doc" name="TODO"/> <file role="doc" name="README"/> diff --git a/ext/xmlrpc/EXPERIMENTAL b/ext/xmlrpc/EXPERIMENTAL index 6443e99646..51f50405ea 100644 --- a/ext/xmlrpc/EXPERIMENTAL +++ b/ext/xmlrpc/EXPERIMENTAL @@ -1,5 +1,5 @@ this extension is experimental, -its functions may change their names -or move to extension all together -so do not rely to much on them +its functions may change their names +or move to extension all together +so do not rely to much on them you have been warned! diff --git a/ext/xmlrpc/config.m4 b/ext/xmlrpc/config.m4 index 6ed7a6312a..b51b0d7afd 100644 --- a/ext/xmlrpc/config.m4 +++ b/ext/xmlrpc/config.m4 @@ -67,11 +67,11 @@ if test "$PHP_XMLRPC" != "no"; then if test "$PHP_ICONV_DIR" != "no"; then PHP_ICONV=$PHP_ICONV_DIR fi - + if test -z "$PHP_ICONV" || test "$PHP_ICONV" = "no"; then PHP_ICONV=yes fi - + PHP_SETUP_ICONV(XMLRPC_SHARED_LIBADD, [], [ AC_MSG_ERROR([iconv not found, in order to build xmlrpc you need the iconv library]) ]) diff --git a/ext/xmlrpc/libxmlrpc/xmlrpc.m4 b/ext/xmlrpc/libxmlrpc/xmlrpc.m4 index 87da92db8a..955376072f 100644 --- a/ext/xmlrpc/libxmlrpc/xmlrpc.m4 +++ b/ext/xmlrpc/libxmlrpc/xmlrpc.m4 @@ -1,4 +1,4 @@ -AC_DEFUN([XMLRPC_CHECKS],[ +AC_DEFUN([XMLRPC_CHECKS],[ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_PROG_LN_S]) diff --git a/ext/xmlwriter/package.xml b/ext/xmlwriter/package.xml index 01f7ad4424..829b86d5cb 100644 --- a/ext/xmlwriter/package.xml +++ b/ext/xmlwriter/package.xml @@ -45,7 +45,7 @@ <date>2005-05-24</date> <state>beta</state> <notes> - Add OO interface (php5 only) + Add OO interface (php5 only) Add test cases </notes> </release> diff --git a/ext/xmlwriter/package2.xml b/ext/xmlwriter/package2.xml index ec6ef313b1..a5a4ecb022 100644 --- a/ext/xmlwriter/package2.xml +++ b/ext/xmlwriter/package2.xml @@ -87,7 +87,7 @@ <release>stable</release> <api>stable</api> </stability> - <license uri="http://www.php.net/license">PHP License</license> + <license uri="http://www.php.net/license">PHP License</license> <notes>Promote to stable</notes> </release> </changelog> diff --git a/ext/xsl/config.m4 b/ext/xsl/config.m4 index 9b6f8aaa49..b06fdbf802 100644 --- a/ext/xsl/config.m4 +++ b/ext/xsl/config.m4 @@ -11,7 +11,7 @@ if test "$PHP_XSL" != "no"; then if test "$PHP_LIBXML" = "no"; then AC_MSG_ERROR([XSL extension requires LIBXML extension, add --enable-libxml]) fi - + if test "$PHP_DOM" = "no"; then AC_MSG_ERROR([XSL extension requires DOM extension, add --enable-dom]) fi @@ -37,7 +37,7 @@ if test "$PHP_XSL" != "no"; then XSL_INCS=`$XSLT_CONFIG --cflags` PHP_EVAL_LIBLINE($XSL_LIBS, XSL_SHARED_LIBADD) PHP_EVAL_INCLINE($XSL_INCS) - + AC_MSG_CHECKING([for EXSLT support]) for i in $PHP_XSL /usr/local /usr; do if test -r "$i/include/libexslt/exslt.h"; then @@ -47,7 +47,7 @@ if test "$PHP_XSL" != "no"; then done if test -z "$PHP_XSL_EXSL_DIR"; then AC_MSG_RESULT(not found) - else + else AC_MSG_RESULT(found) PHP_ADD_LIBRARY_WITH_PATH(exslt, $PHP_XSL_EXSL_DIR/$PHP_LIBDIR, XSL_SHARED_LIBADD) PHP_ADD_INCLUDE($PHP_XSL_EXSL_DIR/include) @@ -56,10 +56,10 @@ if test "$PHP_XSL" != "no"; then else AC_MSG_ERROR([libxslt version 1.1.0 or greater required.]) fi - - + + fi - + AC_DEFINE(HAVE_XSL,1,[ ]) PHP_NEW_EXTENSION(xsl, php_xsl.c xsltprocessor.c, $ext_shared) PHP_SUBST(XSL_SHARED_LIBADD) diff --git a/ext/xsl/config.w32 b/ext/xsl/config.w32 index 47c8bbff94..8c88f081ee 100644 --- a/ext/xsl/config.w32 +++ b/ext/xsl/config.w32 @@ -41,7 +41,7 @@ if (PHP_XSL != "no") { ADD_FLAG("LDFLAGS_XSL", "/nodefaultlib:msvcrt"); } } - + } else { WARNING("xsl not enabled; libraries and headers not found"); } diff --git a/ext/zip/config.w32 b/ext/zip/config.w32 index 5460b6d6bd..8e64f1e589 100644 --- a/ext/zip/config.w32 +++ b/ext/zip/config.w32 @@ -6,7 +6,7 @@ ARG_ENABLE("zip", "ZIP support", "yes"); if (PHP_ZIP != "no") { if (CHECK_HEADER_ADD_INCLUDE("zlib.h", "CFLAGS_ZIP", "..\\zlib;" + PHP_ZIP) && CHECK_HEADER_ADD_INCLUDE("zipconf.h", "CFLAGS_ZIP", configure_module_dirname + "\\lib;" + PHP_ZIP) && - (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib", "zip", PHP_ZIP) || CHECK_LIB("zlib.lib", "zip", PHP_ZIP))) || + (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib", "zip", PHP_ZIP) || CHECK_LIB("zlib.lib", "zip", PHP_ZIP))) || (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "zip", PHP_ZIP)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))) ) { EXTENSION('zip', 'php_zip.c zip_stream.c'); diff --git a/ext/zip/examples/oldapi.php b/ext/zip/examples/oldapi.php index 2f17f43ebd..82a6277f3a 100644 --- a/ext/zip/examples/oldapi.php +++ b/ext/zip/examples/oldapi.php @@ -8,8 +8,8 @@ if ($zip) { while ($zip_entry = zip_read($zip)) { var_dump($zip_entry); $txt = zip_entry_read($zip_entry, 10); - echo $i . ": " . $txt . "size: " . zip_entry_filesize($zip_entry) . - "comp_method: " . zip_entry_compressionmethod($zip_entry) . + echo $i . ": " . $txt . "size: " . zip_entry_filesize($zip_entry) . + "comp_method: " . zip_entry_compressionmethod($zip_entry) . "\n"; $i++; } diff --git a/ext/zlib/config0.m4 b/ext/zlib/config0.m4 index c2533744e1..4139ac239d 100644 --- a/ext/zlib/config0.m4 +++ b/ext/zlib/config0.m4 @@ -11,8 +11,8 @@ PHP_ARG_WITH(zlib-dir,if the location of ZLIB install directory is defined, if test "$PHP_ZLIB" != "no" || test "$PHP_ZLIB_DIR" != "no"; then PHP_NEW_EXTENSION(zlib, zlib.c zlib_fopen_wrapper.c zlib_filter.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) PHP_SUBST(ZLIB_SHARED_LIBADD) - - if test "$PHP_ZLIB" != "yes" -a "$PHP_ZLIB" != "no"; then + + if test "$PHP_ZLIB" != "yes" -a "$PHP_ZLIB" != "no"; then if test -f $PHP_ZLIB/include/zlib/zlib.h; then ZLIB_DIR=$PHP_ZLIB ZLIB_INCDIR=$ZLIB_DIR/include/zlib @@ -20,7 +20,7 @@ if test "$PHP_ZLIB" != "no" || test "$PHP_ZLIB_DIR" != "no"; then ZLIB_DIR=$PHP_ZLIB ZLIB_INCDIR=$ZLIB_DIR/include fi - else + else for i in /usr/local /usr $PHP_ZLIB_DIR; do if test -f $i/include/zlib/zlib.h; then ZLIB_DIR=$i @@ -31,13 +31,13 @@ if test "$PHP_ZLIB" != "no" || test "$PHP_ZLIB_DIR" != "no"; then fi done fi - + if test -z "$ZLIB_DIR"; then AC_MSG_ERROR(Cannot find zlib) fi case $ZLIB_DIR in - /usr) ac_extra= ;; + /usr) ac_extra= ;; *) ac_extra=-L$ZLIB_DIR/$PHP_LIBDIR ;; esac @@ -49,7 +49,7 @@ if test "$PHP_ZLIB" != "no" || test "$PHP_ZLIB_DIR" != "no"; then fi PHP_CHECK_LIBRARY(z, gzgets, [ - AC_DEFINE(HAVE_ZLIB,1,[ ]) + AC_DEFINE(HAVE_ZLIB,1,[ ]) ],[ AC_MSG_ERROR(ZLIB extension requires gzgets in zlib) ],[ diff --git a/ext/zlib/package.xml b/ext/zlib/package.xml index 7eb9fa0936..d1061510c8 100644 --- a/ext/zlib/package.xml +++ b/ext/zlib/package.xml @@ -30,9 +30,9 @@ </maintainer> </maintainers> <description> -This module enables you to transparently read and write -gzip (.gz) compressed files, through versions of most of -the filesystem functions which work with gzip-compressed +This module enables you to transparently read and write +gzip (.gz) compressed files, through versions of most of +the filesystem functions which work with gzip-compressed files (and uncompressed files, too, but not with sockets). </description> <license>PHP</license> diff --git a/ext/zlib/tests/data.inc b/ext/zlib/tests/data.inc index 441199ff08..dce79b0204 100644 --- a/ext/zlib/tests/data.inc +++ b/ext/zlib/tests/data.inc @@ -36,17 +36,17 @@ With this regard their currents turn away, And lose the name of action. -Hath not a Jew eyes? Hath not a Jew hands, organs, dimensions, -senses, affections, passions; fed with the same food, hurt with -the same weapons, subject to the same diseases, heal'd by -the same means, warm'd and cool'd by the same winter and summer -as a Christian is? If you prick us, do we not bleed? If you -tickle us, do we not laugh? If you poison us, do we not die? -And if you wrong us, shall we not revenge? If we are like you -in the rest, we will resemble you in that. If a Jew wrong a -Christian, what is his humility? Revenge. If a Christian wrong -a Jew, what should his sufferance be by Christian example? Why, -revenge. The villainy you teach me, I will execute, and it +Hath not a Jew eyes? Hath not a Jew hands, organs, dimensions, +senses, affections, passions; fed with the same food, hurt with +the same weapons, subject to the same diseases, heal'd by +the same means, warm'd and cool'd by the same winter and summer +as a Christian is? If you prick us, do we not bleed? If you +tickle us, do we not laugh? If you poison us, do we not die? +And if you wrong us, shall we not revenge? If we are like you +in the rest, we will resemble you in that. If a Jew wrong a +Christian, what is his humility? Revenge. If a Christian wrong +a Jew, what should his sufferance be by Christian example? Why, +revenge. The villainy you teach me, I will execute, and it shall go hard but I will better the instruction. Is this a dagger which I see before me, @@ -65,7 +65,7 @@ Or else worth all the rest; I see thee still, And on thy blade and dudgeon gouts of blood, Which was not so before. There's no such thing: -It is the bloody business which informs Thus to mine eyes. +It is the bloody business which informs Thus to mine eyes. Now o'er the one halfworld Nature seems dead, and wicked dreams abuse The curtain'd sleep; witchcraft celebrates Pale Hecate's offerings, and wither'd murder, @@ -73,7 +73,7 @@ Alarum'd by his sentinel, the wolf, Whose howl's his watch, thus with his stealthy pace. With Tarquin's ravishing strides, towards his design Moves like a ghost. Thou sure and firm-set earth, -Hear not my steps, which way they walk, +Hear not my steps, which way they walk, for fear Thy very stones prate of my whereabout, And take the present horror from the time, Which now suits with it. diff --git a/ext/zlib/zlib_win32_howto.txt b/ext/zlib/zlib_win32_howto.txt index 59ff3c4f4c..89bdb29f1e 100644 --- a/ext/zlib/zlib_win32_howto.txt +++ b/ext/zlib/zlib_win32_howto.txt @@ -13,4 +13,3 @@ Start Visual Studio, load php_modules.dsw, select the ZLIB projects, and build it. -
\ No newline at end of file |