Skip to content

Commit

Permalink
typofixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vlajos authored and kaplanlior committed Aug 17, 2014
1 parent 0407bdf commit 3f42f2f
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2800,7 +2800,7 @@ AC_DEFUN([PHP_DETECT_ICC],

dnl PHP_DETECT_SUNCC
dnl Detect if the systems default compiler is suncc.
dnl We also set some usefull CFLAGS if the user didn't set any
dnl We also set some useful CFLAGS if the user didn't set any
AC_DEFUN([PHP_DETECT_SUNCC],[
SUNCC="no"
AC_MSG_CHECKING([for suncc])
Expand Down
2 changes: 1 addition & 1 deletion ext/ereg/tests/eregi_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Test eregi() function : basic functionality - confirm case insensitivity
*/

/*
* Test basic funtionality of eregi()
* Test basic functionality of eregi()
*/

echo "*** Testing eregi() : basic functionality ***\n";
Expand Down
2 changes: 1 addition & 1 deletion ext/json/json.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ static int json_utf8_to_utf16(unsigned short *utf16, char utf8[], int len) /* {{
}
}
} else {
/* Only check if utf8 string is valid, and compute utf16 lenght */
/* Only check if utf8 string is valid, and compute utf16 length */
for (j=0 ; pos < len ; j++) {
us = php_next_utf8_char((const unsigned char *)utf8, len, &pos, &status);
if (status != SUCCESS) {
Expand Down
2 changes: 1 addition & 1 deletion ext/mysqlnd/mysqlnd_result.c
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ MYSQLND_METHOD(mysqlnd_res, store_result_fetch_data)(MYSQLND_CONN_DATA * const c
No need to FREE_ALLOCA as we can reuse the
'lengths' and 'fields' arrays. For lengths its absolutely safe.
'fields' is reused because the ownership of the strings has been
transfered above.
transferred above.
*/
}
/* Overflow ? */
Expand Down
2 changes: 1 addition & 1 deletion ext/pcre/pcrelib/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -4935,7 +4935,7 @@ by an auxiliary program - but can then be edited by hand if required. There are
now no calls to isalnum(), isspace(), isdigit(), isxdigit(), tolower() or
toupper() in the code.

7. Turn the malloc/free funtions variables into pcre_malloc and pcre_free and
7. Turn the malloc/free functions variables into pcre_malloc and pcre_free and
make them global. Abolish the function for setting them, as the caller can now
set them directly.

Expand Down
2 changes: 1 addition & 1 deletion ext/soap/interop/client_round2_interop.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ function doEndpointMethod(&$endpoint_info, &$soap_test) {
}
$soap =& $endpoint_info['client'];

# XXX how do we determine a failure on retreiving/parsing wsdl?
# XXX how do we determine a failure on retrieving/parsing wsdl?
if ($soap->wsdl->fault) {
$fault = $soap->wsdl->fault;
$soap_test->setResult(0,'WSDL',
Expand Down
2 changes: 1 addition & 1 deletion ext/spl/php_spl.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ PHP_FUNCTION(spl_autoload)
RETURN_FALSE;
}

if (file_exts == NULL) { /* autoload_extensions is not intialzed, set to defaults */
if (file_exts == NULL) { /* autoload_extensions is not initialzed, set to defaults */
copy = pos1 = estrndup(SPL_DEFAULT_FILE_EXTENSIONS, sizeof(SPL_DEFAULT_FILE_EXTENSIONS)-1);
} else {
copy = pos1 = estrndup(file_exts, file_exts_len);
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/strings/dirname_basic.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
Test dirname() function : basic funtionality
Test dirname() function : basic functionality
--FILE--
<?php
/* Prototype: string dirname ( string $path );
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/url.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int length)
p = s;
} else {
/* memrchr is a GNU specific extension
Emulate for wide compatability */
Emulate for wide compatibility */
for(p = e; p >= s && *p != ':'; p--);
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/dev/find_tested.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function mark_methods_as_tested($method_info, $phpt_files) {

foreach($tested_functions as $tested_function) {

// go through method info array marking this funtion as tested
// go through method info array marking this function as tested
foreach($method_info as &$current_method_record) {
if (strcasecmp($tested_function, $current_method_record[METHOD_NAME]) == 0) {
// matched the method name
Expand Down
2 changes: 1 addition & 1 deletion server-tests-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

/* file extension of pages requested via http
this allows for php to be configured to parse
extensions other than php, usefull for multiple
extensions other than php, useful for multiple
configurations under a single webserver */
'TEST_WEB_EXT' => 'php',

Expand Down
2 changes: 1 addition & 1 deletion win32/build/confutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,7 @@ function output_as_table(header, ar_out)
{
var l = header.length;
var cols = 80;
var fixedlenght = "";
var fixedlength = "";
var t = 0;
var i,j,k,m;
var out = "| ";
Expand Down
2 changes: 1 addition & 1 deletion win32/sendmail.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#endif

#define HOST_NAME_LEN 256
#define MAX_APPNAME_LENGHT 100
#define MAX_APPNAME_LENGTH 100
#define MAIL_BUFFER_SIZE (1024*4) /* 4k buffer */
/* Return values */
#define MIN_ERROR_INDEX 0 /* Always 0 like SUCCESS */
Expand Down

0 comments on commit 3f42f2f

Please sign in to comment.