Skip to content

Commit d114812

Browse files
Ayeshcmb69
authored andcommitted
[ci skip] Various typo fixes in stub comments and CHANGES file
1 parent 7e94082 commit d114812

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

UPGRADING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ PHP 8.0 UPGRADE NOTES
584584
OPENSSL_ENCODING_PEM.
585585

586586
- Standard:
587-
. printf() and friends how support the %h and %H format specifiers. These
587+
. printf() and friends now support the %h and %H format specifiers. These
588588
are the same as %g and %G, but always use "." as the decimal separator,
589589
rather than determining it through the LC_NUMERIC locale.
590590
. printf() and friends now support using "*" as width or precision, in which

Zend/zend_vm_gen.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ function helper_name($name, $spec, $op1, $op2, $extra_spec) {
635635
$extra = "";
636636

637637
if (isset($helpers[$name])) {
638-
// If we haven't helper with specified spicialized operands then
638+
// If we have no helper with specified specialized operands then
639639
// using unspecialized helper
640640
if (!isset($helpers[$name]["op1"][$op1])) {
641641
if (($op1 == 'TMP' || $op1 == 'VAR') &&
@@ -680,7 +680,7 @@ function opcode_name($name, $spec, $op1, $op2, $extra_spec) {
680680

681681
if (isset($opnames[$name])) {
682682
$opcode = $opcodes[$opnames[$name]];
683-
// If we haven't helper with specified spicialized operands then
683+
// If we have no helper with specified specialized operands then
684684
// using unspecialized helper
685685
if (!isset($opcode["op1"][$op1])) {
686686
if (($op1 == 'TMP' || $op1 == 'VAR') &&
@@ -1648,7 +1648,7 @@ function read_order_file($fn) {
16481648
return $order;
16491649
}
16501650

1651-
// Generates all opcode handlers and helpers (specialized or unspecilaized)
1651+
// Generates all opcode handlers and helpers (specialized or unspecialized)
16521652
function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) {
16531653
global $list, $opcodes, $helpers, $op_types_ex, $gen_order;
16541654

ext/mysqli/tests/connect.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
ini_set('mysqli.default_socket', $socket);
2222
}
2323

24-
/* Development setting: test experimal features and/or feature requests that never worked before? */
24+
/* Development setting: test experimental features and/or feature requests that never worked before? */
2525
$TEST_EXPERIMENTAL = (in_array(getenv("MYSQL_TEST_EXPERIMENTAL"), array(0, 1))) ?
2626
((1 == getenv("MYSQL_TEST_EXPERIMENTAL")) ? true : false) :
2727
false;

ext/pdo/tests/pdo_test.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class PDOTest {
3737
if (!$db) {
3838
die("Could not create PDO object (DSN=$dsn, user=$user)\n");
3939
}
40-
// Ignore errors about non-existant tables
40+
// Ignore errors about non-existent tables
4141
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
4242

4343
// clean up any crufty test tables we might have left behind

ext/spl/tests/recursivecomparedualiterator.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class RecursiveCompareDualIterator extends RecursiveIteratorIterator
3232
parent::__construct($it);
3333
}
3434

35-
/** Rewind iteration andcomparison process. Starting with $equal = true.
35+
/** Rewind iteration and comparison process. Starting with $equal = true.
3636
*/
3737
function rewind()
3838
{

ext/zip/tests/utils.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function verify_entries($zip, $entries = []) {
2727
return $verified;
2828
}
2929

30-
/* recursively remove a directoryy */
30+
/* recursively remove a directory */
3131
function rmdir_rf($dir) {
3232
if ($handle = opendir($dir)) {
3333
while (false !== ($item = readdir($handle))) {

tests/lang/023-1.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<?php
44
/* the point of this file is to intensively test various aspects of
55
* the parser. right now, each test focuses in one aspect only
6-
* (e.g. variable aliasing, arithemtic operator, various control
6+
* (e.g. variable aliasing, arithmetic operator, various control
77
* structures), while trying to combine code from other parts of the
88
* parser as well.
99
*/

tests/security/open_basedir.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//
1212
// For this reason we set the open_basedir to . (current directory) and then
1313
// move around to various directories for testing using chdir(). This is NOT
14-
// recommended for production use as . bypasses all semblence of security..!
14+
// recommended for production use as . bypasses all semblances of security..!
1515
//
1616
// Although safe mode has been removed in php 6.0, open_basedir is still valid.
1717
// See http://www.php.net/features.safe-mode for more information

0 commit comments

Comments
 (0)