mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
typo fixes - https://github.com/vlajos/misspell_fixer
This commit is contained in:
parent
38229d13d1
commit
06fdf359e3
2
INSTALL
2
INSTALL
@ -155,7 +155,7 @@ Table of Contents
|
||||
a list of all available options along with short explanations running
|
||||
./configure --help. Our manual documents the different options
|
||||
separately. You will find the core options in the appendix, while the
|
||||
different extension specific options are descibed on the reference
|
||||
different extension specific options are described on the reference
|
||||
pages.
|
||||
|
||||
When PHP is configured, you are ready to build the module and/or
|
||||
|
@ -8,7 +8,7 @@ the original run-tests.php script. server-tests is *not* used by
|
||||
'make test'. server-tests was developed to provide support for
|
||||
testing PHP under it's primary environment, HTTP, and can run the
|
||||
PHP tests under any of the SAPI modules that are direct executables,
|
||||
or are accessable via HTTP.
|
||||
or are accessible via HTTP.
|
||||
|
||||
[New features]
|
||||
----------------
|
||||
@ -95,7 +95,7 @@ include:
|
||||
$filename full native path to file, will become PATH_TRANSLATED
|
||||
$filepath =dirname($filename)
|
||||
$scriptname this is what will become SCRIPT_NAME unless you override it
|
||||
$docroot the equivelant of DOCUMENT_ROOT under Apache
|
||||
$docroot the equivalent of DOCUMENT_ROOT under Apache
|
||||
$cwd the directory that the test is being initiated from
|
||||
$this->conf all server-tests configuration vars
|
||||
$this->env all environment variables that will get passed to the test
|
||||
@ -105,7 +105,7 @@ include:
|
||||
This section is also eval'd, and is similar in nature to --ENV--. However,
|
||||
this section is used to build the url used in an HTTP request. Valid values
|
||||
to set in this section would include:
|
||||
SCRIPT_NAME The inital part of the request url
|
||||
SCRIPT_NAME The initial part of the request url
|
||||
PATH_INFO The pathinfo part of a request url
|
||||
FRAGMENT The fragment section of a url (after #)
|
||||
QUERY_STRING The query part of a url (after ?)
|
||||
|
@ -47,7 +47,7 @@
|
||||
*
|
||||
* CALENDAR OVERVIEW
|
||||
*
|
||||
* Julias Ceasar created the calendar in 46 B.C. as a modified form of
|
||||
* Julius Caesar created the calendar in 46 B.C. as a modified form of
|
||||
* the old Roman republican calendar which was based on lunar cycles.
|
||||
* The new Julian calendar set fixed lengths for the months, abandoning
|
||||
* the lunar cycle. It also specified that there would be exactly 12
|
||||
|
@ -21,10 +21,10 @@ putenv('TZ=UTC');
|
||||
// -uses --INI-- section with date.timezone=UTC
|
||||
// -uses putenv('TZ=UTC')
|
||||
// date.timezone=UTC
|
||||
// -if ommitted from easter_date.phpt, outputs DATE_TZ_ERRMSG warning
|
||||
// -if omitted from easter_date.phpt, outputs DATE_TZ_ERRMSG warning
|
||||
// -easter_date() calls mktime() and localtime()
|
||||
// -whereas unixtojd(1000000000) calls localtime(1000000000)
|
||||
// -if ommitted from unixtojd.phpt, does NOT output DATE_TZ_ERRMSG
|
||||
// -if omitted from unixtojd.phpt, does NOT output DATE_TZ_ERRMSG
|
||||
//
|
||||
// unixtojd() calls php_localtime_r() which for Pacific timezone systems, returns a time -8 hours
|
||||
// -this incorrect localtime is passed to the julian date conversion (GregorianToSDN) function which works (probably correctly)
|
||||
|
@ -336,7 +336,7 @@ static ttinfo* fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib
|
||||
{
|
||||
uint32_t i;
|
||||
|
||||
/* If there is no transistion time, we pick the first one, if that doesn't
|
||||
/* If there is no transition time, we pick the first one, if that doesn't
|
||||
* exist we return NULL */
|
||||
if (!tz->timecnt || !tz->trans) {
|
||||
*transition_time = 0;
|
||||
@ -346,8 +346,8 @@ static ttinfo* fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* If the TS is lower than the first transistion time, then we scan over
|
||||
* all the transistion times to find the first non-DST one, or the first
|
||||
/* If the TS is lower than the first transition time, then we scan over
|
||||
* all the transition times to find the first non-DST one, or the first
|
||||
* one in case there are only DST entries. Not sure which smartass came up
|
||||
* with this idea in the first though :) */
|
||||
if (ts < tz->trans[0]) {
|
||||
|
@ -3,7 +3,7 @@ strtotime() function
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!@putenv("TZ=EST5") || getenv("TZ") != 'EST5') {
|
||||
die("skip unable to change TZ enviroment variable\n");
|
||||
die("skip unable to change TZ environment variable\n");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -8,7 +8,7 @@ if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
|
||||
die("skip. set TZ env is not supported at runtime.");
|
||||
}
|
||||
if (!@putenv("TZ=US/Eastern") || getenv("TZ") != 'US/Eastern') {
|
||||
die("skip unable to change TZ enviroment variable\n");
|
||||
die("skip unable to change TZ environment variable\n");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -4,7 +4,7 @@ Bug #26317 (military timezone offset signedness)
|
||||
date.timezone=GMT0
|
||||
--SKIPIF--
|
||||
if (!@putenv("TZ=GMT0") || getenv("TZ") != 'GMT0') {
|
||||
die("skip unable to change TZ enviroment variable\n");
|
||||
die("skip unable to change TZ environment variable\n");
|
||||
}
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -4,7 +4,7 @@ Bug #26320 (strtotime handling of XML Schema/ISO 8601 format)
|
||||
date.timezone=GMT0
|
||||
--SKIPIF--
|
||||
if (!@putenv("TZ=GMT0") || getenv("TZ") != 'GMT0') {
|
||||
die("skip unable to change TZ enviroment variable\n");
|
||||
die("skip unable to change TZ environment variable\n");
|
||||
}
|
||||
--FILE--
|
||||
<?php
|
||||
|
@ -3,7 +3,7 @@ if(!extension_loaded('fileinfo')) {
|
||||
dl('fileinfo.' . PHP_SHLIB_SUFFIX);
|
||||
}
|
||||
if(!extension_loaded('fileinfo')) {
|
||||
die("fileinfo extension is not avaliable, please compile it.\n");
|
||||
die("fileinfo extension is not available, please compile it.\n");
|
||||
}
|
||||
|
||||
// normal operation
|
||||
|
@ -351,7 +351,7 @@
|
||||
*
|
||||
* Revision 1.8 93/02/19 15:01:26 ian
|
||||
* Numerous changes from Guy Harris too numerous to mention but including
|
||||
* byte-order independance, fixing "old-style masking", etc. etc. A bugfix
|
||||
* byte-order independence, fixing "old-style masking", etc. etc. A bugfix
|
||||
* for broken symlinks from martin@@d255s004.zfe.siemens.de.
|
||||
*
|
||||
* Revision 1.7 93/01/05 14:57:27 ian
|
||||
|
@ -3918,7 +3918,7 @@
|
||||
>7 string x version %.2s
|
||||
# We skip the path here, because it is often long (so file will
|
||||
# truncate it) and mostly redundant.
|
||||
# The inverted index functionality was added some time betwen
|
||||
# The inverted index functionality was added some time between
|
||||
# versions 11 and 15, so look for -q if version is above 14:
|
||||
>7 string >14
|
||||
>>10 search/100 \ -q\ with inverted index
|
||||
@ -3972,7 +3972,7 @@
|
||||
# .cwk
|
||||
0 string \002\000\210\003\102\117\102\117\000\001\206 Claris works document
|
||||
# .plt
|
||||
0 string \020\341\000\000\010\010 Claris Works pallete files .plt
|
||||
0 string \020\341\000\000\010\010 Claris Works palette files .plt
|
||||
|
||||
# .msp a dictionary file I am not sure about this I have only one .msp file
|
||||
0 string \002\271\262\000\040\002\000\164 Claris works dictionary
|
||||
@ -4443,9 +4443,9 @@
|
||||
>6 byte&0x04 =0x8 \b, [4-Scr]
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# gameboy: file(1) magic for the Nintendo (Color) Gameboy raw ROM format
|
||||
# game boy: file(1) magic for the Nintendo (Color) Game Boy raw ROM format
|
||||
#
|
||||
0x104 belong 0xCEED6666 Gameboy ROM:
|
||||
0x104 belong 0xCEED6666 Game Boy ROM:
|
||||
>0x134 string >\0 "%.16s"
|
||||
>0x146 byte 0x03 \b,[SGB]
|
||||
>0x147 byte 0x00 \b, [ROM ONLY]
|
||||
@ -4605,8 +4605,8 @@
|
||||
0 string \x01ZZZZZ\x01 3DO "Opera" file system
|
||||
|
||||
# From Gurkan Sengun <gurkan@linuks.mine.nu>, www.linuks.mine.nu
|
||||
0 string GBS Nintendo Gameboy Music/Audio Data
|
||||
12 string GameBoy\ Music\ Module Nintendo Gameboy Music Module
|
||||
0 string GBS Nintendo Game Boy Music/Audio Data
|
||||
12 string GameBoy\ Music\ Module Nintendo Game Boy Music Module
|
||||
|
||||
# Playstations Patch Files from: From: Thomas Klausner <tk@giga.or.at>
|
||||
0 string PPF30 Playstation Patch File version 3.0
|
||||
@ -15279,7 +15279,7 @@
|
||||
# $File: oasis,v 1.1 2011/03/15 02:09:38 christos Exp $
|
||||
# OASIS
|
||||
# Summary: OASIS stream file
|
||||
# Long descripton: Open Artwork System Interchange Standard
|
||||
# Long description: Open Artwork System Interchange Standard
|
||||
# File extension: .oas
|
||||
# Full name: Ben Cowley (bcowley@broadcom.com)
|
||||
# Philip Dixon (pdixon@broadcom.com)
|
||||
|
@ -69,8 +69,8 @@ typedef struct ftpbuf
|
||||
ftptype_t type; /* current transfer type */
|
||||
int pasv; /* 0=off; 1=pasv; 2=ready */
|
||||
php_sockaddr_storage pasvaddr; /* passive mode address */
|
||||
zend_long timeout_sec; /* User configureable timeout (seconds) */
|
||||
int autoseek; /* User configureable autoseek flag */
|
||||
zend_long timeout_sec; /* User configurable timeout (seconds) */
|
||||
int autoseek; /* User configurable autoseek flag */
|
||||
|
||||
int nb; /* "nonblocking" transfer in progress */
|
||||
databuf_t *data; /* Data connection for "nonblocking" transfers */
|
||||
|
@ -782,7 +782,7 @@ int gdImageBrightness(gdImagePtr src, int brightness);
|
||||
/* Set the contrast level <contrast> for the image <src> */
|
||||
int gdImageContrast(gdImagePtr src, double contrast);
|
||||
|
||||
/* Simply adds or substracts respectively red, green or blue to a pixel */
|
||||
/* Simply adds or subtracts respectively red, green or blue to a pixel */
|
||||
int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
|
||||
|
||||
/* Image convolution by a 3x3 custom matrix */
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* This is potentially great stuff, but fails against the test
|
||||
program at the end. This would probably be much more
|
||||
efficent than the implementation currently in gd.c if the
|
||||
efficient than the implementation currently in gd.c if the
|
||||
errors in the output were corrected. TBB */
|
||||
|
||||
#if 0
|
||||
|
@ -464,7 +464,7 @@ static void *fontFetch (char **error, void *key)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* FIXME - This mapping stuff is imcomplete - where is the spec? */
|
||||
/* FIXME - This mapping stuff is incomplete - where is the spec? */
|
||||
/* EAM - It's worse than that. It's pointless to match character encodings here.
|
||||
* As currently written, the stored a->face->charmap only matches one of
|
||||
* the actual charmaps and we cannot know at this stage if it is the right
|
||||
|
@ -169,7 +169,7 @@ static inline uint32 get_le32(const uint8* const data) {
|
||||
* Y2/U2/V2: The Y/U/V data of the second image
|
||||
*
|
||||
* Returns the PSNR (http://en.wikipedia.org/wiki/Peak_signal-to-noise_ratio)
|
||||
* value computed bewteen the two images
|
||||
* value computed between the two images
|
||||
*/
|
||||
double GetPSNRYuv(const uint8* Y1,
|
||||
const uint8* U1,
|
||||
@ -210,7 +210,7 @@ double GetPSNRYuv(const uint8* Y1,
|
||||
* imgdata: data buffer containing webp image
|
||||
* imgdata_size: size of the imgdata buffer
|
||||
*
|
||||
* Returns the PSNR value computed bewteen the two images
|
||||
* Returns the PSNR value computed between the two images
|
||||
*/
|
||||
double WebPGetPSNR(const uint8* Y1,
|
||||
const uint8* U1,
|
||||
|
@ -57,7 +57,7 @@ typedef enum WebPResultType {
|
||||
* 3. p_Y/p_U/p_V : pointer to the Y/U/V data buffer (this routine will
|
||||
* allocate memory for the buffer, fill the buffer with
|
||||
* appropriate data and transfer owner ship of the buffer
|
||||
* to caller. Caller is reponsible for freeing the memory).
|
||||
* to caller. Caller is responsible for freeing the memory).
|
||||
* Note that the memory for Y, U, V buffers is alloacted
|
||||
* in one chunk, hence one should call free(*p_Y) only.
|
||||
* Do not try to free the U and V buffers.
|
||||
|
@ -63,7 +63,7 @@ simple default transaction test without ibase_trans()
|
||||
/*
|
||||
default transaction on default link
|
||||
First open transaction on link will be default.
|
||||
$tr_def_l1 may be ommited. All queryes without link and trans
|
||||
$tr_def_l1 may be omitted. All queryes without link and trans
|
||||
parameters run in this context
|
||||
*/
|
||||
|
||||
|
@ -1143,7 +1143,7 @@ zval *php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node ex
|
||||
{
|
||||
php_libxml_func_handler export_hnd;
|
||||
|
||||
/* Initialize in case this module hasnt been loaded yet */
|
||||
/* Initialize in case this module hasn't been loaded yet */
|
||||
php_libxml_initialize();
|
||||
export_hnd.export_func = export_function;
|
||||
|
||||
|
@ -371,7 +371,7 @@ o i18n.internal_encoding - internal encoding
|
||||
encodings, following conditions have to be satisfied in order
|
||||
to use them:
|
||||
- per byte encoding
|
||||
- single byte charactor 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
|
||||
@ -408,7 +408,7 @@ o i18n.script_encoding - script encoding
|
||||
entering the script parser.
|
||||
|
||||
Be aware that auto detection may fail under some conditions.
|
||||
For best auto detection, add multibyte charactor at beginning of
|
||||
For best auto detection, add multibyte character at beginning of
|
||||
script.
|
||||
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/* charactor property table */
|
||||
/* character property table */
|
||||
#define MBFL_CHP_CTL 0x01
|
||||
#define MBFL_CHP_DIGIT 0x02
|
||||
#define MBFL_CHP_UALPHA 0x04
|
||||
|
@ -45,7 +45,7 @@
|
||||
#define MBFL_ENCTYPE_ENC_STRM 0x00002000
|
||||
#define MBFL_ENCTYPE_GL_UNSAFE 0x00004000
|
||||
|
||||
/* wchar plane, special charactor */
|
||||
/* wchar plane, special character */
|
||||
#define MBFL_WCSPLANE_MASK 0xffff
|
||||
#define MBFL_WCSPLANE_UCS2MAX 0x00010000
|
||||
#define MBFL_WCSPLANE_UTF32MAX 0x00110000
|
||||
|
@ -14,7 +14,7 @@ function_exists('mb_strtolower') or die("skip mb_strtolower() is not available i
|
||||
|
||||
/*
|
||||
* Pass a Japanese string and a mixed Japanese and ASCII string to mb_strtolower
|
||||
* to check correct conversion is occuring (Japanese characters should not be converted).
|
||||
* to check correct conversion is occurring (Japanese characters should not be converted).
|
||||
*/
|
||||
|
||||
echo "*** Testing mb_strtolower() : usage variations ***\n";
|
||||
|
@ -14,7 +14,7 @@ function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available i
|
||||
|
||||
/*
|
||||
* Pass a Japanese string and a mixed Japanese and ASCII string to mb_strtolower
|
||||
* to check correct conversion is occuring (Japanese characters should not be converted).
|
||||
* to check correct conversion is occurring (Japanese characters should not be converted).
|
||||
*/
|
||||
|
||||
echo "*** Testing mb_strtoupper() : usage variations ***\n";
|
||||
|
@ -23,7 +23,7 @@ $cipher = MCRYPT_TRIPLEDES;
|
||||
$data = b"This is the secret message which must be encrypted";
|
||||
$mode = MCRYPT_DECRYPT;
|
||||
|
||||
// tripledes uses keys upto 192 bits (24 bytes)
|
||||
// tripledes uses keys up to 192 bits (24 bytes)
|
||||
$keys = array(
|
||||
b'12345678',
|
||||
b'12345678901234567890',
|
||||
|
@ -23,7 +23,7 @@ $cipher = MCRYPT_TRIPLEDES;
|
||||
$data = b"This is the secret message which must be encrypted";
|
||||
$mode = MCRYPT_ENCRYPT;
|
||||
|
||||
// tripledes uses keys upto 192 bits (24 bytes)
|
||||
// tripledes uses keys up to 192 bits (24 bytes)
|
||||
$keys = array(
|
||||
b'12345678',
|
||||
b'12345678901234567890',
|
||||
|
@ -21,13 +21,13 @@ echo "*** Testing mcrypt_encrypt() : TripleDES functionality ***\n";
|
||||
//test tripledes, aes
|
||||
//test different lengths of key, iv
|
||||
//test no iv being passed on CBC, ECB
|
||||
//test upto 32 bytes with unlimited strength
|
||||
//test up to 32 bytes with unlimited strength
|
||||
|
||||
$cipher = MCRYPT_TRIPLEDES;
|
||||
$mode = MCRYPT_MODE_CBC;
|
||||
$data = b'This is the secret message which must be encrypted';
|
||||
|
||||
// tripledes uses keys upto 192 bits (24 bytes)
|
||||
// tripledes uses keys up to 192 bits (24 bytes)
|
||||
$keys = array(
|
||||
b'12345678',
|
||||
b'12345678901234567890',
|
||||
|
@ -20,7 +20,7 @@ $cipher = MCRYPT_TRIPLEDES;
|
||||
$mode = MCRYPT_MODE_ECB;
|
||||
$data = b'This is the secret message which must be encrypted';
|
||||
|
||||
// tripledes uses keys upto 192 bits (24 bytes)
|
||||
// tripledes uses keys up to 192 bits (24 bytes)
|
||||
$keys = array(
|
||||
b'12345678',
|
||||
b'12345678901234567890',
|
||||
|
@ -30,7 +30,7 @@ $cipher = MCRYPT_RIJNDAEL_128;
|
||||
$mode = MCRYPT_MODE_CBC;
|
||||
$data = b'This is the secret message which must be encrypted';
|
||||
|
||||
// keys upto 128 bits (16 bytes)
|
||||
// keys up to 128 bits (16 bytes)
|
||||
$keys = array(
|
||||
null,
|
||||
'',
|
||||
|
@ -44,8 +44,8 @@ require_once('skipifconnectfailure.inc');
|
||||
if ($IS_MYSQLND) {
|
||||
/*
|
||||
Advantage mysqlnd -
|
||||
The metadata mysqlnd has availabe after prepare is better than
|
||||
the one made availabe by the MySQL Client Library (libmysql).
|
||||
The metadata mysqlnd has available after prepare is better than
|
||||
the one made available by the MySQL Client Library (libmysql).
|
||||
"libmysql" will give wrong results and that is OK -
|
||||
http://bugs.mysql.com/bug.php?id=47483
|
||||
*/
|
||||
|
@ -19,7 +19,7 @@ require_once('skipifconnectfailure.inc');
|
||||
|
||||
$idx = 0;
|
||||
while ($row = mysqli_fetch_assoc($res)) {
|
||||
/* mysqlnd: force seperation - create copies */
|
||||
/* mysqlnd: force separation - create copies */
|
||||
$references[$idx] = array(
|
||||
'id' => &$row['id'],
|
||||
'label' => $row['label'] . '');
|
||||
@ -30,7 +30,7 @@ require_once('skipifconnectfailure.inc');
|
||||
|
||||
mysqli_data_seek($res, 0);
|
||||
while ($row = mysqli_fetch_assoc($res)) {
|
||||
/* mysqlnd: force seperation - create copies */
|
||||
/* mysqlnd: force separation - create copies */
|
||||
$references[$idx] = array(
|
||||
'id' => &$row['id'],
|
||||
'label' => $row['label'] . '');
|
||||
@ -48,7 +48,7 @@ require_once('skipifconnectfailure.inc');
|
||||
printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
|
||||
|
||||
while ($row = mysqli_fetch_assoc($res)) {
|
||||
/* mysqlnd: force seperation - create copies*/
|
||||
/* mysqlnd: force separation - create copies*/
|
||||
$references[$idx] = array(
|
||||
'id' => &$row['id'],
|
||||
'label' => $row['label'] . '');
|
||||
|
@ -48,7 +48,7 @@ if ((version_compare(PHP_VERSION, '6.0', '==') == 1))
|
||||
$references[$idx]['row_copy'] = $rows[$i];
|
||||
$references[$idx]['id_ref'] = &$rows[$i]['id'];
|
||||
$references[$idx]['id_copy'] = $rows[$i]['id'];
|
||||
/* enforce seperation */
|
||||
/* enforce separation */
|
||||
$references[$idx]['id_copy_mod']= $rows[$i]['id'] + 0;
|
||||
}
|
||||
mysqli_free_result($res);
|
||||
|
@ -21,9 +21,9 @@ require_once('skipifconnectfailure.inc');
|
||||
|
||||
echo "Test 1:\n";
|
||||
$stmt = $link->prepare("SELECT ? FOO");
|
||||
var_dump($foo); // here you can see the bar member var beeing a string
|
||||
var_dump($foo); // here you can see the bar member var being a string
|
||||
$stmt->bind_param("s", $foo->bar);
|
||||
var_dump($foo); // this will show $foo->bar beeing a reference string
|
||||
var_dump($foo); // this will show $foo->bar being a reference string
|
||||
$stmt->bind_result($one);
|
||||
$stmt->execute();
|
||||
$stmt->fetch();
|
||||
|
@ -1,7 +1,7 @@
|
||||
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 extremly experimental,
|
||||
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.
|
||||
|
@ -1544,7 +1544,7 @@ Version 8.10 25-Jun-2010
|
||||
|
||||
7. Minor change to pcretest.c to avoid a compiler warning.
|
||||
|
||||
8. Added four artifical Unicode properties to help with an option to make
|
||||
8. Added four artificial Unicode properties to help with an option to make
|
||||
\s etc use properties (see next item). The new properties are: Xan
|
||||
(alphanumeric), Xsp (Perl space), Xps (POSIX space), and Xwd (word).
|
||||
|
||||
@ -4169,7 +4169,7 @@ Version 4.3 21-May-03
|
||||
(i) The utf8_table... variables are now declared "const".
|
||||
|
||||
(ii) The code for \cx, which used the "case flipping" table to upper case
|
||||
lower case letters, now just substracts 32. This is ASCII-specific,
|
||||
lower case letters, now just subtracts 32. This is ASCII-specific,
|
||||
but the whole concept of \cx is ASCII-specific, so it seems
|
||||
reasonable.
|
||||
|
||||
|
@ -360,7 +360,7 @@ reference number if the reference is to a unique capturing group (either by
|
||||
number or by name). When named groups are used, there may be more than one
|
||||
group with the same name. In this case, a reference by name generates OP_DNREF
|
||||
or OP_DNREFI. These are followed by two counts: the index (not the byte offset)
|
||||
in the group name table of the first entry for the requred name, followed by
|
||||
in the group name table of the first entry for the required name, followed by
|
||||
the number of groups with the same name.
|
||||
|
||||
|
||||
|
@ -392,7 +392,7 @@ library. They are also documented in the pcrebuild man page.
|
||||
avoided by linking with libedit (which has a BSD licence) instead.
|
||||
|
||||
Enabling libreadline causes the -lreadline option to be added to the pcretest
|
||||
build. In many operating environments with a sytem-installed readline
|
||||
build. In many operating environments with a system-installed readline
|
||||
library this is sufficient. However, in some environments (e.g. if an
|
||||
unmodified distribution version of readline is in use), it may be necessary
|
||||
to specify something like LIBS="-lncurses" as well. This is because, to quote
|
||||
|
@ -1242,7 +1242,7 @@ PCRETEST OPTION FOR LIBREADLINE SUPPORT
|
||||
pcretest linked in this way, there may be licensing issues.
|
||||
|
||||
Setting this option causes the -lreadline option to be added to the
|
||||
pcretest build. In many operating environments with a sytem-installed
|
||||
pcretest build. In many operating environments with a system-installed
|
||||
libreadline this is sufficient. However, in some environments (e.g. if
|
||||
an unmodified distribution version of readline is in use), some extra
|
||||
configuration may be necessary. The INSTALL file for libreadline says
|
||||
|
@ -1038,7 +1038,7 @@ for (;;)
|
||||
the result of a recursive call to match() whatever happened so it was
|
||||
possible to reduce stack usage by turning this into a tail recursion,
|
||||
except in the case of a possibly empty group. However, now that there is
|
||||
the possiblity of (*THEN) occurring in the final alternative, this
|
||||
the possibility of (*THEN) occurring in the final alternative, this
|
||||
optimization is no longer always possible.
|
||||
|
||||
We can optimize if we know there are no (*THEN)s in the pattern; at present
|
||||
|
@ -68,7 +68,7 @@ appropriately for an application, not for building PCRE. */
|
||||
#include "pcre.h"
|
||||
#include "pcre_internal.h"
|
||||
|
||||
/* These are the funtions that are contained within. It doesn't seem worth
|
||||
/* These are the functions that are contained within. It doesn't seem worth
|
||||
having a separate .h file just for this. */
|
||||
|
||||
#endif /* PCRE_INCLUDED */
|
||||
|
@ -988,7 +988,7 @@ do
|
||||
tcode = set_table_bit(start_bits, tcode + 1, TRUE, cd, utf);
|
||||
break;
|
||||
|
||||
/* Single-char upto sets the bit and tries the next */
|
||||
/* Single-char up to sets the bit and tries the next */
|
||||
|
||||
case OP_UPTO:
|
||||
case OP_MINUPTO:
|
||||
|
@ -144,7 +144,7 @@ if (rc < 0)
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Match succeded */
|
||||
/* Match succeeded */
|
||||
|
||||
printf("\nMatch succeeded at offset %d\n", ovector[0]);
|
||||
|
||||
@ -362,7 +362,7 @@ for (;;)
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Match succeded */
|
||||
/* Match succeeded */
|
||||
|
||||
printf("\nMatch succeeded again at offset %d\n", ovector[0]);
|
||||
|
||||
|
@ -1428,7 +1428,7 @@ SLJIT_API_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_cmp(struct sljit_compiler
|
||||
#endif
|
||||
|
||||
if (SLJIT_UNLIKELY((src1 & SLJIT_IMM) && !(src2 & SLJIT_IMM))) {
|
||||
/* Immediate is prefered as second argument by most architectures. */
|
||||
/* Immediate is preferred as second argument by most architectures. */
|
||||
switch (condition) {
|
||||
case SLJIT_C_LESS:
|
||||
condition = SLJIT_C_GREATER;
|
||||
|
@ -90,7 +90,7 @@ of sljitConfigInternal.h */
|
||||
#define SLJIT_SUCCESS 0
|
||||
/* After the call of sljit_generate_code(), the error code of the compiler
|
||||
is set to this value to avoid future sljit calls (in debug mode at least).
|
||||
The complier should be freed after sljit_generate_code(). */
|
||||
The compiler should be freed after sljit_generate_code(). */
|
||||
#define SLJIT_ERR_COMPILED 1
|
||||
/* Cannot allocate non executable memory. */
|
||||
#define SLJIT_ERR_ALLOC_FAILED 2
|
||||
@ -898,7 +898,7 @@ SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const(struct sljit_compi
|
||||
|
||||
/* After the code generation the address for label, jump and const instructions
|
||||
are computed. Since these structures are freed by sljit_free_compiler, the
|
||||
addresses must be preserved by the user program elsewere. */
|
||||
addresses must be preserved by the user program elsewhere. */
|
||||
static SLJIT_INLINE sljit_uw sljit_get_label_addr(struct sljit_label *label) { return label->addr; }
|
||||
static SLJIT_INLINE sljit_uw sljit_get_jump_addr(struct sljit_jump *jump) { return jump->addr; }
|
||||
static SLJIT_INLINE sljit_uw sljit_get_const_addr(struct sljit_const *const_) { return const_->addr; }
|
||||
|
@ -304,7 +304,7 @@ static sljit_uw patch_pc_relative_loads(sljit_uw *last_pc_patch, sljit_uw *code_
|
||||
return counter;
|
||||
}
|
||||
|
||||
/* In some rare ocasions we may need future patches. The probability is close to 0 in practice. */
|
||||
/* In some rare occasions we may need future patches. The probability is close to 0 in practice. */
|
||||
struct future_patch {
|
||||
struct future_patch* next;
|
||||
sljit_si index;
|
||||
@ -1205,7 +1205,7 @@ static sljit_si generate_int(struct sljit_compiler *compiler, sljit_si reg, slji
|
||||
sljit_uw imm2;
|
||||
sljit_si rol;
|
||||
|
||||
/* Step1: Search a zero byte (8 continous zero bit). */
|
||||
/* Step1: Search a zero byte (8 continuous zero bit). */
|
||||
mask = 0xff000000;
|
||||
rol = 8;
|
||||
while(1) {
|
||||
|
@ -1843,7 +1843,7 @@ static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, slj
|
||||
if (src1 != dst)
|
||||
overflow_ra = reg_map[src1];
|
||||
else {
|
||||
/* Rare ocasion. */
|
||||
/* Rare occasion. */
|
||||
FAIL_IF(ADD(TMP_EREG2, reg_map[src1], ZERO));
|
||||
overflow_ra = TMP_EREG2;
|
||||
}
|
||||
|
@ -472,7 +472,7 @@ static void pdo_stmt_construct(zend_execute_data *execute_data, pdo_stmt_t *stmt
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto object PDO::prepare(string statment [, array options])
|
||||
/* {{{ proto object PDO::prepare(string statement [, array options])
|
||||
Prepares a statement for execution and returns a statement object */
|
||||
static PHP_METHOD(PDO, prepare)
|
||||
{
|
||||
|
@ -2016,7 +2016,7 @@ static PHP_METHOD(PDOStatement, setFetchMode)
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto bool PDOStatement::nextRowset()
|
||||
Advances to the next rowset in a multi-rowset statement handle. Returns true if it succeded, false otherwise */
|
||||
Advances to the next rowset in a multi-rowset statement handle. Returns true if it succeeded, false otherwise */
|
||||
|
||||
static int pdo_stmt_do_next_rowset(pdo_stmt_t *stmt TSRMLS_DC)
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
--TEST--
|
||||
PDO Common: Bug #39656 (Crash when calling fetch() on a PDO statment object after closeCursor())
|
||||
PDO Common: Bug #39656 (Crash when calling fetch() on a PDO statement object after closeCursor())
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded('pdo')) die('skip');
|
||||
|
@ -49,7 +49,7 @@ MySQLPDOTest::skip();
|
||||
}
|
||||
|
||||
if ($label !== $value) {
|
||||
printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d charachters). Check manually\n",
|
||||
printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n",
|
||||
$offset, strlen($label), strlen($value));
|
||||
return false;
|
||||
}
|
||||
@ -64,7 +64,7 @@ MySQLPDOTest::skip();
|
||||
$ret = $stmt->fetch(PDO::FETCH_ASSOC);
|
||||
|
||||
if ($ret['label'] !== $value) {
|
||||
printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d charachters). Check manually\n",
|
||||
printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n",
|
||||
$offset, strlen($ret['label']), strlen($value));
|
||||
return false;
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ 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 upto 7.2.2.
|
||||
I've tested up to 7.2.2.
|
||||
|
||||
==== TODO List ===
|
||||
Make pg_convert() smater.
|
||||
|
@ -1373,7 +1373,7 @@ static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
/* ensure that the link did not die */
|
||||
if (PGG(auto_reset_persistent) & 1) {
|
||||
/* need to send & get something from backend to
|
||||
make sure we catch CONNECTION_BAD everytime */
|
||||
make sure we catch CONNECTION_BAD every time */
|
||||
PGresult *pg_result;
|
||||
pg_result = PQexec(le->ptr, "select 1");
|
||||
PQclear(pg_result);
|
||||
@ -1478,7 +1478,7 @@ static void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
}
|
||||
PGG(num_links)++;
|
||||
}
|
||||
/* set notice processer */
|
||||
/* set notice processor */
|
||||
if (! PGG(ignore_notices) && Z_TYPE_P(return_value) == IS_RESOURCE) {
|
||||
PQsetNoticeProcessor(pgsql, _php_pgsql_notice_handler, (void*)Z_RES_HANDLE_P(return_value));
|
||||
}
|
||||
@ -4344,7 +4344,7 @@ PHP_FUNCTION(pg_escape_bytea)
|
||||
#endif
|
||||
to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
|
||||
|
||||
RETVAL_STRINGL(to, to_len-1); /* to_len includes addtional '\0' */
|
||||
RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
@ -564,7 +564,7 @@ static void phar_fancy_stat(zend_stat_t *stat_sb, int type, zval *return_value T
|
||||
#else
|
||||
ZVAL_LONG(&stat_blocks,-1);
|
||||
#endif
|
||||
/* Store numeric indexes in propper order */
|
||||
/* Store numeric indexes in proper order */
|
||||
zend_hash_next_index_insert(HASH_OF(return_value), &stat_dev);
|
||||
zend_hash_next_index_insert(HASH_OF(return_value), &stat_ino);
|
||||
zend_hash_next_index_insert(HASH_OF(return_value), &stat_mode);
|
||||
|
@ -6,7 +6,7 @@ Shared Memory Operations Extension to PHP
|
||||
to communicate the deamon via SHM. PHP already had a shared memory
|
||||
extension (sysvshm) written by Christian Cartus <cartus@atrior.de>,
|
||||
unfortunately this extension was designed with PHP only in mind and
|
||||
offers high level features which are extremly bothersome for basic SHM
|
||||
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 :)).
|
||||
|
@ -1588,7 +1588,7 @@ PHP_FUNCTION(snmpwalk)
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto mixed snmprealwalk(string host, string community, mixed object_id [, int timeout [, int retries]])
|
||||
Return all objects including their respective object id withing the specified one */
|
||||
Return all objects including their respective object id within the specified one */
|
||||
PHP_FUNCTION(snmprealwalk)
|
||||
{
|
||||
php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU, SNMP_CMD_WALK, SNMP_VERSION_1);
|
||||
@ -1616,7 +1616,7 @@ PHP_FUNCTION(snmp_get_quick_print)
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto bool snmp_set_quick_print(int quick_print)
|
||||
Return all objects including their respective object id withing the specified one */
|
||||
Return all objects including their respective object id within the specified one */
|
||||
PHP_FUNCTION(snmp_set_quick_print)
|
||||
{
|
||||
zend_long a1;
|
||||
@ -1698,7 +1698,7 @@ PHP_FUNCTION(snmp2_walk)
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto mixed snmp2_real_walk(string host, string community, mixed object_id [, int timeout [, int retries]])
|
||||
Return all objects including their respective object id withing the specified one */
|
||||
Return all objects including their respective object id within the specified one */
|
||||
PHP_FUNCTION(snmp2_real_walk)
|
||||
{
|
||||
php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU, SNMP_CMD_WALK, SNMP_VERSION_2c);
|
||||
@ -1893,7 +1893,7 @@ PHP_METHOD(snmp, getnext)
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto mixed SNMP::walk(mixed object_id [, bool $suffix_as_key = FALSE [, int $max_repetitions [, int $non_repeaters]])
|
||||
Return all objects including their respective object id withing the specified one as array of oid->value pairs */
|
||||
Return all objects including their respective object id within the specified one as array of oid->value pairs */
|
||||
PHP_METHOD(snmp, walk)
|
||||
{
|
||||
php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU, SNMP_CMD_WALK, (-1));
|
||||
|
@ -18,7 +18,7 @@ when using wsdls and function names are similar find the best match
|
||||
void test(int);
|
||||
void test(string);
|
||||
maybe use the same alogrithim as ext/java.
|
||||
investigate further http keep_alive... inital testing proved slower.. maybe php_streams will speed things up..
|
||||
investigate further http keep_alive... initial testing proved slower.. maybe php_streams will speed things up..
|
||||
provide schema 1999/2001 support....
|
||||
through memory leak testing
|
||||
possible using shared memory for sdl caching...
|
||||
|
@ -93,7 +93,7 @@ class Interop_Client
|
||||
function _fetchEndpoints(&$soapclient, $test) {
|
||||
$this->_getEndpoints($test, 1);
|
||||
|
||||
// retreive endpoints from the endpoint server
|
||||
// retrieve endpoints from the endpoint server
|
||||
$endpointArray = $soapclient->__soapCall("GetEndpointInfo",array("groupName"=>$test),array('soapaction'=>"http://soapinterop.org/",'uri'=>"http://soapinterop.org/"));
|
||||
if (is_soap_fault($endpointArray) || PEAR::isError($endpointArray)) {
|
||||
if ($this->html) print "<pre>";
|
||||
@ -133,7 +133,7 @@ class Interop_Client
|
||||
|
||||
/**
|
||||
* fetchEndpoints
|
||||
* retreive endpoints interop server
|
||||
* retrieve endpoints interop server
|
||||
*
|
||||
* @return boolean result
|
||||
* @access private
|
||||
@ -158,7 +158,7 @@ class Interop_Client
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
// retreive all endpoints now
|
||||
// retrieve all endpoints now
|
||||
$this->currentTest = $test;
|
||||
$x = $this->_getEndpoints($test);
|
||||
return $x;
|
||||
@ -166,7 +166,7 @@ class Interop_Client
|
||||
|
||||
/**
|
||||
* getEndpoints
|
||||
* retreive endpoints from either database or interop server
|
||||
* retrieve endpoints from either database or interop server
|
||||
*
|
||||
* @param string base (see local var $tests)
|
||||
* @param boolean all (if false, only get valid endpoints, status=1)
|
||||
@ -182,7 +182,7 @@ class Interop_Client
|
||||
|
||||
/**
|
||||
* _getEndpoints
|
||||
* retreive endpoints from database
|
||||
* retrieve endpoints from database
|
||||
*
|
||||
* @param string base (see local var $tests)
|
||||
* @param boolean all (if false, only get valid endpoints, status=1)
|
||||
@ -222,7 +222,7 @@ class Interop_Client
|
||||
|
||||
/**
|
||||
* getResults
|
||||
* retreive results from the database, stuff them into the endpoint array
|
||||
* retrieve results from the database, stuff them into the endpoint array
|
||||
*
|
||||
* @access private
|
||||
*/
|
||||
@ -230,7 +230,7 @@ class Interop_Client
|
||||
// be sure we have the right endpoints for this test result
|
||||
$this->getEndpoints($test);
|
||||
|
||||
// retreive the results and put them into the endpoint info
|
||||
// retrieve the results and put them into the endpoint info
|
||||
$sql = "select * from results where class='$test' and type='$type' and wsdl=$wsdl";
|
||||
$results = $this->dbc->getAll($sql,NULL, DB_FETCHMODE_ASSOC );
|
||||
foreach ($results as $result) {
|
||||
@ -657,12 +657,12 @@ try {
|
||||
|
||||
/**
|
||||
* getResults
|
||||
* retreive results from the database, stuff them into the endpoint array
|
||||
* retrieve results from the database, stuff them into the endpoint array
|
||||
*
|
||||
* @access private
|
||||
*/
|
||||
function getMethodList($test = 'base') {
|
||||
// retreive the results and put them into the endpoint info
|
||||
// retrieve the results and put them into the endpoint info
|
||||
$sql = "select distinct(function) from results where class='$test' order by function";
|
||||
$results = $this->dbc->getAll($sql);
|
||||
$ar = array();
|
||||
|
@ -34,7 +34,7 @@
|
||||
<date>2002-07-07</date>
|
||||
<state>alpha</state>
|
||||
<notes>
|
||||
- First offical PEAR/PECL release
|
||||
- First official PEAR/PECL release
|
||||
</notes>
|
||||
</release>
|
||||
<filelist>
|
||||
|
@ -87,7 +87,7 @@ struct _sdlBinding {
|
||||
void *bindingAttributes; /* sdlSoapBindingPtr */
|
||||
};
|
||||
|
||||
/* Soap Binding Specfic stuff */
|
||||
/* Soap Binding Specific stuff */
|
||||
struct _sdlSoapBinding {
|
||||
sdlEncodingStyle style;
|
||||
sdlTransport transport; /* not implemented yet */
|
||||
|
@ -92,7 +92,7 @@ struct _soapService {
|
||||
zend_class_entry *ce;
|
||||
zval *argv;
|
||||
int argc;
|
||||
int persistance;
|
||||
int persistence;
|
||||
} soap_class;
|
||||
|
||||
zval soap_object;
|
||||
|
@ -1259,7 +1259,7 @@ PHP_METHOD(SoapServer, setPersistence)
|
||||
if (service->type == SOAP_CLASS) {
|
||||
if (value == SOAP_PERSISTENCE_SESSION ||
|
||||
value == SOAP_PERSISTENCE_REQUEST) {
|
||||
service->soap_class.persistance = value;
|
||||
service->soap_class.persistence = value;
|
||||
} else {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to set persistence with bogus value (%pd)", value);
|
||||
return;
|
||||
@ -1299,7 +1299,7 @@ PHP_METHOD(SoapServer, setClass)
|
||||
service->type = SOAP_CLASS;
|
||||
service->soap_class.ce = ce;
|
||||
|
||||
service->soap_class.persistance = SOAP_PERSISTENCE_REQUEST;
|
||||
service->soap_class.persistence = SOAP_PERSISTENCE_REQUEST;
|
||||
service->soap_class.argc = num_args;
|
||||
if (service->soap_class.argc > 0) {
|
||||
int i;
|
||||
@ -1657,7 +1657,7 @@ PHP_METHOD(SoapServer, handle)
|
||||
} else if (service->type == SOAP_CLASS) {
|
||||
#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
|
||||
/* If persistent then set soap_obj from from the previous created session (if available) */
|
||||
if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) {
|
||||
if (service->soap_class.persistence == SOAP_PERSISTENCE_SESSION) {
|
||||
zval *tmp_soap;
|
||||
zval *session_vars;
|
||||
|
||||
@ -1741,7 +1741,7 @@ PHP_METHOD(SoapServer, handle)
|
||||
}
|
||||
#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
|
||||
/* If session then update session hash with new object */
|
||||
if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) {
|
||||
if (service->soap_class.persistence == SOAP_PERSISTENCE_SESSION) {
|
||||
zval *tmp_soap_pp;
|
||||
zval *session_vars = &PS(http_session_vars);
|
||||
|
||||
@ -1848,7 +1848,7 @@ PHP_METHOD(SoapServer, handle)
|
||||
call_status = call_user_function(NULL, soap_obj, &function_name, &retval, num_params, params TSRMLS_CC);
|
||||
if (service->type == SOAP_CLASS) {
|
||||
#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
|
||||
if (service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) {
|
||||
if (service->soap_class.persistence != SOAP_PERSISTENCE_SESSION) {
|
||||
zval_ptr_dtor(soap_obj);
|
||||
soap_obj = NULL;
|
||||
}
|
||||
@ -1875,7 +1875,7 @@ PHP_METHOD(SoapServer, handle)
|
||||
}
|
||||
if (service->type == SOAP_CLASS) {
|
||||
#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
|
||||
if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) {
|
||||
if (soap_obj && service->soap_class.persistence != SOAP_PERSISTENCE_SESSION) {
|
||||
#else
|
||||
if (soap_obj) {
|
||||
#endif
|
||||
@ -1919,7 +1919,7 @@ PHP_METHOD(SoapServer, handle)
|
||||
}
|
||||
if (service->type == SOAP_CLASS) {
|
||||
#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
|
||||
if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) {
|
||||
if (soap_obj && service->soap_class.persistence != SOAP_PERSISTENCE_SESSION) {
|
||||
#else
|
||||
if (soap_obj) {
|
||||
#endif
|
||||
@ -3113,7 +3113,7 @@ PHP_METHOD(SoapClient, __doRequest)
|
||||
|
||||
/* {{{ proto void SoapClient::__setCookie(string name [, strung value])
|
||||
Sets cookie thet will sent with SOAP request.
|
||||
The call to this function will effect all folowing calls of SOAP methods.
|
||||
The call to this function will effect all following calls of SOAP methods.
|
||||
If value is not specified cookie is removed. */
|
||||
PHP_METHOD(SoapClient, __setCookie)
|
||||
{
|
||||
|
@ -726,7 +726,7 @@
|
||||
</element>
|
||||
<element name="genres">
|
||||
<annotation>
|
||||
<documentation xml:lang="en">Containes genre information where available for the program records. A program may have more than one genre with different relevence factors.</documentation>
|
||||
<documentation xml:lang="en">Contains genre information where available for the program records. A program may have more than one genre with different relevance factors.</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<sequence maxOccurs="unbounded">
|
||||
@ -749,7 +749,7 @@
|
||||
</element>
|
||||
<element name="relevance" type="xsd:int">
|
||||
<annotation>
|
||||
<documentation xml:lang="en">A relevence factor that applies to the genre classification for the program. A relevence factor of 1 indicates that this is the top-level genre under which the program is classified.</documentation>
|
||||
<documentation xml:lang="en">A relevance factor that applies to the genre classification for the program. A relevance factor of 1 indicates that this is the top-level genre under which the program is classified.</documentation>
|
||||
</annotation>
|
||||
</element>
|
||||
</sequence>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--TEST--
|
||||
Request #50698_2 (SoapClient should handle wsdls with some incompatiable endpoints -- EDGECASE: Large mix of compatiable and incompatiable endpoints.)
|
||||
Request #50698_2 (SoapClient should handle wsdls with some incompatiable endpoints -- EDGECASE: Large mix of compatible and incompatiable endpoints.)
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
--INI--
|
||||
|
@ -80,7 +80,7 @@ class RecursiveCachingIterator extends CachingIterator implements RecursiveItera
|
||||
/** @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 fucntion returns false so that getChildren does
|
||||
* constructor this function returns false so that getChildren does
|
||||
* not try to access those children.
|
||||
*/
|
||||
function hasChildren()
|
||||
|
@ -958,7 +958,7 @@ class SplFileInfo
|
||||
*
|
||||
* @param mode open mode
|
||||
* @param use_include_path whether to search include paths (don't use)
|
||||
* @param context resource context to pased to open function
|
||||
* @param context resource context to passed to open function
|
||||
* @throw RuntimeException if file cannot be opened (e.g. insufficient
|
||||
* access rights).
|
||||
* @return The opened file as a SplFileObject instance
|
||||
|
@ -1,5 +1,5 @@
|
||||
--TEST--
|
||||
Tries to create a SplFixedArray using the fromArray() function and a multi dimentional array.
|
||||
Tries to create a SplFixedArray using the fromArray() function and a multi dimensional array.
|
||||
--CREDITS--
|
||||
Philip Norton philipnorton42@gmail.com
|
||||
--FILE--
|
||||
|
@ -12,7 +12,7 @@ function LimitedScope()
|
||||
$myA = new myClass();
|
||||
$myB = new SplObjectStorage();
|
||||
$myC = new myClass();
|
||||
$myC->member = $myA; // myC has a referece to myA
|
||||
$myC->member = $myA; // myC has a reference to myA
|
||||
$myB->Attach($myC); // myB attaches myC
|
||||
$myA->member = $myB; // myA has myB, comleting the cycle
|
||||
}
|
||||
|
@ -10022,7 +10022,7 @@ SQLITE_PRIVATE void sqlite3PCacheSetDefault(void);
|
||||
** shared locks begins at SHARED_FIRST.
|
||||
**
|
||||
** The same locking strategy and
|
||||
** byte ranges are used for Unix. This leaves open the possiblity of having
|
||||
** byte ranges are used for Unix. This leaves open the possibility of having
|
||||
** clients on win95, winNT, and unix all talking to the same shared file
|
||||
** and all locking correctly. To do so would require that samba (or whatever
|
||||
** tool is being used for file sharing) implements locks correctly between
|
||||
@ -11971,7 +11971,7 @@ struct TriggerStep {
|
||||
u8 op; /* One of TK_DELETE, TK_UPDATE, TK_INSERT, TK_SELECT */
|
||||
u8 orconf; /* OE_Rollback etc. */
|
||||
Trigger *pTrig; /* The trigger that this step is a part of */
|
||||
Select *pSelect; /* SELECT statment or RHS of INSERT INTO .. SELECT ... */
|
||||
Select *pSelect; /* SELECT statement or RHS of INSERT INTO .. SELECT ... */
|
||||
Token target; /* Target table for DELETE, UPDATE, INSERT */
|
||||
Expr *pWhere; /* The WHERE clause for DELETE or UPDATE steps */
|
||||
ExprList *pExprList; /* SET clause for UPDATE. */
|
||||
@ -13019,7 +13019,7 @@ SQLITE_PRIVATE int sqlite3MemdebugNoType(void*,u8);
|
||||
**
|
||||
*************************************************************************
|
||||
**
|
||||
** This file contains definitions of global variables and contants.
|
||||
** This file contains definitions of global variables and constants.
|
||||
*/
|
||||
|
||||
/* An array to map all upper-case characters into their corresponding
|
||||
@ -13908,7 +13908,7 @@ struct Mem {
|
||||
#endif
|
||||
|
||||
/*
|
||||
** Each auxilliary data pointer stored by a user defined function
|
||||
** Each auxiliary data pointer stored by a user defined function
|
||||
** implementation calling sqlite3_set_auxdata() is stored in an instance
|
||||
** of this structure. All such structures associated with a single VM
|
||||
** are stored in a linked list headed at Vdbe.pAuxData. All are destroyed
|
||||
@ -17632,7 +17632,7 @@ SQLITE_PRIVATE const sqlite3_mem_methods *sqlite3MemGetMemsys3(void){
|
||||
** 1. All memory allocations sizes are rounded up to a power of 2.
|
||||
**
|
||||
** 2. If two adjacent free blocks are the halves of a larger block,
|
||||
** then the two blocks are coalesed into the single larger block.
|
||||
** then the two blocks are coalesced into the single larger block.
|
||||
**
|
||||
** 3. New memory is allocated from the first available free block.
|
||||
**
|
||||
@ -18570,7 +18570,7 @@ SQLITE_PRIVATE sqlite3_mutex_methods const *sqlite3DefaultMutex(void){
|
||||
|
||||
/*
|
||||
** The sqlite3_mutex.id, sqlite3_mutex.nRef, and sqlite3_mutex.owner fields
|
||||
** are necessary under two condidtions: (1) Debug builds and (2) using
|
||||
** are necessary under two conditions: (1) Debug builds and (2) using
|
||||
** home-grown mutexes. Encapsulate these conditions into a single #define.
|
||||
*/
|
||||
#if defined(SQLITE_DEBUG) || defined(SQLITE_HOMEGROWN_RECURSIVE_MUTEX)
|
||||
@ -21904,7 +21904,7 @@ SQLITE_PRIVATE void sqlite3ErrorMsg(Parse *pParse, const char *zFormat, ...){
|
||||
** occur.
|
||||
**
|
||||
** 2002-Feb-14: This routine is extended to remove MS-Access style
|
||||
** brackets from around identifers. For example: "[a-b-c]" becomes
|
||||
** brackets from around identifiers. For example: "[a-b-c]" becomes
|
||||
** "a-b-c".
|
||||
*/
|
||||
SQLITE_PRIVATE int sqlite3Dequote(char *z){
|
||||
@ -22146,7 +22146,7 @@ do_atof_calc:
|
||||
/* store the result */
|
||||
*pResult = result;
|
||||
|
||||
/* return true if number and no extra non-whitespace chracters after */
|
||||
/* return true if number and no extra non-whitespace characters after */
|
||||
return z>=zEnd && nDigits>0 && eValid && nonNum==0;
|
||||
#else
|
||||
return !sqlite3Atoi64(z, pResult, length, enc);
|
||||
@ -22837,7 +22837,7 @@ SQLITE_PRIVATE int sqlite3SafetyCheckSickOrOk(sqlite3 *db){
|
||||
}
|
||||
|
||||
/*
|
||||
** Attempt to add, substract, or multiply the 64-bit signed value iB against
|
||||
** Attempt to add, subtract, or multiply the 64-bit signed value iB against
|
||||
** the other 64-bit signed integer at *pA and store the result in *pA.
|
||||
** Return 0 on success. Or if the operation would have resulted in an
|
||||
** overflow, leave *pA unchanged and return 1.
|
||||
@ -26863,7 +26863,7 @@ static int unixRead(
|
||||
#endif
|
||||
|
||||
#if SQLITE_MAX_MMAP_SIZE>0
|
||||
/* Deal with as much of this read request as possible by transfering
|
||||
/* Deal with as much of this read request as possible by transferring
|
||||
** data from the memory mapping using memcpy(). */
|
||||
if( offset<pFile->mmapSize ){
|
||||
if( offset+amt <= pFile->mmapSize ){
|
||||
@ -26998,7 +26998,7 @@ static int unixWrite(
|
||||
#endif
|
||||
|
||||
#if SQLITE_MAX_MMAP_SIZE>0
|
||||
/* Deal with as much of this write request as possible by transfering
|
||||
/* Deal with as much of this write request as possible by transferring
|
||||
** data from the memory mapping using memcpy(). */
|
||||
if( offset<pFile->mmapSize ){
|
||||
if( offset+amt <= pFile->mmapSize ){
|
||||
@ -28557,7 +28557,7 @@ static int unixUnfetch(sqlite3_file *fd, i64 iOff, void *p){
|
||||
** looks at the filesystem type and tries to guess the best locking
|
||||
** strategy from that.
|
||||
**
|
||||
** For finder-funtion F, two objects are created:
|
||||
** For finder-function F, two objects are created:
|
||||
**
|
||||
** (1) The real finder-function named "FImpt()".
|
||||
**
|
||||
@ -29998,7 +29998,7 @@ static int unixGetLastError(sqlite3_vfs *NotUsed, int NotUsed2, char *NotUsed3){
|
||||
** setting the environment variable SQLITE_FORCE_PROXY_LOCKING to 1 will
|
||||
** force proxy locking to be used for every database file opened, and 0
|
||||
** will force automatic proxy locking to be disabled for all database
|
||||
** files (explicity calling the SQLITE_SET_LOCKPROXYFILE pragma or
|
||||
** files (explicitly calling the SQLITE_SET_LOCKPROXYFILE pragma or
|
||||
** sqlite_file_control API is not affected by SQLITE_FORCE_PROXY_LOCKING).
|
||||
*/
|
||||
|
||||
@ -30529,7 +30529,7 @@ static int proxyTakeConch(unixFile *pFile){
|
||||
fprintf(stderr, "fchmod %o FAILED with %d %s\n",
|
||||
cmode, code, strerror(code));
|
||||
} else {
|
||||
fprintf(stderr, "fchmod %o SUCCEDED\n",cmode);
|
||||
fprintf(stderr, "fchmod %o SUCCEEDED\n",cmode);
|
||||
}
|
||||
}else{
|
||||
int code = errno;
|
||||
@ -33761,7 +33761,7 @@ static int winRead(
|
||||
pFile->h, pBuf, amt, offset, pFile->locktype));
|
||||
|
||||
#if SQLITE_MAX_MMAP_SIZE>0
|
||||
/* Deal with as much of this read request as possible by transfering
|
||||
/* Deal with as much of this read request as possible by transferring
|
||||
** data from the memory mapping using memcpy(). */
|
||||
if( offset<pFile->mmapSize ){
|
||||
if( offset+amt <= pFile->mmapSize ){
|
||||
@ -33833,7 +33833,7 @@ static int winWrite(
|
||||
pFile->h, pBuf, amt, offset, pFile->locktype));
|
||||
|
||||
#if SQLITE_MAX_MMAP_SIZE>0
|
||||
/* Deal with as much of this write request as possible by transfering
|
||||
/* Deal with as much of this write request as possible by transferring
|
||||
** data from the memory mapping using memcpy(). */
|
||||
if( offset<pFile->mmapSize ){
|
||||
if( offset+amt <= pFile->mmapSize ){
|
||||
@ -33965,7 +33965,7 @@ static int winTruncate(sqlite3_file *id, sqlite3_int64 nByte){
|
||||
#ifdef SQLITE_TEST
|
||||
/*
|
||||
** Count the number of fullsyncs and normal syncs. This is used to test
|
||||
** that syncs and fullsyncs are occuring at the right times.
|
||||
** that syncs and fullsyncs are occurring at the right times.
|
||||
*/
|
||||
SQLITE_API int sqlite3_sync_count = 0;
|
||||
SQLITE_API int sqlite3_fullsync_count = 0;
|
||||
@ -39330,8 +39330,8 @@ SQLITE_PRIVATE int sqlite3RowSetNext(RowSet *p, i64 *pRowid){
|
||||
** Check to see if element iRowid was inserted into the rowset as
|
||||
** part of any insert batch prior to iBatch. Return 1 or 0.
|
||||
**
|
||||
** If this is the first test of a new batch and if there exist entires
|
||||
** on pRowSet->pEntry, then sort those entires into the forest at
|
||||
** If this is the first test of a new batch and if there exist entries
|
||||
** on pRowSet->pEntry, then sort those entries into the forest at
|
||||
** pRowSet->pForest so that they can be tested.
|
||||
*/
|
||||
SQLITE_PRIVATE int sqlite3RowSetTest(RowSet *pRowSet, u8 iBatch, sqlite3_int64 iRowid){
|
||||
@ -39613,7 +39613,7 @@ SQLITE_PRIVATE int sqlite3WalFramesize(Wal *pWal);
|
||||
** Definition: Two databases (or the same database at two points it time)
|
||||
** are said to be "logically equivalent" if they give the same answer to
|
||||
** all queries. Note in particular the content of freelist leaf
|
||||
** pages can be changed arbitarily without effecting the logical equivalence
|
||||
** pages can be changed arbitrarily without effecting the logical equivalence
|
||||
** of the database.
|
||||
**
|
||||
** (7) At any time, if any subset, including the empty set and the total set,
|
||||
@ -39838,7 +39838,7 @@ int sqlite3PagerTrace=1; /* True to enable tracing */
|
||||
** outstanding transactions have been abandoned, the pager is able to
|
||||
** transition back to OPEN state, discarding the contents of the
|
||||
** page-cache and any other in-memory state at the same time. Everything
|
||||
** is reloaded from disk (and, if necessary, hot-journal rollback peformed)
|
||||
** is reloaded from disk (and, if necessary, hot-journal rollback performed)
|
||||
** when a read-transaction is next opened on the pager (transitioning
|
||||
** the pager into READER state). At that point the system has recovered
|
||||
** from the error.
|
||||
@ -41196,7 +41196,7 @@ static int writeMasterJournal(Pager *pPager, const char *zMaster){
|
||||
}
|
||||
pPager->journalOff += (nMaster+20);
|
||||
|
||||
/* If the pager is in peristent-journal mode, then the physical
|
||||
/* If the pager is in persistent-journal mode, then the physical
|
||||
** journal-file may extend past the end of the master-journal name
|
||||
** and 8 bytes of magic data just written to the file. This is
|
||||
** dangerous because the code to rollback a hot-journal file
|
||||
@ -41369,7 +41369,7 @@ static void pager_unlock(Pager *pPager){
|
||||
|
||||
/*
|
||||
** This function is called whenever an IOERR or FULL error that requires
|
||||
** the pager to transition into the ERROR state may ahve occurred.
|
||||
** the pager to transition into the ERROR state may have occurred.
|
||||
** The first argument is a pointer to the pager structure, the second
|
||||
** the error-code about to be returned by a pager API function. The
|
||||
** value returned is a copy of the second argument to this function.
|
||||
@ -48080,7 +48080,7 @@ SQLITE_PRIVATE int sqlite3WalOpen(
|
||||
}
|
||||
|
||||
/*
|
||||
** Change the size to which the WAL file is trucated on each reset.
|
||||
** Change the size to which the WAL file is truncated on each reset.
|
||||
*/
|
||||
SQLITE_PRIVATE void sqlite3WalLimit(Wal *pWal, i64 iLimit){
|
||||
if( pWal ) pWal->mxWalSize = iLimit;
|
||||
@ -54531,7 +54531,7 @@ SQLITE_PRIVATE int sqlite3BtreeCloseCursor(BtCursor *pCur){
|
||||
** compiler to crash when getCellInfo() is implemented as a macro.
|
||||
** But there is a measureable speed advantage to using the macro on gcc
|
||||
** (when less compiler optimizations like -Os or -O0 are used and the
|
||||
** compiler is not doing agressive inlining.) So we use a real function
|
||||
** compiler is not doing aggressive inlining.) So we use a real function
|
||||
** for MSVC and a macro for everything else. Ticket #2457.
|
||||
*/
|
||||
#ifndef NDEBUG
|
||||
@ -54929,7 +54929,7 @@ static int accessPayload(
|
||||
|
||||
/*
|
||||
** Read part of the key associated with cursor pCur. Exactly
|
||||
** "amt" bytes will be transfered into pBuf[]. The transfer
|
||||
** "amt" bytes will be transferred into pBuf[]. The transfer
|
||||
** begins at "offset".
|
||||
**
|
||||
** The caller must ensure that pCur is pointing to a valid row
|
||||
@ -54949,7 +54949,7 @@ SQLITE_PRIVATE int sqlite3BtreeKey(BtCursor *pCur, u32 offset, u32 amt, void *pB
|
||||
|
||||
/*
|
||||
** Read part of the data associated with cursor pCur. Exactly
|
||||
** "amt" bytes will be transfered into pBuf[]. The transfer
|
||||
** "amt" bytes will be transferred into pBuf[]. The transfer
|
||||
** begins at "offset".
|
||||
**
|
||||
** Return SQLITE_OK on success or an error code if anything goes
|
||||
@ -62945,7 +62945,7 @@ SQLITE_PRIVATE void sqlite3VdbeRewind(Vdbe *p){
|
||||
**
|
||||
** This function may be called exact once on a each virtual machine.
|
||||
** After this routine is called the VM has been "packaged" and is ready
|
||||
** to run. After this routine is called, futher calls to
|
||||
** to run. After this routine is called, further calls to
|
||||
** sqlite3VdbeAddOp() functions are prohibited. This routine disconnects
|
||||
** the Vdbe from the Parse object that helped generate it so that the
|
||||
** the Vdbe becomes an independent entity and the Parse object can be
|
||||
@ -62997,7 +62997,7 @@ SQLITE_PRIVATE void sqlite3VdbeMakeReady(
|
||||
/* Allocate space for memory registers, SQL variables, VDBE cursors and
|
||||
** an array to marshal SQL function arguments in.
|
||||
*/
|
||||
zCsr = (u8*)&p->aOp[p->nOp]; /* Memory avaliable for allocation */
|
||||
zCsr = (u8*)&p->aOp[p->nOp]; /* Memory available for allocation */
|
||||
zEnd = (u8*)&p->aOp[pParse->nOpAlloc]; /* First byte past end of zCsr[] */
|
||||
|
||||
resolveP2Values(p, &nArg);
|
||||
@ -63323,7 +63323,7 @@ static int vdbeCommit(sqlite3 *db, Vdbe *p){
|
||||
|
||||
/* The complex case - There is a multi-file write-transaction active.
|
||||
** This requires a master journal file to ensure the transaction is
|
||||
** committed atomicly.
|
||||
** committed atomically.
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_DISKIO
|
||||
else{
|
||||
@ -65560,7 +65560,7 @@ SQLITE_API int sqlite3_value_type(sqlite3_value* pVal){
|
||||
** The following routines are used by user-defined functions to specify
|
||||
** the function result.
|
||||
**
|
||||
** The setStrOrError() funtion calls sqlite3VdbeMemSetStr() to store the
|
||||
** The setStrOrError() function calls sqlite3VdbeMemSetStr() to store the
|
||||
** result as a string or blob but if the string or blob is too large, it
|
||||
** then sets the error code to SQLITE_TOOBIG
|
||||
*/
|
||||
@ -65981,7 +65981,7 @@ SQLITE_API void *sqlite3_aggregate_context(sqlite3_context *p, int nByte){
|
||||
}
|
||||
|
||||
/*
|
||||
** Return the auxilary data pointer, if any, for the iArg'th argument to
|
||||
** Return the auxiliary data pointer, if any, for the iArg'th argument to
|
||||
** the user-function defined by pCtx.
|
||||
*/
|
||||
SQLITE_API void *sqlite3_get_auxdata(sqlite3_context *pCtx, int iArg){
|
||||
@ -65996,7 +65996,7 @@ SQLITE_API void *sqlite3_get_auxdata(sqlite3_context *pCtx, int iArg){
|
||||
}
|
||||
|
||||
/*
|
||||
** Set the auxilary data pointer and delete function, for the iArg'th
|
||||
** Set the auxiliary data pointer and delete function, for the iArg'th
|
||||
** argument to the user-function defined by pCtx. Any previous value is
|
||||
** deleted by calling the delete function specified when it was set.
|
||||
*/
|
||||
@ -75506,7 +75506,7 @@ SQLITE_PRIVATE int sqlite3MemJournalSize(void){
|
||||
|
||||
/*
|
||||
** Walk an expression tree. Invoke the callback once for each node
|
||||
** of the expression, while decending. (In other words, the callback
|
||||
** of the expression, while descending. (In other words, the callback
|
||||
** is invoked before visiting children.)
|
||||
**
|
||||
** The return value from the callback should be one of the WRC_*
|
||||
@ -77026,7 +77026,7 @@ SQLITE_PRIVATE int sqlite3ResolveExprNames(
|
||||
|
||||
/*
|
||||
** Resolve all names in all expressions of a SELECT and in all
|
||||
** decendents of the SELECT, including compounds off of p->pPrior,
|
||||
** descendants of the SELECT, including compounds off of p->pPrior,
|
||||
** subqueries in expressions, and subqueries used as FROM clause
|
||||
** terms.
|
||||
**
|
||||
@ -77119,7 +77119,7 @@ SQLITE_PRIVATE void sqlite3ResolveSelfReference(
|
||||
** affinity of that column is returned. Otherwise, 0x00 is returned,
|
||||
** indicating no affinity for the expression.
|
||||
**
|
||||
** i.e. the WHERE clause expresssions in the following statements all
|
||||
** i.e. the WHERE clause expressions in the following statements all
|
||||
** have an affinity:
|
||||
**
|
||||
** CREATE TABLE t1(a);
|
||||
@ -77835,7 +77835,7 @@ static int exprStructSize(Expr *p){
|
||||
** Note that with flags==EXPRDUP_REDUCE, this routines works on full-size
|
||||
** (unreduced) Expr objects as they or originally constructed by the parser.
|
||||
** During expression analysis, extra information is computed and moved into
|
||||
** later parts of teh Expr object and that extra information might get chopped
|
||||
** later parts of the Expr object and that extra information might get chopped
|
||||
** off if the expression is reduced. Note also that it does not work to
|
||||
** make a EXPRDUP_REDUCE copy of a reduced expression. It is only legal
|
||||
** to reduce a pristine expression tree from the parser. The implementation
|
||||
@ -81503,7 +81503,7 @@ static void renameParentFunc(
|
||||
** ALTER TABLE command. The first argument is the text of a CREATE TRIGGER
|
||||
** statement. The second is a table name. The table name in the CREATE
|
||||
** TRIGGER statement is replaced with the third argument and the result
|
||||
** returned. This is analagous to renameTableFunc() above, except for CREATE
|
||||
** returned. This is analogous to renameTableFunc() above, except for CREATE
|
||||
** TRIGGER, not CREATE INDEX and CREATE TABLE.
|
||||
*/
|
||||
static void renameTriggerFunc(
|
||||
@ -83682,7 +83682,7 @@ static void initAvgEq(Index *pIdx){
|
||||
/* Set nSum to the number of distinct (iCol+1) field prefixes that
|
||||
** occur in the stat4 table for this index before pFinal. Set
|
||||
** sumEq to the sum of the nEq values for column iCol for the same
|
||||
** set (adding the value only once where there exist dupicate
|
||||
** set (adding the value only once where there exist duplicate
|
||||
** prefixes). */
|
||||
for(i=0; i<(pIdx->nSample-1); i++){
|
||||
if( aSample[i].anDLt[iCol]!=aSample[i+1].anDLt[iCol] ){
|
||||
@ -95333,7 +95333,7 @@ static int xferOptimization(
|
||||
}
|
||||
#endif
|
||||
#ifndef SQLITE_OMIT_FOREIGN_KEY
|
||||
/* Disallow the transfer optimization if the destination table constains
|
||||
/* Disallow the transfer optimization if the destination table contains
|
||||
** any foreign key constraints. This is more restrictive than necessary.
|
||||
** But the main beneficiary of the transfer optimization is the VACUUM
|
||||
** command, and the VACUUM command disables foreign key constraints. So
|
||||
@ -96561,7 +96561,7 @@ static int sqlite3LoadExtension(
|
||||
** entry point name "sqlite3_extension_init" was not found, then
|
||||
** construct an entry point name "sqlite3_X_init" where the X is
|
||||
** replaced by the lowercase value of every ASCII alphabetic
|
||||
** character in the filename after the last "/" upto the first ".",
|
||||
** character in the filename after the last "/" up to the first ".",
|
||||
** and eliding the first three characters if they are "lib".
|
||||
** Examples:
|
||||
**
|
||||
@ -101878,7 +101878,7 @@ static void generateWithRecursiveQuery(
|
||||
int iQueue; /* The Queue table */
|
||||
int iDistinct = 0; /* To ensure unique results if UNION */
|
||||
int eDest = SRT_Table; /* How to write to Queue */
|
||||
SelectDest destQueue; /* SelectDest targetting the Queue table */
|
||||
SelectDest destQueue; /* SelectDest targeting the Queue table */
|
||||
int i; /* Loop counter */
|
||||
int rc; /* Result code */
|
||||
ExprList *pOrderBy; /* The ORDER BY clause */
|
||||
@ -102383,7 +102383,7 @@ multi_select_end:
|
||||
|
||||
/*
|
||||
** Code an output subroutine for a coroutine implementation of a
|
||||
** SELECT statment.
|
||||
** SELECT statement.
|
||||
**
|
||||
** The data to be output is contained in pIn->iSdst. There are
|
||||
** pIn->nSdst columns to be output. pDest is where the output should
|
||||
@ -103184,7 +103184,7 @@ static int flattenSubquery(
|
||||
pSubSrc = pSub->pSrc;
|
||||
assert( pSubSrc );
|
||||
/* Prior to version 3.1.2, when LIMIT and OFFSET had to be simple constants,
|
||||
** not arbitrary expresssions, we allowed some combining of LIMIT and OFFSET
|
||||
** not arbitrary expressions, we allowed some combining of LIMIT and OFFSET
|
||||
** because they could be computed at compile-time. But when LIMIT and OFFSET
|
||||
** became arbitrary expressions, we were forced to add restrictions (13)
|
||||
** and (14). */
|
||||
@ -103570,7 +103570,7 @@ static u8 minMaxQuery(AggInfo *pAggInfo, ExprList **ppMinMax){
|
||||
|
||||
/*
|
||||
** The select statement passed as the first argument is an aggregate query.
|
||||
** The second argment is the associated aggregate-info object. This
|
||||
** The second argument is the associated aggregate-info object. This
|
||||
** function tests if the SELECT is of the form:
|
||||
**
|
||||
** SELECT count(*) FROM <tbl>
|
||||
@ -103903,7 +103903,7 @@ static void selectPopWith(Walker *pWalker, Select *p){
|
||||
** without worrying about messing up the presistent representation
|
||||
** of the view.
|
||||
**
|
||||
** (3) Add terms to the WHERE clause to accomodate the NATURAL keyword
|
||||
** (3) Add terms to the WHERE clause to accommodate the NATURAL keyword
|
||||
** on joins and the ON and USING clause of joins.
|
||||
**
|
||||
** (4) Scan the list of columns in the result set (pEList) looking
|
||||
@ -104871,7 +104871,7 @@ SQLITE_PRIVATE int sqlite3Select(
|
||||
*/
|
||||
if( pGroupBy ){
|
||||
KeyInfo *pKeyInfo; /* Keying information for the group by clause */
|
||||
int j1; /* A-vs-B comparision jump */
|
||||
int j1; /* A-vs-B comparison jump */
|
||||
int addrOutputRow; /* Start of subroutine that outputs a result row */
|
||||
int regOutputRow; /* Return address register for output subroutine */
|
||||
int addrSetAbort; /* Set the abort flag and return */
|
||||
@ -107168,7 +107168,7 @@ SQLITE_PRIVATE void sqlite3Update(
|
||||
}
|
||||
|
||||
/* Populate the array of registers beginning at regNew with the new
|
||||
** row data. This array is used to check constaints, create the new
|
||||
** row data. This array is used to check constraints, create the new
|
||||
** table and index records, and as the values for any new.* references
|
||||
** made by triggers.
|
||||
**
|
||||
@ -107542,7 +107542,7 @@ static int execExecSql(sqlite3 *db, char **pzErrMsg, const char *zSql){
|
||||
** step (3) requires additional temporary disk space approximately equal
|
||||
** to the size of the original database for the rollback journal.
|
||||
** Hence, temporary disk space that is approximately 2x the size of the
|
||||
** orginal database is required. Every page of the database is written
|
||||
** original database is required. Every page of the database is written
|
||||
** approximately 3 times: Once for step (2) and twice for step (3).
|
||||
** Two writes per page are required in step (3) because the original
|
||||
** database content must be written into the rollback journal prior to
|
||||
@ -109122,7 +109122,7 @@ static int whereLoopResize(sqlite3*, WhereLoop*, int);
|
||||
** 1. Then using those as a basis to compute the N best WherePath objects
|
||||
** of length 2. And so forth until the length of WherePaths equals the
|
||||
** number of nodes in the FROM clause. The best (lowest cost) WherePath
|
||||
** at the end is the choosen query plan.
|
||||
** at the end is the chosen query plan.
|
||||
*/
|
||||
struct WherePath {
|
||||
Bitmask maskLoop; /* Bitmask of all WhereLoop objects in this path */
|
||||
@ -110367,7 +110367,7 @@ static void exprAnalyzeOrTerm(
|
||||
}
|
||||
if( (chngToIN & getMask(&pWInfo->sMaskSet, pOrTerm->leftCursor))==0 ){
|
||||
/* This term must be of the form t1.a==t2.b where t2 is in the
|
||||
** chngToIN set but t1 is not. This term will be either preceeded
|
||||
** chngToIN set but t1 is not. This term will be either preceded
|
||||
** or follwed by an inverted copy (t2.b==t1.a). Skip this term
|
||||
** and use its inversion. */
|
||||
testcase( pOrTerm->wtFlags & TERM_COPIED );
|
||||
@ -111396,7 +111396,7 @@ static void whereKeyStats(
|
||||
** number of rows that the index scan is expected to visit without
|
||||
** considering the range constraints. If nEq is 0, this is the number of
|
||||
** rows in the index. Assuming no error occurs, *pnOut is adjusted (reduced)
|
||||
** to account for the range contraints pLower and pUpper.
|
||||
** to account for the range constraints pLower and pUpper.
|
||||
**
|
||||
** In the absence of sqlite_stat4 ANALYZE data, or if such data cannot be
|
||||
** used, each range inequality reduces the search space by a factor of 4.
|
||||
@ -114067,7 +114067,7 @@ static int whereLoopAddAll(WhereLoopBuilder *pBuilder){
|
||||
** strict. With GROUP BY and DISTINCT the only requirement is that
|
||||
** equivalent rows appear immediately adjacent to one another. GROUP BY
|
||||
** and DISTINT do not require rows to appear in any particular order as long
|
||||
** as equivelent rows are grouped together. Thus for GROUP BY and DISTINCT
|
||||
** as equivalent rows are grouped together. Thus for GROUP BY and DISTINCT
|
||||
** the pOrderBy terms can be matched in any order. With ORDER BY, the
|
||||
** pOrderBy terms must be matched in strict left-to-right order.
|
||||
*/
|
||||
@ -119734,7 +119734,7 @@ SQLITE_PRIVATE const char sqlite3IsEbcdicIdChar[];
|
||||
** a statement.
|
||||
**
|
||||
** (4) CREATE The keyword CREATE has been seen at the beginning of a
|
||||
** statement, possibly preceeded by EXPLAIN and/or followed by
|
||||
** statement, possibly preceded by EXPLAIN and/or followed by
|
||||
** TEMP or TEMPORARY
|
||||
**
|
||||
** (5) TRIGGER We are in the middle of a trigger definition that must be
|
||||
@ -119787,7 +119787,7 @@ SQLITE_API int sqlite3_complete(const char *zSql){
|
||||
};
|
||||
#else
|
||||
/* If triggers are not supported by this compile then the statement machine
|
||||
** used to detect the end of a statement is much simplier
|
||||
** used to detect the end of a statement is much simpler
|
||||
*/
|
||||
static const u8 trans[3][3] = {
|
||||
/* Token: */
|
||||
@ -124622,7 +124622,7 @@ struct Fts3Table {
|
||||
#endif
|
||||
|
||||
#ifdef SQLITE_TEST
|
||||
/* True to disable the incremental doclist optimization. This is controled
|
||||
/* True to disable the incremental doclist optimization. This is controlled
|
||||
** by special insert command 'test-no-incr-doclist'. */
|
||||
int bNoIncrDoclist;
|
||||
#endif
|
||||
@ -124665,7 +124665,7 @@ struct Fts3Cursor {
|
||||
|
||||
/*
|
||||
** The Fts3Cursor.eSearch member is always set to one of the following.
|
||||
** Actualy, Fts3Cursor.eSearch can be greater than or equal to
|
||||
** Actually, Fts3Cursor.eSearch can be greater than or equal to
|
||||
** FTS3_FULLTEXT_SEARCH. If so, then Fts3Cursor.eSearch - 2 is the index
|
||||
** of the column to be searched. For example, in
|
||||
**
|
||||
@ -132785,7 +132785,7 @@ static const char cType[] = {
|
||||
**
|
||||
** In these routine, the letters are in reverse order. So the 'y' rule
|
||||
** is that 'y' is a consonant unless it is followed by another
|
||||
** consonent.
|
||||
** consonant.
|
||||
*/
|
||||
static int isVowel(const char*);
|
||||
static int isConsonant(const char *z){
|
||||
@ -132881,7 +132881,7 @@ static int doubleConsonant(const char *z){
|
||||
|
||||
/*
|
||||
** Return TRUE if the word ends with three letters which
|
||||
** are consonant-vowel-consonent and where the final consonant
|
||||
** are consonant-vowel-consonant and where the final consonant
|
||||
** is not 'w', 'x', or 'y'.
|
||||
**
|
||||
** The word is reversed here. So we are really checking the
|
||||
@ -132897,7 +132897,7 @@ static int star_oh(const char *z){
|
||||
|
||||
/*
|
||||
** If the word ends with zFrom and xCond() is true for the stem
|
||||
** of the word that preceeds the zFrom ending, then change the
|
||||
** of the word that precedes the zFrom ending, then change the
|
||||
** ending to zTo.
|
||||
**
|
||||
** The input word *pz and zFrom are both in reverse order. zTo
|
||||
@ -139692,7 +139692,7 @@ SQLITE_PRIVATE int sqlite3Fts3DeferToken(
|
||||
/*
|
||||
** SQLite value pRowid contains the rowid of a row that may or may not be
|
||||
** present in the FTS3 table. If it is, delete it and adjust the contents
|
||||
** of subsiduary data structures accordingly.
|
||||
** of subsidiary data structures accordingly.
|
||||
*/
|
||||
static int fts3DeleteByRowid(
|
||||
Fts3Table *p,
|
||||
@ -140399,7 +140399,7 @@ static int fts3StringAppend(
|
||||
}
|
||||
|
||||
/* If there is insufficient space allocated at StrBuffer.z, use realloc()
|
||||
** to grow the buffer until so that it is big enough to accomadate the
|
||||
** to grow the buffer until so that it is big enough to accommodate the
|
||||
** appended data.
|
||||
*/
|
||||
if( pStr->n+nAppend+1>=pStr->nAlloc ){
|
||||
@ -141300,7 +141300,7 @@ SQLITE_PRIVATE void sqlite3Fts3Offsets(
|
||||
sCtx.iTerm = 0;
|
||||
(void)fts3ExprIterate(pCsr->pExpr, fts3ExprTermOffsetInit, (void *)&sCtx);
|
||||
|
||||
/* Retreive the text stored in column iCol. If an SQL NULL is stored
|
||||
/* Retrieve the text stored in column iCol. If an SQL NULL is stored
|
||||
** in column iCol, jump immediately to the next iteration of the loop.
|
||||
** If an OOM occurs while retrieving the data (this can happen if SQLite
|
||||
** needs to transform the data from utf-16 to utf-8), return SQLITE_NOMEM
|
||||
|
@ -517,7 +517,7 @@ no_results:
|
||||
continue;
|
||||
}
|
||||
}
|
||||
/* we need to do this everytime since GLOB_ONLYDIR does not guarantee that
|
||||
/* we need to do this every time since GLOB_ONLYDIR does not guarantee that
|
||||
* all directories will be filtered. GNU libc documentation states the
|
||||
* following:
|
||||
* If the information about the type of the file is easily available
|
||||
|
@ -1,4 +1,4 @@
|
||||
#039 0027 //artifical; there's no ' in HTML 4.01
|
||||
#039 0027 //artificial; there's no ' in HTML 4.01
|
||||
nbsp 00A0
|
||||
iexcl 00A1
|
||||
cent 00A2
|
||||
|
@ -461,7 +461,7 @@ static int php_read_APP(php_stream * stream, unsigned int marker, zval *info TSR
|
||||
snprintf(markername, sizeof(markername), "APP%d", marker - M_APP0);
|
||||
|
||||
if ((tmp = zend_hash_str_find(Z_ARRVAL_P(info), markername, strlen(markername))) == NULL) {
|
||||
/* XXX we onyl catch the 1st tag of it's kind! */
|
||||
/* XXX we only catch the 1st tag of it's kind! */
|
||||
add_assoc_stringl(info, markername, buffer, length);
|
||||
}
|
||||
|
||||
@ -533,7 +533,7 @@ static struct gfxinfo *php_handle_jpeg (php_stream * stream, zval *info TSRMLS_D
|
||||
case M_APP14:
|
||||
case M_APP15:
|
||||
if (info) {
|
||||
if (!php_read_APP(stream, marker, info TSRMLS_CC)) { /* read all the app markes... */
|
||||
if (!php_read_APP(stream, marker, info TSRMLS_CC)) { /* read all the app marks... */
|
||||
return result;
|
||||
}
|
||||
} else {
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
|
||||
#define SCAN_MAX_ARGS 0xFF /* Maximum number of variable which can be */
|
||||
/* passed to (f|s)scanf. This is an artifical */
|
||||
/* passed to (f|s)scanf. This is an artificial */
|
||||
/* upper limit to keep resources in check and */
|
||||
/* minimize the possibility of exploits */
|
||||
|
||||
|
@ -29,8 +29,8 @@ $integer_values = array(
|
||||
0Xfff,
|
||||
0XFA,
|
||||
-0x80000000, // max negative integer as hexadecimal
|
||||
0x7fffffff, // max postive integer as hexadecimal
|
||||
0x7FFFFFFF, // max postive integer as hexadecimal
|
||||
0x7fffffff, // max positive integer as hexadecimal
|
||||
0x7FFFFFFF, // max positive integer as hexadecimal
|
||||
0123, // integer as octal
|
||||
01912, // should be quivalent to octal 1
|
||||
-020000000000, // max negative integer as octal
|
||||
|
@ -25,8 +25,8 @@ $integer_values = array(
|
||||
0Xfff,
|
||||
0XFA,
|
||||
-0x80000000, // max negative integer as hexadecimal
|
||||
0x7fffffff, // max postive integer as hexadecimal
|
||||
0x7FFFFFFF, // max postive integer as hexadecimal
|
||||
0x7fffffff, // max positive integer as hexadecimal
|
||||
0x7FFFFFFF, // max positive integer as hexadecimal
|
||||
0123, // integer as octal
|
||||
01912, // should be quivalent to octal 1
|
||||
-020000000000, // max negative integer as octal
|
||||
|
@ -243,7 +243,7 @@ XMLRPC_VALUE xml_element_to_SOAP_REQUEST_worker(XMLRPC_REQUEST request,
|
||||
xCurrent = XMLRPC_CreateValueEmpty();
|
||||
}
|
||||
|
||||
/* increment recursion depth guage */
|
||||
/* increment recursion depth gauge */
|
||||
depth ++;
|
||||
|
||||
/* safety first. must have a valid element */
|
||||
|
@ -556,7 +556,7 @@ int php_zip_glob(char *pattern, int pattern_len, zend_long flags, zval *return_v
|
||||
|
||||
array_init(return_value);
|
||||
for (n = 0; n < globbuf.gl_pathc; n++) {
|
||||
/* we need to do this everytime since GLOB_ONLYDIR does not guarantee that
|
||||
/* we need to do this every time since GLOB_ONLYDIR does not guarantee that
|
||||
* all directories will be filtered. GNU libc documentation states the
|
||||
* following:
|
||||
* If the information about the type of the file is easily available
|
||||
|
@ -386,7 +386,7 @@ static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *f
|
||||
if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "level", sizeof("level") - 1))) {
|
||||
ZVAL_COPY_VALUE(&tmp, tmpzval);
|
||||
|
||||
/* Psuedo pass through to catch level validating code */
|
||||
/* Pseudo pass through to catch level validating code */
|
||||
goto factory_setlevel;
|
||||
}
|
||||
break;
|
||||
|
@ -1,7 +1,7 @@
|
||||
Rules for building ZLIB
|
||||
-----------------------
|
||||
|
||||
The zlib project requires the folowing files:
|
||||
The zlib project requires the following files:
|
||||
|
||||
php_build\zlib\include\zlib.h
|
||||
php_build\zlib\include\zconf.h
|
||||
|
@ -2280,7 +2280,7 @@ consult the installation file that came with this distribution, or visit \n\
|
||||
|
||||
/* all remaining arguments are part of the query string
|
||||
* this section of code concatenates all remaining arguments
|
||||
* into a single string, seperating args with a &
|
||||
* into a single string, separating args with a &
|
||||
* this allows command lines like:
|
||||
*
|
||||
* test.php v1=test v2=hello+world!
|
||||
|
@ -1378,7 +1378,7 @@ size_t php_http_parser_execute (php_http_parser *parser,
|
||||
/* Here we call the headers_complete callback. This is somewhat
|
||||
* different than other callbacks because if the user returns 1, we
|
||||
* will interpret that as saying that this message has no body. This
|
||||
* is needed for the annoying case of recieving a response to a HEAD
|
||||
* is needed for the annoying case of receiving a response to a HEAD
|
||||
* request.
|
||||
*/
|
||||
if (settings->on_headers_complete) {
|
||||
|
@ -212,7 +212,7 @@ int fpm_env_init_main() /* {{{ */
|
||||
#ifndef HAVE_SETPROCTITLE
|
||||
#ifdef __linux__
|
||||
/*
|
||||
* This piece of code has been inspirated from nginx and pureftpd code, whic
|
||||
* This piece of code has been inspirated from nginx and pureftpd code, which
|
||||
* are under BSD licence.
|
||||
*
|
||||
* To change the process title in Linux we have to set argv[1] to NULL
|
||||
|
@ -2662,7 +2662,7 @@ static void lsapi_check_child_status( long tmCur )
|
||||
}
|
||||
if ( abs( g_prefork_server->m_iCurChildren - count ) > 1 )
|
||||
{
|
||||
fprintf( stderr, "Children tracking is wrong: PID: %d, Cur Childen: %d, count: %d, idle: %d, dying: %d\n", getpid(),
|
||||
fprintf( stderr, "Children tracking is wrong: PID: %d, Cur Children: %d, count: %d, idle: %d, dying: %d\n", getpid(),
|
||||
g_prefork_server->m_iCurChildren, count, idle, dying );
|
||||
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
Configuration of your Netscape/iPlanet/Sun Webserver for PHP7
|
||||
-----------------------------------------------------------------
|
||||
|
||||
These instructions are targetted at Netscape Enterprise Web Server and
|
||||
These instructions are targeted at Netscape Enterprise Web Server and
|
||||
SUN/Netscape Alliance iPlanet Web Server and the new Sun Java System Webserver.
|
||||
On other web servers your milage may vary.
|
||||
|
||||
|
@ -1571,7 +1571,7 @@ phpdbg_out:
|
||||
|
||||
#ifdef _WIN32
|
||||
} __except(phpdbg_exception_handler_win32(xp = GetExceptionInformation())) {
|
||||
phpdbg_error("segfault", "", "Access violation (Segementation fault) encountered\ntrying to abort cleanly...");
|
||||
phpdbg_error("segfault", "", "Access violation (Segmentation fault) encountered\ntrying to abort cleanly...");
|
||||
}
|
||||
phpdbg_out:
|
||||
#endif
|
||||
|
@ -225,7 +225,7 @@ frame
|
||||
- internal: has value "internal" when being an internal function call (one cannot inspect that frame)
|
||||
|
||||
- being an error: (by type)
|
||||
- maxnum: tried to access a frame with a number heigher than existing (or < 0)
|
||||
- maxnum: tried to access a frame with a number higher than existing (or < 0)
|
||||
|
||||
### attributes on <arg> ###
|
||||
|
||||
@ -378,7 +378,7 @@ exec
|
||||
- command executing and compiling a given file
|
||||
- <exec type="unset" context="" />: indicates unsetting of the old context
|
||||
- <exec type="unsetops" />: indicates unsetting of the old compiled opcodes
|
||||
- <exec type="unchanged" />: same execution context choosen again
|
||||
- <exec type="unchanged" />: same execution context chosen again
|
||||
- <exec type="set" context="" />: indicates setting of the new context
|
||||
- errors by tag
|
||||
- <compile>
|
||||
@ -527,7 +527,7 @@ set
|
||||
|
||||
### breaks ###
|
||||
|
||||
- generally enables / disables breakpoint functionality silently with no futher xml answer
|
||||
- generally enables / disables breakpoint functionality silently with no further xml answer
|
||||
- if the boolean switch is omitted, it emits current state in a <setbreaks active="" /> where active is on or off
|
||||
|
||||
### color ###
|
||||
|
@ -2059,7 +2059,7 @@ diff -ur thttpd-2.21b/thttpd.c thttpd-2.21b-cool/thttpd.c
|
||||
@@ -1519,7 +1697,7 @@
|
||||
if ( c->bytes_sent >= c->bytes_to_send )
|
||||
{
|
||||
/* This conection is finished! */
|
||||
/* This connection is finished! */
|
||||
- clear_connection( c, tvP );
|
||||
+ clear_connection( c, tvP, 1 );
|
||||
return;
|
||||
|
@ -961,7 +961,7 @@ class testHarness {
|
||||
if ($just_save_results || strlen(trim($user_input)) == 0 || strtolower($user_input[0]) == 'y') {
|
||||
/*
|
||||
* Collect information about the host system for our report
|
||||
* Fetch phpinfo() output so that we can see the PHP enviroment
|
||||
* Fetch phpinfo() output so that we can see the PHP environment
|
||||
* Make an archive of all the failed tests
|
||||
* Send an email
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user