]> granicus.if.org Git - php/commitdiff
[ci skip] Various typo fixes in stub comments and CHANGES file
authorAyesh Karunaratne <ayesh@ayesh.me>
Thu, 25 Jun 2020 20:45:29 +0000 (03:45 +0700)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 25 Jun 2020 21:32:40 +0000 (23:32 +0200)
UPGRADING
Zend/zend_vm_gen.php
ext/mysqli/tests/connect.inc
ext/pdo/tests/pdo_test.inc
ext/spl/tests/recursivecomparedualiterator.inc
ext/zip/tests/utils.inc
tests/lang/023-1.inc
tests/security/open_basedir.inc

index ed8690bf8291926aa3d8289f6dbcd1a5e1e73ae9..8b90d25a418814859c3df8c204783d4d25551601 100644 (file)
--- 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
index b8f1882ff8db4673a88a664eb18d6e1c02f52536..331cd591c305e3c180a2baf2ef015437d2c30f20 100755 (executable)
@@ -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;
 
index 439a7ab8f16052a0d872d733125b51370d273bb8..43bb3c4153f83ceded5daa35e88d04c525bc14e0 100644 (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;
index aa1d1eadcb1cf48f5856671c484415c1f7b6918e..ba9f159228fc2ee6ca8e839fc2842f6e0e57caed 100644 (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
index ad0657b9bdb76a3613e307d74b6e5c48445ee26d..15f8b177c0c41ea79086847b8da67f9ee671940f 100644 (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()
     {
index 1076cf8bf26a6751f42d9be2f253b865948886e6..c796437dd44b682daf63af1e734ebb80c74e1cbb 100644 (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))) {
index e4c480c7303c435200a1b510b29ac4d149dc12a5..548605e69686cc0a9e3837e56c5947912c36c8c4 100644 (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.
  */
index b97071bfbdadccd92c7c6a5ceba464a02e8b782d..21338ef1cf5598906188517bfaf8bfefcadaf300 100644 (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