From d114812fafc8f2a7482ccb81ebee39f5d55a7890 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Fri, 26 Jun 2020 03:45:29 +0700 Subject: [PATCH] [ci skip] Various typo fixes in stub comments and CHANGES file --- UPGRADING | 2 +- Zend/zend_vm_gen.php | 6 +++--- ext/mysqli/tests/connect.inc | 2 +- ext/pdo/tests/pdo_test.inc | 2 +- ext/spl/tests/recursivecomparedualiterator.inc | 2 +- ext/zip/tests/utils.inc | 2 +- tests/lang/023-1.inc | 2 +- tests/security/open_basedir.inc | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/UPGRADING b/UPGRADING index ed8690bf82..8b90d25a41 100644 --- a/UPGRADING +++ b/UPGRADING @@ -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 diff --git a/Zend/zend_vm_gen.php b/Zend/zend_vm_gen.php index b8f1882ff8..331cd591c3 100755 --- a/Zend/zend_vm_gen.php +++ b/Zend/zend_vm_gen.php @@ -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; diff --git a/ext/mysqli/tests/connect.inc b/ext/mysqli/tests/connect.inc index 439a7ab8f1..43bb3c4153 100644 --- a/ext/mysqli/tests/connect.inc +++ b/ext/mysqli/tests/connect.inc @@ -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; diff --git a/ext/pdo/tests/pdo_test.inc b/ext/pdo/tests/pdo_test.inc index aa1d1eadcb..ba9f159228 100644 --- a/ext/pdo/tests/pdo_test.inc +++ b/ext/pdo/tests/pdo_test.inc @@ -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 diff --git a/ext/spl/tests/recursivecomparedualiterator.inc b/ext/spl/tests/recursivecomparedualiterator.inc index ad0657b9bd..15f8b177c0 100644 --- a/ext/spl/tests/recursivecomparedualiterator.inc +++ b/ext/spl/tests/recursivecomparedualiterator.inc @@ -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() { diff --git a/ext/zip/tests/utils.inc b/ext/zip/tests/utils.inc index 1076cf8bf2..c796437dd4 100644 --- a/ext/zip/tests/utils.inc +++ b/ext/zip/tests/utils.inc @@ -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))) { diff --git a/tests/lang/023-1.inc b/tests/lang/023-1.inc index e4c480c730..548605e696 100644 --- a/tests/lang/023-1.inc +++ b/tests/lang/023-1.inc @@ -3,7 +3,7 @@