# Generated by x64 compiler, includes Debug, Debug_TS, Release, Release_TS
/x64/
-# Miscellaneous files generated by Windows build sytem
+# Miscellaneous files generated by Windows build system
/main/config.w32.h
/win32/build/deplister.exe
/win32/build/deplister.obj
}
-/* Intitialize the number package! */
+/* Initialize the number package! */
void
bc_init_numbers (void)
--TEST--
-curl_multi_close return false when suplied resorce not valid cURL multi handle
+curl_multi_close return false when supplied resource not valid cURL multi handle
--SKIPIF--
<?php
if (!extension_loaded('curl')) print 'skip';
'2010-12-15 19:42:45' => array(
'october 23:00', // October 23rd, with a broken time
'march 28, 00:15',
- 'march 28, 01:15', // doesn't exist bcause of DST
+ 'march 28, 01:15', // doesn't exist because of DST
'march 28, 02:15',
),
);
$comment->replaceData(-1,4,'-inserted');
} catch (DOMException $e ) {
if ($e->getMessage() == 'Index Size Error'){
- echo "Throws DOMException for -ve offest\n";
+ echo "Throws DOMException for -ve offset\n";
}
}
?>
--EXPECT--
-Throws DOMException for -ve offest
+Throws DOMException for -ve offset
$comment->replaceData(999,4,'-inserted');
} catch (DOMException $e ) {
if ($e->getMessage() == 'Index Size Error'){
- echo "Throws DOMException for offest too large\n";
+ echo "Throws DOMException for offset too large\n";
}
}
?>
--EXPECT--
-Throws DOMException for offest too large
+Throws DOMException for offset too large
var_dump( finfo_open( FILEINFO_PRESERVE_ATIME, $magicFile ) );
var_dump( finfo_open( FILEINFO_RAW, $magicFile ) );
-// OO inteface to finfo
+// OO interface to finfo
var_dump( new finfo( FILEINFO_MIME, $magicFile ) );
var_dump( new finfo() );
# updated by Joerg Jenderek at Oct 2008
# variables according to grub-0.97/stage1/stage1.S or
# https://www.gnu.org/software/grub/manual/grub.html#Embedded-data
-# usual values are marked with comments to get only informations of strange GRUB loaders
+# usual values are marked with comments to get only information of strange GRUB loaders
>342 search/60 \0Geom\0
#>0 ulelong x %x=0x009048EB , 0x2a9048EB 0
>>0x41 ubyte <2
# In the second sector (+0x200) are variables according to grub-0.97/stage2/asm.S or
# grub-1.94/kern/i386/pc/startup.S
# https://www.gnu.org/software/grub/manual/grub.html#Embedded-data
-# usual values are marked with comments to get only informations of strange GRUB loaders
+# usual values are marked with comments to get only information of strange GRUB loaders
0x200 uleshort 0x70EA
# found only version 3.{1,2}
>0x206 ubeshort >0x0300
0 ulelong&0x804000E9 0x000000E9
!:strength +60
# mtools-3.9.8/msdos.h
-# usual values are marked with comments to get only informations of strange FAT systems
+# usual values are marked with comments to get only information of strange FAT systems
# valid sectorsize must be a power of 2 from 32 to 32768
>11 uleshort&0x001f 0
>>11 uleshort <32769
# updated by Joerg Jenderek at Oct 2008
# variables according to grub-0.97/stage1/stage1.S or
# https://www.gnu.org/software/grub/manual/grub.html#Embedded-data
-# usual values are marked with comments to get only informations of strange GRUB loaders
+# usual values are marked with comments to get only information of strange GRUB loaders
>342 search/60 \0Geom\0
#>0 ulelong x %x=0x009048EB , 0x2a9048EB 0
>>0x41 ubyte <2
fseek($fp, 0);
echo fgets($fp);
-$postition = ftell($fp);
+$position = ftell($fp);
//test binary data transfer
var_dump(ftp_fget($ftp, $fp, 'binary data.bin', FTP_BINARY));
-fseek($fp, $postition);
+fseek($fp, $position);
var_dump(urlencode(fgets($fp)));
//test non-existent file request
--TEST--
-Testing ftp_set_option erros while setting up
+Testing ftp_set_option errors while setting up
--CREDITS--
Gabriel Caruso (carusogabriel34@gmail.com)
--SKIPIF--
#define GD_CMP_IMAGE 1 /* Actual image IS different */
-#define GD_CMP_NUM_COLORS 2 /* Number of Colours in pallette differ */
+#define GD_CMP_NUM_COLORS 2 /* Number of Colours in palette differ */
#define GD_CMP_COLOR 4 /* Image colours differ */
#define GD_CMP_SIZE_X 8 /* Image width differs */
#define GD_CMP_SIZE_Y 16 /* Image heights differ */
}
}
- GD2_DBG(printf("Pallette had %d colours (T=%d)\n", im->colorsTotal, im->transparent));
+ GD2_DBG(printf("Palette had %d colours (T=%d)\n", im->colorsTotal, im->transparent));
if (im->trueColor) {
return TRUE;
* Reads the header block from a binary TGA file populating the referenced TGA structure.
* \param ctx Pointer to TGA binary file
* \param tga Pointer to TGA structure
- * \return int 1 on sucess, -1 on failure
+ * \return int 1 on success, -1 on failure
*/
int read_header_tga(gdIOCtx *ctx, oTga *tga)
{
* Reads the image data block from a binary TGA file populating the referenced TGA structure.
* \param ctx Pointer to TGA binary file
* \param tga Pointer to TGA structure
- * \return int 0 on sucess, -1 on failure
+ * \return int 0 on success, -1 on failure
*/
int read_image_tga( gdIOCtx *ctx, oTga *tga )
{
if (cmpRes & GD_CMP_NUM_COLORS)
{
- printf ("-%s: INFO number of pallette entries differ %d Vs. %d\n", msg,
+ printf ("-%s: INFO number of palette entries differ %d Vs. %d\n", msg,
im1->colorsTotal, im2->colorsTotal);
}
--TEST--
-Testing imagecolordeallocate() of GD library with Out of range intergers (Above)
+Testing imagecolordeallocate() of GD library with Out of range integers (Above)
--CREDITS--
Rafael Dohms <rdohms [at] gmail [dot] com>
#testfest PHPSP on 2009-06-20
--TEST--
-Testing imagecolordeallocate() of GD library with Out of range intergers (Below)
+Testing imagecolordeallocate() of GD library with Out of range integers (Below)
--CREDITS--
Rafael Dohms <rdohms [at] gmail [dot] com>
#testfest PHPSP on 2009-06-20
--TEST--
-does the imagepalettetotruecollor function realy converts the image palette?
+does the imagepalettetotruecollor function really converts the image palette?
--CREDITS--
Carlos André Ferrari <caferrari [at] gmail [dot] com>
--SKIPIF--
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";
+ echo "Can't create a temporary mailbox: " . imap_last_error(). "\n";
return false;
}
// reopen stream to new mailbox
if (imap_reopen($imap_stream, $new_mailbox) === false) {
- echo "cant re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
+ echo "can't re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
return false;
}
--TEST--
-ldap_option_reqcert_error() - A test to check if ldap cant connect to a LDAP server with a invalid certificate with certificate checking enabled
+ldap_option_reqcert_error() - A test to check if ldap can't connect to a LDAP server with a invalid certificate with certificate checking enabled
--CREDITS--
Edwin Hoksberg <edwin@edwinhoksberg.nl>
--SKIPIF--
}
if (filter->cache == 5)
{
- /* thats good enough - wait for a newline */
+ /* that's good enough - wait for a newline */
filter->status = uudec_state_until_newline;
filter->cache = 0;
}
if ($mb == $greek_lower) {
echo "Correctly converted\n";
} else {
- echo "Incorreclty converted\n";
+ echo "Incorrectly converted\n";
}
echo "Done";
if ($mb == $greek_upper) {
echo "Correctly converted\n";
} else {
- echo "Incorreclty converted\n";
+ echo "Incorrectly converted\n";
}
echo "Done";
if (!(mysql->mysql = mysql_init(NULL)))
#else
/*
- We create always persistent, as if the user want to connecto
+ We create always persistent, as if the user want to connect
to p:somehost, we can't convert the handle then
*/
if (!(mysql->mysql = mysqlnd_init(MYSQLND_CLIENT_KNOWS_RSET_COPY_DATA, TRUE)))
// set after client error
if (0 === ($tmp = mysqli_stmt_errno($stmt)))
- printf("[010] Execting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
+ printf("[010] Expecting int/any non zero, got %s/%s\n", gettype($tmp), $tmp);
mysqli_stmt_close($stmt);
// set after client error
if ('' === ($tmp = mysqli_stmt_error($stmt)))
- printf("[010] Execting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
+ printf("[010] Expecting string/any non empty, got %s/%s\n", gettype($tmp), $tmp);
mysqli_stmt_close($stmt);
case 8:lval = (int64_t) sint8korr(*row);break;
/*
7, 6 and 5 are not possible.
- BIT is only unsigned, thus only uint5|6|7 macroses exist
+ BIT is only unsigned, thus only uint5|6|7 macros exist
*/
case 4:lval = (int64_t) sint4korr(*row);break;
case 3:lval = (int64_t) sint3korr(*row);break;
streams_options |= IGNORE_URL;
net_stream = php_stream_open_wrapper(scheme.s + sizeof("pipe://") - 1, "r+", streams_options, NULL);
if (!net_stream) {
- SET_CLIENT_ERROR(error_info, CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, "Unknown errror while connecting");
+ SET_CLIENT_ERROR(error_info, CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, "Unknown error while connecting");
DBG_RETURN(NULL);
}
/*
oci_close($pc1);
-echo"\n\n**Test 1.3 change the value and verify with existing conenctions.*********\n";
+echo"\n\n**Test 1.3 change the value and verify with existing connections.*********\n";
set_edit_attr('MYEDITION1');
get_edit_attr($conn2);
get_edit_attr($conn3); // Old value
set_edit_attr('MYEDITION');
get_edit_attr($c2);
-echo " Get the value with a new conenction\n";
+echo " Get the value with a new connection\n";
$c3 = get_conn(1);
get_edit_attr($c3);
The value of current EDITION is MYEDITION
-**Test 1.3 change the value and verify with existing conenctions.*********
+**Test 1.3 change the value and verify with existing connections.*********
The value of edition has been successfully set
The value of current EDITION is MYEDITION
The value of current EDITION is MYEDITION
Set the value back using oci-set_edition
The value of edition has been successfully set
The value of current EDITION is MYEDITION
- Get the value with a new conenction
+ Get the value with a new connection
Testing with oci_connect()
The value of current EDITION is MYEDITION
/* should be used once on the branch path. */
/* */
/* The pattern works well only if jums processed in */
- /* direct order, otherwise it breakes JMPZ_EX */
+ /* direct order, otherwise it breaks JMPZ_EX */
/* sequences too early. */
last_op->result.var = target->result.var;
next = target_block->successors[0];
if (opline->op1_type != IS_CV
|| (OP1_INFO() & MAY_BE_REF)
|| (op->op1_def >= 0 && ssa->vars[op->op1_def].alias)) {
- /* asignment into escaping structure */
+ /* assignment into escaping structure */
return 1;
}
/* reference dependencies processed separately */
if (opline->op1_type != IS_CV
|| (OP1_INFO() & MAY_BE_REF)
|| (op->op1_def >= 0 && ssa->vars[op->op1_def].alias)) {
- /* asignment into escaping variable */
+ /* assignment into escaping variable */
return 1;
}
if (opline->op2_type == IS_CV || opline->result_type != IS_UNUSED) {
/* should be used once on the branch path. */
/* */
/* The pattern works well only if jums processed in */
- /* direct order, otherwise it breakes JMPZ_EX */
+ /* direct order, otherwise it breaks JMPZ_EX */
/* sequences too early. */
opline->result.var = target->result.var;
target = target + 1;
/* zend_basic_bloc.flags */
#define ZEND_BB_START (1<<0) /* fist block */
#define ZEND_BB_FOLLOW (1<<1) /* follows the next block */
-#define ZEND_BB_TARGET (1<<2) /* jump taget */
+#define ZEND_BB_TARGET (1<<2) /* jump target */
#define ZEND_BB_EXIT (1<<3) /* without successors */
#define ZEND_BB_ENTRY (1<<4) /* stackless entry */
#define ZEND_BB_TRY (1<<5) /* start of try block */
int use_chain; /* uses of this value, linked through opN_use_chain */
zend_ssa_phi *phi_use_chain; /* uses of this value in Phi, linked through use_chain */
zend_ssa_phi *sym_use_chain; /* uses of this value in Pi constraints */
- unsigned int no_val : 1; /* value doesn't mater (used as op1 in ZEND_ASSIGN) */
+ unsigned int no_val : 1; /* value doesn't matter (used as op1 in ZEND_ASSIGN) */
unsigned int scc_entry : 1;
unsigned int alias : 2; /* value may be changed indirectly */
unsigned int escape_state : 2;
g_synclineno = g_synclineno + 1
end
--- Write assembler line as a comment, if requestd.
+-- Write assembler line as a comment, if requested.
local function wcomment(aline)
if g_opt.comment then
wline(g_opt.comment..aline..g_opt.endcomment, true)
}
static int io_readline(lua_State*L){
FILE*f=*(FILE**)lua_touserdata(L,lua_upvalueindex(1));
-int sucess;
+int success;
if(f==NULL)
luaL_error(L,"file is already closed");
-sucess=read_line(L,f);
+success=read_line(L,f);
if(ferror(f))
return luaL_error(L,"%s",strerror(errno));
-if(sucess)return 1;
+if(success)return 1;
else{
if(lua_toboolean(L,lua_upvalueindex(2))){
lua_settop(L,0);
#define ZEND_JIT_LEVEL_INLINE 2 /* selective inline threading */
#define ZEND_JIT_LEVEL_OPT_FUNC 3 /* optimized JIT based on Type-Inference */
#define ZEND_JIT_LEVEL_OPT_FUNCS 4 /* optimized JIT based on Type-Inference and call-tree */
-#define ZEND_JIT_LEVEL_OPT_SCRIPT 5 /* optimized JIT based on Type-Inference and inner-procedure analises */
+#define ZEND_JIT_LEVEL_OPT_SCRIPT 5 /* optimized JIT based on Type-Inference and inner-procedure analysis */
#define ZEND_JIT_LEVEL(n) ((n) % 10)
#define ZEND_JIT_ON_SCRIPT_LOAD 0
#define ZEND_JIT_ON_FIRST_EXEC 1
-#define ZEND_JIT_ON_PROF_REQUEST 2 /* compile the most frequently caled on first requrest functions */
+#define ZEND_JIT_ON_PROF_REQUEST 2 /* compile the most frequently caled on first request functions */
#define ZEND_JIT_ON_HOT_COUNTERS 3 /* compile functions after N calls or loop iterations */
#define ZEND_JIT_ON_DOC_COMMENT 4 /* compile functions with "@jit" tag in doc-comments */
/* Makes profile based JIT (opcache.jit=2*) to generate code only for most
- * offten called functions (above the threshold).
+ * often called functions (above the threshold).
* TODO: this setting should be configurable
*/
#define ZEND_JIT_PROF_THRESHOLD 0.005
static int zend_jit_leave_func(dasm_State **Dst, const zend_op *opline, const zend_op_array *op_array, zend_ssa *ssa)
{
- // Avoid multiple leave sequnces
+ // Avoid multiple leave sequences
if (jit_return_label >= 0) {
| jmp =>jit_return_label
return 1;
if (ce->ce_flags & ZEND_ACC_INHERITED) {
if (!ce->parent) {
- /* property offests may be changed by inheritance */
+ /* property offets may be changed by inheritance */
return ZEND_WRONG_PROPERTY_OFFSET;
} else {
zend_class_entry *parent = ce->parent;
} else if (parent->info.user.filename != filename) {
/* some of parents class declarations might be changed infdependently */
/* TODO: this check may be not enough, because even
- * in the same it's possible to conditionnaly define
+ * in the same it's possible to conditionally define
* few classes with the same name, and "parent" may
* change from request to request.
*/
--TEST--
-Register Alloction 002: SEND_VAL_EX uses %r0 as a temporay register
+Register Alloction 002: SEND_VAL_EX uses %r0 as a temporary register
--INI--
opcache.enable=1
opcache.enable_cli=1
--TEST--
-Register Alloction 003: Reuse temporay register
+Register Alloction 003: Reuse temporary register
--INI--
opcache.enable=1
opcache.enable_cli=1
--TEST--
-SCCP 022: Invailid types
+SCCP 022: Invalid types
--INI--
opcache.enable=1
opcache.enable_cli=1
--TEST--
-SSA constrution for CFG with unreachable basic blocks
+SSA construction for CFG with unreachable basic blocks
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
$output_file = __DIR__ . "/openssl_error_string_basic_output.tmp";
// invalid file for read is something that does not exist in current directory
$invalid_file_for_read = __DIR__ . "/invalid_file_for_read_operation.txt";
-// invalid file for is the test dir as writting file to existing dir should alway fail
+// invalid file for is the test dir as writing file to existing dir should always fail
$invalid_file_for_write = __DIR__;
// crt file
$crt_file = "file://" . __DIR__ . "/cert.crt";
case PDO_FETCH_KEY_PAIR:
if (stmt->column_count != 2) {
- pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "PDO::FETCH_KEY_PAIR fetch mode requires the result set to contain extactly 2 columns.");
+ pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "PDO::FETCH_KEY_PAIR fetch mode requires the result set to contain exactly 2 columns.");
return 0;
}
if (!return_all) {
$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
$stmt = $db->query("
SELECT '
- Dumps the informations contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
+ Dumps the information contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
This is a debug function, which dump directly the data on the normal output.
Tip:
As with anything that outputs its result directly to the browser, the output-control functions can be used to capture the output of this function, and save it in a string (for example).
var_dump($stmt->debugDumpParams());
?>
--EXPECT--
-SQL: [835]
+SQL: [834]
SELECT '
- Dumps the informations contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
+ Dumps the information contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
This is a debug function, which dump directly the data on the normal output.
Tip:
As with anything that outputs its result directly to the browser, the output-control functions can be used to capture the output of this function, and save it in a string (for example).
// Comment without quotes or placeholders
$stmt = $db->prepare("
- SELECT -- Thats all folks!
+ SELECT -- That's all folks!
'\"abc\":8000'
FROM test
");
string(1) "4"
}
-Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error: PDO::FETCH_KEY_PAIR fetch mode requires the result set to contain extactly 2 columns. in %spdo_034.php on line %d
+Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error: PDO::FETCH_KEY_PAIR fetch mode requires the result set to contain exactly 2 columns. in %spdo_034.php on line %d
Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error%spdo_034.php on line %d
bool(false)
try {
$db = new PDO($dsn, $user, $pass, array($option => $value));
if (!is_object($db) || (!$ignore_diff && ($value !== ($tmp = @$db->getAttribute($option)))))
- printf("[%03d] Execting '%s'/%s got '%s'/%s' for options '%s'\n",
+ printf("[%03d] Expecting '%s'/%s got '%s'/%s' for options '%s'\n",
$offset,
$value, gettype($value),
$tmp, gettype($tmp),
?>
--EXPECT--
[001] Expecting default value for 'PDO::MYSQL_ATTR_INIT_COMMAND' of ''/string, getAttribute() reports setting ''/boolean
-[026] Execting '1'/boolean got ''/boolean' for options 'PDO::MYSQL_ATTR_READ_DEFAULT_FILE'
+[026] Expecting '1'/boolean got ''/boolean' for options 'PDO::MYSQL_ATTR_READ_DEFAULT_FILE'
done!
$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
$stmt = $db->query("
SELECT '
- Dumps the informations contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
+ Dumps the information contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
This is a debug function, which dump directly the data on the normal output.
Tip:
As with anything that outputs its result directly to the browser, the output-control functions can be used to capture the output of this function, and save it in a string (for example).
var_dump($stmt->debugDumpParams());
?>
--EXPECT--
-SQL: [845]
+SQL: [844]
SELECT '
- Dumps the informations contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
+ Dumps the information contained by a prepared statement directly on the output. It will provide the SQL query in use, the number of parameters used (Params), the list of parameters, with their name, type (paramtype) as an integer, their key name or position, and the position in the query (if this is supported by the PDO driver, otherwise, it will be -1).
This is a debug function, which dump directly the data on the normal output.
Tip:
As with anything that outputs its result directly to the browser, the output-control functions can be used to capture the output of this function, and save it in a string (for example).
?>
--FILE--
<?php
- echo "Basic test of POSIX getgid and getgrid fucntions\n";
+ echo "Basic test of POSIX getgid and getgrid functions\n";
$gid = posix_getgid();
$groupinfo = posix_getgrgid($gid);
?>
--EXPECTF--
-Basic test of POSIX getgid and getgrid fucntions
+Basic test of POSIX getgid and getgrid functions
Array
(
[name] => %s
--TEST--
-Test ReflectionZendExtension class erros
+Test ReflectionZendExtension class errors
--CREDITS--
Gabriel Caruso (carusogabriel34@gmail.com)
--SKIPIF--
} else if (Z_TYPE(key) == IS_LONG) {
zend_hash_index_update(Z_ARRVAL_P(ret), Z_LVAL(key), &value);
} else {
- soap_error0(E_ERROR, "Encoding: Can't decode apache map, only Strings or Longs are allowd as keys");
+ soap_error0(E_ERROR, "Encoding: Can't decode apache map, only Strings or Longs are allowed as keys");
}
zval_ptr_dtor(&key);
}
$fault = new SoapFault(null, "message");
echo get_class($fault) . "\n";
$fault = new SoapFault(["more"], "message"); // two elements in array required
-$fault = new SoapFault(["m", "more", "superflous"], "message"); // two required
+$fault = new SoapFault(["m", "more", "superfluous"], "message"); // two required
$fault = new SoapFault(["more-ns", "Sender"], "message"); // two given
echo get_class($fault);
?>
</operation>
</binding>
<service name="Round4XSDTest">
- <documentation>These operations implement DOC/LIT SOAP operations, for interop testing. Please email johnko@microsoft.com with any questions/coments.</documentation>
+ <documentation>These operations implement DOC/LIT SOAP operations, for interop testing. Please email johnko@microsoft.com with any questions/comments.</documentation>
<port name="Round4XSDTestSoap" binding="s0:Round4XSDTestSoap">
<soap:address location="test://" />
</port>
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Body>
- <test:echoNestedArray xmlns:test="http://exaple.org/ts-tests"
+ <test:echoNestedArray xmlns:test="http://example.org/ts-tests"
env:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<inputStruct xsi:type="ns1:SOAPArrayStruct"
xmlns:ns1="http://example.org/ts-tests/xsd">
<?php
// This bug only occurs when a specific portion of memory is unclean.
-// Unforunately, looping around 10 times and using random paths is the
+// Unfortunately, looping around 10 times and using random paths is the
// best way I could manage to reproduce this problem without modifying php itself :-/
for ($i = 0; $i < 10; $i++) {
var_dump($sock, $sock2);
- /* Close duplicated socket, teh orig is still valid. */
+ /* Close duplicated socket, the original is still valid. */
socket_close($sock2);
var_dump($sock, $sock2);
//
// Some methods of GlobIterator do not throw a RuntimeException when the glob pattern doesn't match any file.
-// Most methods of GlobIterator throw a RuntimeException when the glob pattern does't match any file
+// Most methods of GlobIterator throw a RuntimeException when the glob pattern doesn't match any file
// because they get the properties of the current file
function testBaseClass($f) {
// The tested iterator is in an invalid state; the behaviour of most of its methods is undefined
}
}
-// 1. SplMinHeap emtpy
+// 1. SplMinHeap empty
$heap = new SplMinHeap;
testForException( $heap );
-// 2. SplMinHeap non-emtpy
+// 2. SplMinHeap non-empty
$heap = new SplMinHeap;
$heap->insert( 1 );
testForException( $heap );
-// 3. SplMaxHeap emtpy
+// 3. SplMaxHeap empty
$heap = new SplMaxHeap;
testForException( $heap );
-// 4. SplMaxHeap non-emtpy
+// 4. SplMaxHeap non-empty
$heap = new SplMaxHeap;
$heap->insert( 1 );
testForException( $heap );
foreach ($types as $type) {
// serialize an empty new object
$exp = serialize(new $type());
- // hack to instanciate an object without constructor
+ // hack to instantiate an object without constructor
$str = sprintf('C:%d:"%s":0:{}', strlen($type), $type);
$obj = unserialize($str);
var_dump($obj);
* store_results is used to skip storing the results retrieved in step
* NUMTYPES+1 when results were already fetched.
* - In case of PHP_DNS_ANY we use the directly fetch DNS_T_ANY. (step NUMTYPES+1 )
- * - In case of raw mode, we query only the requestd type instead of looping type by type
+ * - In case of raw mode, we query only the requested type instead of looping type by type
* before going with the additional info stuff.
*/
PHP_FUNCTION(intdiv);
/*
- WARNING: these functions are expermental: they could change their names or
+ WARNING: these functions are experimental: they could change their names or
disappear in the next version of PHP!
*/
PHP_FUNCTION(hypot);
--FILE--
<?php
/* Prototype : array array_change_key_case(array $input [, int $case])
- * Description: Retuns an array with all string keys lowercased [or uppercased]
+ * Description: Returns an array with all string keys lowercased [or uppercased]
* Source code: ext/standard/array.c
*/
--TEST--
-Test array_diff() function : usage variations - associative arrays contianing different data types
+Test array_diff() function : usage variations - associative arrays containing different data types
--FILE--
<?php
/* Prototype : array array_diff(array $arr1, array $arr2 [, array ...])
*/
/*
-* Pasing object in place of 'input' argument to test object functionatlity
+* Passing object in place of 'input' argument to test object functionality
*/
echo "*** Testing array_walk() : object functionality ***\n";
non-scalar variables using print_r() */
check_printr($variations);
-echo "\n*** Testing print_r() on miscelleneous input arguments ***\n";
+echo "\n*** Testing print_r() on miscellaneous input arguments ***\n";
$misc_values = array (
@$unset_var,
NULL, // NULL argument
@$undef_variable, //undefined variable
null
);
-/* calling check_printr() to display miscelleneous data using print_r() */
+/* calling check_printr() to display miscellaneous data using print_r() */
check_printr($misc_values);
/* closing resource handle used */
[3] => /00\7
)
-*** Testing print_r() on miscelleneous input arguments ***
+*** Testing print_r() on miscellaneous input arguments ***
-- Iteration 1 --
non-scalar variables using print_r() */
check_printr($variations);
-echo "\n*** Testing print_r() on miscelleneous input arguments ***\n";
+echo "\n*** Testing print_r() on miscellaneous input arguments ***\n";
$misc_values = array (
@$unset_var,
NULL, // NULL argument
@$undef_variable, //undefined variable
null
);
-/* calling check_printr() to display miscelleneous data using print_r() */
+/* calling check_printr() to display miscellaneous data using print_r() */
check_printr($misc_values);
/* closing resource handle used */
[3] => /00\7
)
-*** Testing print_r() on miscelleneous input arguments ***
+*** Testing print_r() on miscellaneous input arguments ***
-- Iteration 1 --
non-scalar variables using var_dump() */
check_vardump($variations);
-echo "\n*** Testing var_dump() on miscelleneous input arguments ***\n";
+echo "\n*** Testing var_dump() on miscellaneous input arguments ***\n";
$misc_values = array (
@$unset_var,
NULL, // NULL argument
@$undef_variable, //undefined variable
null
);
-/* calling check_vardump() to display miscelleneous data using var_dump() */
+/* calling check_vardump() to display miscellaneous data using var_dump() */
check_vardump($misc_values);
echo "\n*** Testing var_dump() on multiple arguments ***\n";
string(5) "/00\7"
}
-*** Testing var_dump() on miscelleneous input arguments ***
+*** Testing var_dump() on miscellaneous input arguments ***
-- Iteration 1 --
NULL
-- Iteration 2 --
non-scalar variables using var_dump() */
check_vardump($variations);
-echo "\n*** Testing var_dump() on miscelleneous input arguments ***\n";
+echo "\n*** Testing var_dump() on miscellaneous input arguments ***\n";
$misc_values = array (
@$unset_var,
NULL, // NULL argument
@$undef_variable, //undefined variable
null
);
-/* calling check_vardump() to display miscelleneous data using var_dump() */
+/* calling check_vardump() to display miscellaneous data using var_dump() */
check_vardump($misc_values);
echo "\n*** Testing var_dump() on multiple arguments ***\n";
string(5) "/00\7"
}
-*** Testing var_dump() on miscelleneous input arguments ***
+*** Testing var_dump() on miscellaneous input arguments ***
-- Iteration 1 --
NULL
-- Iteration 2 --
#write file
$fd=fopen($file,"wb");
if ($fd) { fputs($fd,base64_decode($base64_1x1_jpeg)); fclose($fd); }
-else { echo "error cant write $file".PHP_EOL;exit(1); }
+else { echo "error can't write $file".PHP_EOL;exit(1); }
#check file md5
$md5=md5_file($file);
if ($md5!="07dd8594450e8c18ab8a79d7cb4573c7") { echo "md5 error".PHP_EOL;exit(1); }
if ($content === false) {echo "iptcembed error".PHP_EOL;exit(1); }
$fd=fopen($file2,"wb");
if ($fd) { fputs($fd,$content); fclose($fd); }
-else { echo "error cant write $file2".PHP_EOL;exit(1); }
+else { echo "error can't write $file2".PHP_EOL;exit(1); }
#check jpeg properties for new image with iptc tags
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";
+ echo "Can't create a temporary mailbox: " . imap_last_error(). "\n";
return false;
}
// reopen stream to new mailbox
if (imap_reopen($imap_stream, $new_mailbox) === false) {
- echo "cant re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
+ echo "can't re-open '$new_mailbox' mailbox: " . imap_last_error() . "\n";
return false;
}
*/
/*
- * Test addslashes() with various strings containing characters thats can be backslashed
+ * Test addslashes() with various strings containing characters that can be backslashed
*/
echo "*** Testing addslashes() : with various strings containing characters to be backslashed ***\n";
*/
/* Test stripos() function by passing heredoc string containing special chars for haystack
- * and with various needles & offets
+ * and with various needles & offsets
*/
echo "*** Testing stripos() function: with heredoc strings ***\n";
*/
/* Test strripos() function by passing heredoc string containing special chars for haystack
- * and with various needles & offets
+ * and with various needles & offsets
*/
echo "*** Testing strripos() function: with heredoc strings ***\n";
*/
/* Test strrpos() function by passing heredoc string containing special chars for haystack
- * and with various needles & offets
+ * and with various needles & offsets
*/
echo "*** Testing strrpos() function: with heredoc strings ***\n";
--FILE--
<?php
if (base64_decode("dGVzdA==") == base64_decode("dGVzdA==CRAP")) {
- echo "Same octect data - Signature Valid\n";
+ echo "Same octet data - Signature Valid\n";
} else {
echo "Invalid Signature\n";
}
--TEST--
msg_receive() should return false when unserialize() failed
--SKIPIF--
-<?php if (!extension_loaded("sysvmsg")) die("skip sysvmsg extenions is not available")?>
+<?php if (!extension_loaded("sysvmsg")) die("skip sysvmsg extensions is not available")?>
--FILE--
<?php
--TEST--
msg_send() data types when not serializing
--SKIPIF--
-<?php if (!extension_loaded("sysvmsg")) die("skip sysvmsg extenions is not available")?>
+<?php if (!extension_loaded("sysvmsg")) die("skip sysvmsg extensions is not available")?>
--FILE--
<?php
typedef enum _xml_elem_verbosity {
xml_elem_no_white_space, /* compact xml with no white space */
xml_elem_newlines_only, /* add newlines for enhanced readability */
- xml_elem_pretty /* add newlines and indent accordint to depth */
+ xml_elem_pretty /* add newlines and indent accordind to depth */
} XML_ELEM_VERBOSITY;
/******/
/* php arrays have no distinction between array and struct types.
* they even allow mixed. Thus, we determine the type by iterating
* through the entire array and figuring out each element.
- * room for some optimation here if we stop after a specific # of elements.
+ * room for some optimisation here if we stop after a specific # of elements.
*/
static XMLRPC_VECTOR_TYPE determine_vector_type (HashTable *ht)
{
Warning: XSLTProcessor::transformToXml(): Unregistered function in %sbug71540.php on line %d
-Warning: XSLTProcessor::transformToXml(): Stack usage errror in %sbug71540.php on line %d
+Warning: XSLTProcessor::transformToXml(): Stack usage error in %sbug71540.php on line %d
-Warning: XSLTProcessor::transformToXml(): Stack usage errror in %sbug71540.php on line %d
+Warning: XSLTProcessor::transformToXml(): Stack usage error in %sbug71540.php on line %d
Warning: XSLTProcessor::transformToXml(): Handler name must be a string in %sbug71540.php on line %d
;pm.max_requests = 500
; The URI to view the FPM status page. If this value is not set, no URI will be
-; recognized as a status page. It shows the following informations:
+; recognized as a status page. It shows the following information:
; pool - the name of the pool;
; process manager - static, dynamic or ondemand;
; start time - the date and time FPM has started;
{
var relevant = false;
- /* VS integrates /analyze with the bulid process,
+ /* VS integrates /analyze with the build process,
no further action is required. */
if ("no" == PHP_ANALYZER || "vs" == PHP_ANALYZER) {
return;
};
/* This pattern converts all single occurrences of \n (Unix)
- * withour a leading \r to \r\n and all occurrences of \r (Mac)
+ * without a leading \r to \r\n and all occurrences of \r (Mac)
* without a trailing \n to \r\n
* Thx to Nibbler from ircnet/#linuxger
*/