mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
[ci skip] Various typo fixes in stub comments and CHANGES file
This commit is contained in:
parent
7e940823d5
commit
d114812faf
8 changed files with 10 additions and 10 deletions
|
@ -584,7 +584,7 @@ PHP 8.0 UPGRADE NOTES
|
||||||
OPENSSL_ENCODING_PEM.
|
OPENSSL_ENCODING_PEM.
|
||||||
|
|
||||||
- Standard:
|
- 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,
|
are the same as %g and %G, but always use "." as the decimal separator,
|
||||||
rather than determining it through the LC_NUMERIC locale.
|
rather than determining it through the LC_NUMERIC locale.
|
||||||
. printf() and friends now support using "*" as width or precision, in which
|
. printf() and friends now support using "*" as width or precision, in which
|
||||||
|
|
|
@ -635,7 +635,7 @@ function helper_name($name, $spec, $op1, $op2, $extra_spec) {
|
||||||
$extra = "";
|
$extra = "";
|
||||||
|
|
||||||
if (isset($helpers[$name])) {
|
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
|
// using unspecialized helper
|
||||||
if (!isset($helpers[$name]["op1"][$op1])) {
|
if (!isset($helpers[$name]["op1"][$op1])) {
|
||||||
if (($op1 == 'TMP' || $op1 == 'VAR') &&
|
if (($op1 == 'TMP' || $op1 == 'VAR') &&
|
||||||
|
@ -680,7 +680,7 @@ function opcode_name($name, $spec, $op1, $op2, $extra_spec) {
|
||||||
|
|
||||||
if (isset($opnames[$name])) {
|
if (isset($opnames[$name])) {
|
||||||
$opcode = $opcodes[$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
|
// using unspecialized helper
|
||||||
if (!isset($opcode["op1"][$op1])) {
|
if (!isset($opcode["op1"][$op1])) {
|
||||||
if (($op1 == 'TMP' || $op1 == 'VAR') &&
|
if (($op1 == 'TMP' || $op1 == 'VAR') &&
|
||||||
|
@ -1648,7 +1648,7 @@ function read_order_file($fn) {
|
||||||
return $order;
|
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()) {
|
function gen_executor_code($f, $spec, $kind, $prolog, &$switch_labels = array()) {
|
||||||
global $list, $opcodes, $helpers, $op_types_ex, $gen_order;
|
global $list, $opcodes, $helpers, $op_types_ex, $gen_order;
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
ini_set('mysqli.default_socket', $socket);
|
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))) ?
|
$TEST_EXPERIMENTAL = (in_array(getenv("MYSQL_TEST_EXPERIMENTAL"), array(0, 1))) ?
|
||||||
((1 == getenv("MYSQL_TEST_EXPERIMENTAL")) ? true : false) :
|
((1 == getenv("MYSQL_TEST_EXPERIMENTAL")) ? true : false) :
|
||||||
false;
|
false;
|
||||||
|
|
|
@ -37,7 +37,7 @@ class PDOTest {
|
||||||
if (!$db) {
|
if (!$db) {
|
||||||
die("Could not create PDO object (DSN=$dsn, user=$user)\n");
|
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);
|
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_SILENT);
|
||||||
|
|
||||||
// clean up any crufty test tables we might have left behind
|
// clean up any crufty test tables we might have left behind
|
||||||
|
|
|
@ -32,7 +32,7 @@ class RecursiveCompareDualIterator extends RecursiveIteratorIterator
|
||||||
parent::__construct($it);
|
parent::__construct($it);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Rewind iteration andcomparison process. Starting with $equal = true.
|
/** Rewind iteration and comparison process. Starting with $equal = true.
|
||||||
*/
|
*/
|
||||||
function rewind()
|
function rewind()
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,7 +27,7 @@ function verify_entries($zip, $entries = []) {
|
||||||
return $verified;
|
return $verified;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* recursively remove a directoryy */
|
/* recursively remove a directory */
|
||||||
function rmdir_rf($dir) {
|
function rmdir_rf($dir) {
|
||||||
if ($handle = opendir($dir)) {
|
if ($handle = opendir($dir)) {
|
||||||
while (false !== ($item = readdir($handle))) {
|
while (false !== ($item = readdir($handle))) {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<?php
|
<?php
|
||||||
/* the point of this file is to intensively test various aspects of
|
/* the point of this file is to intensively test various aspects of
|
||||||
* the parser. right now, each test focuses in one aspect only
|
* 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
|
* structures), while trying to combine code from other parts of the
|
||||||
* parser as well.
|
* parser as well.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
//
|
//
|
||||||
// For this reason we set the open_basedir to . (current directory) and then
|
// 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
|
// 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.
|
// 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
|
// See http://www.php.net/features.safe-mode for more information
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue