summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2013-07-13 13:15:21 +0100
committerStanislav Malyshev <stas@php.net>2013-07-15 00:19:39 -0700
commitd17e8ac32fe1f4bbf92c4bac1826d83d8372df95 (patch)
tree98c08a60f4500b4da101f8805f160a03eb4dfb8c /ext
parent6c4af15d6c87f43ff3902e51e4ad79aa55e60d49 (diff)
downloadphp-git-d17e8ac32fe1f4bbf92c4bac1826d83d8372df95.tar.gz
less serious compatAbility fixes
Diffstat (limited to 'ext')
-rw-r--r--ext/mysql/php_mysql.c2
-rw-r--r--ext/sockets/sockets.c2
-rw-r--r--ext/sqlite3/php_sqlite3_structs.h2
-rw-r--r--ext/standard/url.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index ba81a95e5f..3b50dd5ede 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -296,7 +296,7 @@ static const zend_function_entry mysql_functions[] = {
#ifdef MYSQL_HAS_SET_CHARSET
PHP_FE(mysql_set_charset, arginfo_mysql_set_charset)
#endif
- /* for downwards compatability */
+ /* for downwards compatibility */
PHP_DEP_FALIAS(mysql, mysql_db_query, arginfo_mysql_db_query)
PHP_DEP_FALIAS(mysql_fieldname, mysql_field_name, arginfo_mysql_field_name)
PHP_DEP_FALIAS(mysql_fieldtable, mysql_field_table, arginfo_mysql_field_seek)
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index 10375ab850..801af0a4dd 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -344,7 +344,7 @@ const zend_function_entry sockets_functions[] = {
PHP_FE(socket_recvmsg, arginfo_socket_recvmsg)
PHP_FE(socket_cmsg_space, arginfo_socket_cmsg_space)
- /* for downwards compatability */
+ /* for downwards compatibility */
PHP_FALIAS(socket_getopt, socket_get_option, arginfo_socket_get_option)
PHP_FALIAS(socket_setopt, socket_set_option, arginfo_socket_set_option)
diff --git a/ext/sqlite3/php_sqlite3_structs.h b/ext/sqlite3/php_sqlite3_structs.h
index 0e813b6dfd..6c65e02ee7 100644
--- a/ext/sqlite3/php_sqlite3_structs.h
+++ b/ext/sqlite3/php_sqlite3_structs.h
@@ -23,7 +23,7 @@
#include <sqlite3.h>
-/* for backwards compatability reasons */
+/* for backwards compatibility reasons */
#ifndef SQLITE_OPEN_READONLY
#define SQLITE_OPEN_READONLY 0x00000001
#endif
diff --git a/ext/standard/url.c b/ext/standard/url.c
index 94f6638d64..190b4665eb 100644
--- a/ext/standard/url.c
+++ b/ext/standard/url.c
@@ -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 != ':' && p >= s; p--);
}