Skip to content

Commit d17e8ac

Browse files
vlajossmalyshev
authored andcommitted
less serious compatAbility fixes
1 parent 6c4af15 commit d17e8ac

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Zend/ZEND_CHANGES

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ Changes in the Zend Engine 1.0
11361136
(supports breakpoints, expression evaluation, step-in/over,
11371137
function call backtrace, and more).
11381138

1139-
The Zend Engine claims 100% compatability with the engine of PHP
1139+
The Zend Engine claims 100% compatibility with the engine of PHP
11401140
3.0, and is shamelessly lying about it. Here's why:
11411141

11421142
* Static variable initializers only accept scalar values
@@ -1161,6 +1161,6 @@ Changes in the Zend Engine 1.0
11611161
printed the letter { and the contents of the variable $somevar in
11621162
PHP 3.0), it will result in a parse error with the Zend Engine.
11631163
In this case, you would have to change the code to print
1164-
"\{$somevar"; This incompatability is due to the full variable
1164+
"\{$somevar"; This incompatibility is due to the full variable
11651165
reference within quoted strings feature added in the Zend
11661166
Engine.

ext/mysql/php_mysql.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ static const zend_function_entry mysql_functions[] = {
296296
#ifdef MYSQL_HAS_SET_CHARSET
297297
PHP_FE(mysql_set_charset, arginfo_mysql_set_charset)
298298
#endif
299-
/* for downwards compatability */
299+
/* for downwards compatibility */
300300
PHP_DEP_FALIAS(mysql, mysql_db_query, arginfo_mysql_db_query)
301301
PHP_DEP_FALIAS(mysql_fieldname, mysql_field_name, arginfo_mysql_field_name)
302302
PHP_DEP_FALIAS(mysql_fieldtable, mysql_field_table, arginfo_mysql_field_seek)

ext/sockets/sockets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ const zend_function_entry sockets_functions[] = {
344344
PHP_FE(socket_recvmsg, arginfo_socket_recvmsg)
345345
PHP_FE(socket_cmsg_space, arginfo_socket_cmsg_space)
346346

347-
/* for downwards compatability */
347+
/* for downwards compatibility */
348348
PHP_FALIAS(socket_getopt, socket_get_option, arginfo_socket_get_option)
349349
PHP_FALIAS(socket_setopt, socket_set_option, arginfo_socket_set_option)
350350

ext/sqlite3/php_sqlite3_structs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#include <sqlite3.h>
2525

26-
/* for backwards compatability reasons */
26+
/* for backwards compatibility reasons */
2727
#ifndef SQLITE_OPEN_READONLY
2828
#define SQLITE_OPEN_READONLY 0x00000001
2929
#endif

ext/standard/url.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int length)
266266
p = s;
267267
} else {
268268
/* memrchr is a GNU specific extension
269-
Emulate for wide compatability */
269+
Emulate for wide compatibility */
270270
for(p = e; *p != ':' && p >= s; p--);
271271
}
272272

0 commit comments

Comments
 (0)