[ci skip] Various typo fixes in stub comments and CHANGES file

This commit is contained in:
Ayesh Karunaratne 2020-06-26 03:45:29 +07:00 committed by Christoph M. Becker
parent 7e940823d5
commit d114812faf
8 changed files with 10 additions and 10 deletions

View file

@ -584,7 +584,7 @@ PHP 8.0 UPGRADE NOTES
OPENSSL_ENCODING_PEM.
- Standard:
. printf() and friends how support the %h and %H format specifiers. These
. printf() and friends now support the %h and %H format specifiers. These
are the same as %g and %G, but always use "." as the decimal separator,
rather than determining it through the LC_NUMERIC locale.
. printf() and friends now support using "*" as width or precision, in which

View file

@ -635,7 +635,7 @@ function helper_name($name, $spec, $op1, $op2, $extra_spec) {
$extra = "";
if (isset($helpers[$name])) {
// If we haven't helper with specified spicialized operands then
// If we have no helper with specified specialized operands then
// using unspecialized helper
if (!isset($helpers[$name]["op1"][$op1])) {
if (($op1 == 'TMP' || $op1 == 'VAR') &&
@ -680,7 +680,7 @@ function opcode_name($name, $spec, $op1, $op2, $extra_spec) {
if (isset($opnames[$name])) {
$opcode = $opcodes[$opnames[$name]];
// If we haven't helper with specified spicialized operands then
// If we have no helper with specified specialized operands then
// using unspecialized helper
if (!isset($opcode["op1"][$op1])) {
if (($op1 == 'TMP' || $op1 == 'VAR') &&
@ -1648,7 +1648,7 @@ function read_order_file($fn) {
return $order;
}
// Generates all opcode handlers and helpers (specialized or unspecilaized)
// Generates all opcode handlers and helpers (specialized or unspecialized)
function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) {
global $list, $opcodes, $helpers, $op_types_ex, $gen_order;

View file

@ -21,7 +21,7 @@
ini_set('mysqli.default_socket', $socket);
}
/* Development setting: test experimal features and/or feature requests that never worked before? */
/* Development setting: test experimental features and/or feature requests that never worked before? */
$TEST_EXPERIMENTAL = (in_array(getenv("MYSQL_TEST_EXPERIMENTAL"), array(0, 1))) ?
((1 == getenv("MYSQL_TEST_EXPERIMENTAL")) ? true : false) :
false;

View file

@ -37,7 +37,7 @@ class PDOTest {
if (!$db) {
die("Could not create PDO object (DSN=$dsn, user=$user)\n");
}
// Ignore errors about non-existant tables
// Ignore errors about non-existent tables
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
// clean up any crufty test tables we might have left behind

View file

@ -32,7 +32,7 @@ class RecursiveCompareDualIterator extends RecursiveIteratorIterator
parent::__construct($it);
}
/** Rewind iteration andcomparison process. Starting with $equal = true.
/** Rewind iteration and comparison process. Starting with $equal = true.
*/
function rewind()
{

View file

@ -27,7 +27,7 @@ function verify_entries($zip, $entries = []) {
return $verified;
}
/* recursively remove a directoryy */
/* recursively remove a directory */
function rmdir_rf($dir) {
if ($handle = opendir($dir)) {
while (false !== ($item = readdir($handle))) {

View file

@ -3,7 +3,7 @@
<?php
/* the point of this file is to intensively test various aspects of
* the parser. right now, each test focuses in one aspect only
* (e.g. variable aliasing, arithemtic operator, various control
* (e.g. variable aliasing, arithmetic operator, various control
* structures), while trying to combine code from other parts of the
* parser as well.
*/

View file

@ -11,7 +11,7 @@
//
// For this reason we set the open_basedir to . (current directory) and then
// move around to various directories for testing using chdir(). This is NOT
// recommended for production use as . bypasses all semblence of security..!
// recommended for production use as . bypasses all semblances of security..!
//
// Although safe mode has been removed in php 6.0, open_basedir is still valid.
// See http://www.php.net/features.safe-mode for more information