diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-02-04 22:16:50 -0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2018-02-06 16:59:00 +0100 |
commit | 2d48d734a20192a10792669baaa88dbe86f2b3a6 (patch) | |
tree | 7fc432c83d72e936dfa645611049d9d95a77d47f /ext | |
parent | 91b09c7aa6b88b276a02ee0f00277917efc54570 (diff) | |
download | php-git-2d48d734a20192a10792669baaa88dbe86f2b3a6.tar.gz |
Fix some misspellings
Diffstat (limited to 'ext')
30 files changed, 63 insertions, 64 deletions
diff --git a/ext/dom/characterdata.c b/ext/dom/characterdata.c index f7873b92d9..671f4033ee 100644 --- a/ext/dom/characterdata.c +++ b/ext/dom/characterdata.c @@ -213,7 +213,7 @@ PHP_FUNCTION(dom_characterdata_append_data) DOM_GET_OBJ(nodep, id, xmlNodePtr, intern); #if LIBXML_VERSION < 20627 -/* Implement logic from libxml xmlTextConcat to add suport for comments and PI */ +/* Implement logic from libxml xmlTextConcat to add support for comments and PI */ if ((nodep->content == (xmlChar *) &(nodep->properties)) || ((nodep->doc != NULL) && (nodep->doc->dict != NULL) && xmlDictOwns(nodep->doc->dict, nodep->content))) { diff --git a/ext/fileinfo/tests/magic b/ext/fileinfo/tests/magic index 1e465506c7..30ab7760a8 100644 --- a/ext/fileinfo/tests/magic +++ b/ext/fileinfo/tests/magic @@ -7014,7 +7014,7 @@ >>>>>>>>>>>>>8 uleshort >0 \b, at offset %d >>>>>>>>>>>>>(8.s+1) ubyte >0 >>>>>>>>>>>>>>&-1 string >\0 1st record "%s" -# for multiple index files (*.MDX) Production flag,tag numbers(<=0x30),tag length(<=0x20), reserverd (NULL) +# for multiple index files (*.MDX) Production flag,tag numbers(<=0x30),tag length(<=0x20), reserved (NULL) >>>>>>>24 ubelong&0x0133f7ff >0 # test for reserved NULL byte >>>>>>>>47 ubyte 0 diff --git a/ext/fileinfo/tests/magic私はガラスを食べられます b/ext/fileinfo/tests/magic私はガラスを食べられます index 1e465506c7..30ab7760a8 100644 --- a/ext/fileinfo/tests/magic私はガラスを食べられます +++ b/ext/fileinfo/tests/magic私はガラスを食べられます @@ -7014,7 +7014,7 @@ >>>>>>>>>>>>>8 uleshort >0 \b, at offset %d >>>>>>>>>>>>>(8.s+1) ubyte >0 >>>>>>>>>>>>>>&-1 string >\0 1st record "%s" -# for multiple index files (*.MDX) Production flag,tag numbers(<=0x30),tag length(<=0x20), reserverd (NULL) +# for multiple index files (*.MDX) Production flag,tag numbers(<=0x30),tag length(<=0x20), reserved (NULL) >>>>>>>24 ubelong&0x0133f7ff >0 # test for reserved NULL byte >>>>>>>>47 ubyte 0 diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c index 32d7338333..4339c9d18f 100644 --- a/ext/ftp/ftp.c +++ b/ext/ftp/ftp.c @@ -1803,7 +1803,7 @@ data_accepted: if (ftp->use_ssl && ftp->use_ssl_for_data) { ctx = SSL_get_SSL_CTX(ftp->ssl_handle); if (ctx == NULL) { - php_error_docref(NULL, E_WARNING, "data_accept: failed to retreive the existing SSL context"); + php_error_docref(NULL, E_WARNING, "data_accept: failed to retrieve the existing SSL context"); return 0; } @@ -1822,7 +1822,7 @@ data_accepted: /* get the session from the control connection so we can re-use it */ session = SSL_get_session(ftp->ssl_handle); if (session == NULL) { - php_error_docref(NULL, E_WARNING, "data_accept: failed to retreive the existing SSL session"); + php_error_docref(NULL, E_WARNING, "data_accept: failed to retrieve the existing SSL session"); SSL_free(data->ssl_handle); return 0; } diff --git a/ext/gd/libgd/gd_bmp.c b/ext/gd/libgd/gd_bmp.c index 8af8751299..e1f70174f4 100644 --- a/ext/gd/libgd/gd_bmp.c +++ b/ext/gd/libgd/gd_bmp.c @@ -708,7 +708,7 @@ static int bmp_read_direct(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, b return 1; } - /* There is a chance the data isn't until later, would be wierd but it is possible */ + /* There is a chance the data isn't until later, would be weird but it is possible */ if (gdTell(infile) != header->off) { /* Should make sure we don't seek past the file size */ if (!gdSeek(infile, header->off)) { @@ -805,7 +805,7 @@ static int bmp_read_1bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp im->colorsTotal = info->numcolors; - /* There is a chance the data isn't until later, would be wierd but it is possible */ + /* There is a chance the data isn't until later, would be weird but it is possible */ if (gdTell(infile) != header->off) { /* Should make sure we don't seek past the file size */ if (!gdSeek(infile, header->off)) { @@ -875,7 +875,7 @@ static int bmp_read_4bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp im->colorsTotal = info->numcolors; - /* There is a chance the data isn't until later, would be wierd but it is possible */ + /* There is a chance the data isn't until later, would be weird but it is possible */ if (gdTell(infile) != header->off) { /* Should make sure we don't seek past the file size */ if (!gdSeek(infile, header->off)) { @@ -962,7 +962,7 @@ static int bmp_read_8bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp im->colorsTotal = info->numcolors; - /* There is a chance the data isn't until later, would be wierd but it is possible */ + /* There is a chance the data isn't until later, would be weird but it is possible */ if (gdTell(infile) != header->off) { /* Should make sure we don't seek past the file size */ if (!gdSeek(infile, header->off)) { diff --git a/ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c b/ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c index ca3d437dfa..c7acf21409 100644 --- a/ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c +++ b/ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c @@ -297,7 +297,7 @@ mbfilter_sjis_emoji_docomo2unicode(int s, int *snd) w = mb_tbl_code2uni_docomo1[s - mb_tbl_code2uni_docomo1_min]; if (w > 0xf000) { w += 0x10000; - } else if (w > 0xe000) { /* unsuported by Unicode 6.0 */ + } else if (w > 0xe000) { /* unsupported by Unicode 6.0 */ w += 0xf0000; } *snd = 0; @@ -332,7 +332,7 @@ mbfilter_sjis_emoji_kddi2unicode(int s, int *snd) w = mb_tbl_code2uni_kddi1[si]; if (w > 0xf000) { w += 0x10000; - } else if (w > 0xe000) { /* unsuported by Unicode 6.0 */ + } else if (w > 0xe000) { /* unsupported by Unicode 6.0 */ w += 0xf0000; } } @@ -350,7 +350,7 @@ mbfilter_sjis_emoji_kddi2unicode(int s, int *snd) w = mb_tbl_code2uni_kddi2[si]; if (w > 0xf000) { w += 0x10000; - } else if (w > 0xe000) { /* unsuported by Unicode 6.0 */ + } else if (w > 0xe000) { /* unsupported by Unicode 6.0 */ w += 0xf0000; } } @@ -377,7 +377,7 @@ mbfilter_sjis_emoji_sb2unicode(int s, int *snd) w = mb_tbl_code2uni_sb1[si]; if (w > 0xf000) { w += 0x10000; - } else if (w > 0xe000) { /* unsuported by Unicode 6.0 */ + } else if (w > 0xe000) { /* unsupported by Unicode 6.0 */ w += 0xf0000; } } @@ -386,7 +386,7 @@ mbfilter_sjis_emoji_sb2unicode(int s, int *snd) w = mb_tbl_code2uni_sb2[si]; if (w > 0xf000) { w += 0x10000; - } else if (w > 0xe000) { /* unsuported by Unicode 6.0 */ + } else if (w > 0xe000) { /* unsupported by Unicode 6.0 */ w += 0xf0000; } } else if (s >= mb_tbl_code2uni_sb3_min && s <= mb_tbl_code2uni_sb3_max) { @@ -398,7 +398,7 @@ mbfilter_sjis_emoji_sb2unicode(int s, int *snd) w = mb_tbl_code2uni_sb3[si]; if (w > 0xf000) { w += 0x10000; - } else if (w > 0xe000) { /* unsuported by Unicode 6.0 */ + } else if (w > 0xe000) { /* unsupported by Unicode 6.0 */ w += 0xf0000; } } diff --git a/ext/mbstring/tests/mb_language.phpt b/ext/mbstring/tests/mb_language.phpt index d3f5bb2c28..0b8bcff28c 100644 --- a/ext/mbstring/tests/mb_language.phpt +++ b/ext/mbstring/tests/mb_language.phpt @@ -19,7 +19,7 @@ var_dump(mb_language('English')); echo "Confirm language was changed:\n"; var_dump(mb_language()); -echo "Try changing to a non-existant language:\n"; +echo "Try changing to a non-existent language:\n"; var_dump(mb_language('Pig Latin')); var_dump(mb_language()); ?> @@ -32,7 +32,7 @@ Changing language to English should be successful: bool(true) Confirm language was changed: string(7) "English" -Try changing to a non-existant language: +Try changing to a non-existent language: Warning: mb_language(): Unknown language "Pig Latin" in %s on line %d bool(false) diff --git a/ext/odbc/tests/bug47803.phpt b/ext/odbc/tests/bug47803.phpt index 9a2600dd18..ec023a5c87 100644 --- a/ext/odbc/tests/bug47803.phpt +++ b/ext/odbc/tests/bug47803.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #47803 Executing prepared statements is succesfull only for the first two statements +Bug #47803 Executing prepared statements is successful only for the first two statements --SKIPIF-- <?php include 'skipif.inc'; ?> --FILE-- diff --git a/ext/opcache/Optimizer/optimize_func_calls.c b/ext/opcache/Optimizer/optimize_func_calls.c index 1642994765..4b48b73bee 100644 --- a/ext/opcache/Optimizer/optimize_func_calls.c +++ b/ext/opcache/Optimizer/optimize_func_calls.c @@ -120,7 +120,7 @@ static void zend_try_inline_call(zend_op_array *op_array, zend_op *fcall, zend_o } if (fcall->extended_value < func->op_array.num_args) { - /* don't inline funcions with named constants in default arguments */ + /* don't inline functions with named constants in default arguments */ i = fcall->extended_value; do { diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index d01f4df446..e43a646abd 100644 --- a/ext/opcache/Optimizer/zend_inference.c +++ b/ext/opcache/Optimizer/zend_inference.c @@ -2799,7 +2799,7 @@ static int zend_update_type_info(const zend_op_array *op_array, (tmp & func_info->arg_info[opline->op1.num-1].info.type); } #if 0 - /* We won't recieve unused arguments */ + /* We won't receive unused arguments */ if (ssa_vars[ssa_ops[i].result_def].use_chain < 0 && ssa_vars[ssa_ops[i].result_def].phi_use_chain == NULL && op_array->arg_info && diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index aa84b318c3..1c870e908d 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -2801,7 +2801,7 @@ static int accel_post_startup(void) /* from this point further, shared memory is supposed to be OK */ - /* remeber the last restart time in the process memory */ + /* remember the last restart time in the process memory */ ZCG(last_restart_time) = ZCSG(last_restart_time); /* Init auto-global strings */ diff --git a/ext/openssl/tests/openssl_encrypt_error.phpt b/ext/openssl/tests/openssl_encrypt_error.phpt index ea69ad9ee2..ea39bff604 100644 --- a/ext/openssl/tests/openssl_encrypt_error.phpt +++ b/ext/openssl/tests/openssl_encrypt_error.phpt @@ -12,7 +12,7 @@ $wrong = "wrong"; $object = new stdclass; $arr = array(1); -// wrong paramters tests +// wrong parameters tests var_dump(openssl_encrypt($data, $wrong, $password)); var_dump(openssl_encrypt($object, $method, $password)); var_dump(openssl_encrypt($data, $object, $password)); diff --git a/ext/openssl/tests/openssl_error_string_basic.phpt b/ext/openssl/tests/openssl_error_string_basic.phpt index 04cc5508a4..9293a704d2 100644 --- a/ext/openssl/tests/openssl_error_string_basic.phpt +++ b/ext/openssl/tests/openssl_error_string_basic.phpt @@ -90,7 +90,7 @@ expect_openssl_errors('openssl_pkey_export_to_file pem', ['0906D06C']); // file to export cannot be written @openssl_pkey_export_to_file($private_key_file, $invalid_file_for_write); expect_openssl_errors('openssl_pkey_export_to_file write', ['2006D002']); -// succesful export +// successful export @openssl_pkey_export($private_key_file_with_pass, $out, 'wrong pwd'); expect_openssl_errors('openssl_pkey_export', ['06065064', '0906A065']); // invalid x509 for getting public key diff --git a/ext/pdo_mysql/tests/bug_50323.phpt b/ext/pdo_mysql/tests/bug_50323.phpt index 02050fac5d..5455c664c0 100644 --- a/ext/pdo_mysql/tests/bug_50323.phpt +++ b/ext/pdo_mysql/tests/bug_50323.phpt @@ -18,7 +18,7 @@ $db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt'); strpos($original, ':') + 1, strlen($original)); - // no real parser - any excotic setting can fool us + // no real parser - any exotic setting can fool us $parts = explode(';', $dsn); foreach ($parts as $k => $v) { $tmp = explode('=', $v); @@ -44,7 +44,7 @@ if (1 === @$db->exec('CREATE DATABASE `crazy;dbname`')) { $dsn = changeDSN(getenv('PDOTEST_DSN'), array('dbname' => 'crazy;;dbname')); $user = getenv('PDOTEST_USER'); $pass = getenv('PDOTEST_PASS'); - + new PDO($dsn, $user, $pass); } echo 'done!'; @@ -58,4 +58,3 @@ $db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt'); ?> --EXPECTF-- done! - diff --git a/ext/session/session.c b/ext/session/session.c index 7d0665a901..4e5985e7ad 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -1434,7 +1434,7 @@ PHPAPI int php_session_reset_id(void) /* {{{ */ } /* If the SID constant exists, destroy it. */ - /* We must not delete any items in EG(zend_contants) */ + /* We must not delete any items in EG(zend_constants) */ /* zend_hash_str_del(EG(zend_constants), "sid", sizeof("sid") - 1); */ sid = zend_get_constant_str("SID", sizeof("SID") - 1); diff --git a/ext/sockets/tests/socket_send.phpt b/ext/sockets/tests/socket_send.phpt index 4093ad47cf..969a79eb2a 100644 --- a/ext/sockets/tests/socket_send.phpt +++ b/ext/sockets/tests/socket_send.phpt @@ -17,24 +17,24 @@ if(substr(PHP_OS, 0, 3) == 'WIN' ) { $port = 80; $host = "yahoo.com"; $stringSocket = "send_socket_to_connected_socket"; -$stringSocketLenght = strlen($stringSocket); +$stringSocketLength = strlen($stringSocket); $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); $socketConn = socket_connect($socket, $host, $port); -if(socket_send($socket, $stringSocket, $stringSocketLenght, MSG_OOB)===$stringSocketLenght){ +if(socket_send($socket, $stringSocket, $stringSocketLength, MSG_OOB)===$stringSocketLength){ print("okey\n"); } -if(socket_send($socket, $stringSocket, $stringSocketLenght, MSG_EOR)===$stringSocketLenght){ +if(socket_send($socket, $stringSocket, $stringSocketLength, MSG_EOR)===$stringSocketLength){ print("okey\n"); } -if(socket_send($socket, $stringSocket, $stringSocketLenght, MSG_EOF)===$stringSocketLenght){ +if(socket_send($socket, $stringSocket, $stringSocketLength, MSG_EOF)===$stringSocketLength){ print("okey\n"); } -if(socket_send($socket, $stringSocket, $stringSocketLenght, MSG_DONTROUTE)===$stringSocketLenght){ +if(socket_send($socket, $stringSocket, $stringSocketLength, MSG_DONTROUTE)===$stringSocketLength){ print("okey\n"); } ?> @@ -43,7 +43,7 @@ socket_close($socket); unset($port); unset($host); unset($stringSocket); -unset($stringSocketLenght); +unset($stringSocketLength); unset($socket); unset($socketConn); ?> diff --git a/ext/sockets/tests/socket_send_win32.phpt b/ext/sockets/tests/socket_send_win32.phpt index 04a985c781..0f2311b984 100644 --- a/ext/sockets/tests/socket_send_win32.phpt +++ b/ext/sockets/tests/socket_send_win32.phpt @@ -16,16 +16,16 @@ if(substr(PHP_OS, 0, 3) != 'WIN' ) { $port = 80; $host = "yahoo.com"; $stringSocket = "send_socket_to_connected_socket"; -$stringSocketLenght = strlen($stringSocket); +$stringSocketLength = strlen($stringSocket); $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); $socketConn = socket_connect($socket, $host, $port); -if(socket_send($socket, $stringSocket, $stringSocketLenght, MSG_OOB)===$stringSocketLenght){ +if(socket_send($socket, $stringSocket, $stringSocketLength, MSG_OOB)===$stringSocketLength){ print("okey\n"); } -if(socket_send($socket, $stringSocket, $stringSocketLenght, MSG_DONTROUTE)===$stringSocketLenght){ +if(socket_send($socket, $stringSocket, $stringSocketLength, MSG_DONTROUTE)===$stringSocketLength){ print("okey\n"); } ?> @@ -34,7 +34,7 @@ socket_close($socket); unset($port); unset($host); unset($stringSocket); -unset($stringSocketLenght); +unset($stringSocketLength); unset($socket); unset($socketConn); ?> diff --git a/ext/spl/spl_observer.c b/ext/spl/spl_observer.c index dd9fa72e7f..96fc3a1047 100644 --- a/ext/spl/spl_observer.c +++ b/ext/spl/spl_observer.c @@ -90,7 +90,7 @@ typedef struct _spl_SplObjectStorage { /* {{{ */ zend_object std; } spl_SplObjectStorage; /* }}} */ -/* {{{ storage is an assoc aray of [zend_object*]=>[zval *obj, zval *inf] */ +/* {{{ storage is an assoc array of [zend_object*]=>[zval *obj, zval *inf] */ typedef struct _spl_SplObjectStorageElement { zval obj; zval inf; diff --git a/ext/standard/string.c b/ext/standard/string.c index caaee8c1da..a515283cec 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1653,7 +1653,7 @@ PHP_FUNCTION(dirname) ret = zend_string_init(str, str_len, 0); if (levels == 1) { - /* Defaut case */ + /* Default case */ #ifdef PHP_WIN32 ZSTR_LEN(ret) = php_win32_ioutil_dirname(ZSTR_VAL(ret), str_len); #else diff --git a/ext/standard/tests/array/in_array_variation4.phpt b/ext/standard/tests/array/in_array_variation4.phpt index 9a5312b268..789dbd6923 100644 --- a/ext/standard/tests/array/in_array_variation4.phpt +++ b/ext/standard/tests/array/in_array_variation4.phpt @@ -9,7 +9,7 @@ Test in_array() function : usage variations - haystack as resource/multi dimensi * Source Code: ext/standard/array.c */ -/* Test in_array() with haystack as resouce and multidimentional arrays */ +/* Test in_array() with haystack as resouce and multidimensional arrays */ /* checking for Resources */ echo "*** Testing resource type with in_array() ***\n"; diff --git a/ext/standard/tests/mail/mail_basic6.phpt b/ext/standard/tests/mail/mail_basic6.phpt index d0d45b78f3..01d315ae06 100644 --- a/ext/standard/tests/mail/mail_basic6.phpt +++ b/ext/standard/tests/mail/mail_basic6.phpt @@ -59,7 +59,7 @@ echo @file_get_contents($outFile); $additional_headers = "\nHEAD1: a\nHEAD2: b\n"; @unlink($outFile); -echo "-- Invalid Header - preceeding newline--\n"; +echo "-- Invalid Header - preceding newline--\n"; // Calling mail() with all additional headers var_dump( mail($to, $subject, $message, $additional_headers) ); echo @file_get_contents($outFile); @@ -69,7 +69,7 @@ echo @file_get_contents($outFile); $additional_headers = "\rHEAD1: a\nHEAD2: b\r"; @unlink($outFile); -echo "-- Invalid Header - preceeding newline--\n"; +echo "-- Invalid Header - preceding newline--\n"; // Calling mail() with all additional headers var_dump( mail($to, $subject, $message, $additional_headers) ); echo @file_get_contents($outFile); @@ -79,7 +79,7 @@ echo @file_get_contents($outFile); $additional_headers = "\r\nHEAD1: a\r\nHEAD2: b\r\n"; @unlink($outFile); -echo "-- Invalid Header - preceeding newline--\n"; +echo "-- Invalid Header - preceding newline--\n"; // Calling mail() with all additional headers var_dump( mail($to, $subject, $message, $additional_headers) ); echo @file_get_contents($outFile); @@ -89,7 +89,7 @@ echo @file_get_contents($outFile); $additional_headers = "\r\n\r\nHEAD1: a\r\nHEAD2: b\r\n"; @unlink($outFile); -echo "-- Invalid Header - preceeding newline--\n"; +echo "-- Invalid Header - preceding newline--\n"; // Calling mail() with all additional headers var_dump( mail($to, $subject, $message, $additional_headers) ); echo @file_get_contents($outFile); @@ -99,7 +99,7 @@ echo @file_get_contents($outFile); $additional_headers = "\n\nHEAD1: a\r\nHEAD2: b\r\n"; @unlink($outFile); -echo "-- Invalid Header - preceeding newline--\n"; +echo "-- Invalid Header - preceding newline--\n"; // Calling mail() with all additional headers var_dump( mail($to, $subject, $message, $additional_headers) ); echo @file_get_contents($outFile); @@ -109,7 +109,7 @@ echo @file_get_contents($outFile); $additional_headers = "\r\rHEAD1: a\r\nHEAD2: b\r\n"; @unlink($outFile); -echo "-- Invalid Header - preceeding newline--\n"; +echo "-- Invalid Header - preceding newline--\n"; // Calling mail() with all additional headers var_dump( mail($to, $subject, $message, $additional_headers) ); echo @file_get_contents($outFile); @@ -246,27 +246,27 @@ Subject: Test Subject HEAD1: a
HEAD2: b A Message --- Invalid Header - preceeding newline-- +-- Invalid Header - preceding newline-- Warning: mail(): Multiple or malformed newlines found in additional_header in %s/mail_basic6.php on line %d bool(false) --- Invalid Header - preceeding newline-- +-- Invalid Header - preceding newline-- Warning: mail(): Multiple or malformed newlines found in additional_header in %s/mail_basic6.php on line %d bool(false) --- Invalid Header - preceeding newline-- +-- Invalid Header - preceding newline-- Warning: mail(): Multiple or malformed newlines found in additional_header in %s/mail_basic6.php on line %d bool(false) --- Invalid Header - preceeding newline-- +-- Invalid Header - preceding newline-- Warning: mail(): Multiple or malformed newlines found in additional_header in %s/mail_basic6.php on line %d bool(false) --- Invalid Header - preceeding newline-- +-- Invalid Header - preceding newline-- Warning: mail(): Multiple or malformed newlines found in additional_header in %s/mail_basic6.php on line %d bool(false) --- Invalid Header - preceeding newline-- +-- Invalid Header - preceding newline-- Warning: mail(): Multiple or malformed newlines found in additional_header in %s/mail_basic6.php on line %d bool(false) diff --git a/ext/standard/tests/math/rand_inverted_order.phpt b/ext/standard/tests/math/rand_inverted_order.phpt index 4c2fc96b54..f3af4c0219 100644 --- a/ext/standard/tests/math/rand_inverted_order.phpt +++ b/ext/standard/tests/math/rand_inverted_order.phpt @@ -1,5 +1,5 @@ --TEST-- -Test rand funtion when min and max are in proper or inverted order +Test rand function when min and max are in proper or inverted order --CREDITS-- PHP TestFEst 2017 - PHPDublin, PHPSP - Joao P V Martins <jp.joao@gmail.com> --FILE-- diff --git a/ext/standard/tests/strings/trim1.phpt b/ext/standard/tests/strings/trim1.phpt Binary files differindex dd52efd98e..2096b61f22 100644 --- a/ext/standard/tests/strings/trim1.phpt +++ b/ext/standard/tests/strings/trim1.phpt diff --git a/ext/standard/tests/strings/vprintf_basic7.phpt b/ext/standard/tests/strings/vprintf_basic7.phpt index fdf90fd47e..7633e08f51 100644 --- a/ext/standard/tests/strings/vprintf_basic7.phpt +++ b/ext/standard/tests/strings/vprintf_basic7.phpt @@ -6,8 +6,8 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string $format , aaray $args) - * Description: Output a formatted string +/* Prototype : string vprintf(string $format , array $args) + * Description: Output a formatted string * Source code: ext/standard/formatted_print.c */ diff --git a/ext/standard/tests/strings/vprintf_basic7_64bit.phpt b/ext/standard/tests/strings/vprintf_basic7_64bit.phpt index 32aa338897..ac8a5f0dc5 100644 --- a/ext/standard/tests/strings/vprintf_basic7_64bit.phpt +++ b/ext/standard/tests/strings/vprintf_basic7_64bit.phpt @@ -6,8 +6,8 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vprintf(string $format , aaray $args) - * Description: Output a formatted string +/* Prototype : string vprintf(string $format , array $args) + * Description: Output a formatted string * Source code: ext/standard/formatted_print.c */ diff --git a/ext/standard/tests/strings/vsprintf_basic7.phpt b/ext/standard/tests/strings/vsprintf_basic7.phpt index daf514391b..c477a20ee7 100644 --- a/ext/standard/tests/strings/vsprintf_basic7.phpt +++ b/ext/standard/tests/strings/vsprintf_basic7.phpt @@ -6,8 +6,8 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php -/* Prototype : string vsprintf(string $format , aaray $args) - * Description: Return a formatted string +/* Prototype : string vsprintf(string $format , array $args) + * Description: Return a formatted string * Source code: ext/standard/formatted_print.c */ diff --git a/ext/standard/tests/strings/vsprintf_basic7_64bit.phpt b/ext/standard/tests/strings/vsprintf_basic7_64bit.phpt index 022919ec73..ce26d246d3 100644 --- a/ext/standard/tests/strings/vsprintf_basic7_64bit.phpt +++ b/ext/standard/tests/strings/vsprintf_basic7_64bit.phpt @@ -6,8 +6,8 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> --FILE-- <?php -/* Prototype : string vsprintf(string $format , aaray $args) - * Description: Return a formatted string +/* Prototype : string vsprintf(string $format , array $args) + * Description: Return a formatted string * Source code: ext/standard/formatted_print.c */ diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c index b4eab19579..2601087658 100644 --- a/ext/standard/url_scanner_ex.c +++ b/ext/standard/url_scanner_ex.c @@ -1319,7 +1319,7 @@ static inline int php_url_scanner_reset_var_impl(zend_string *name, int encode, php_url_scanner_reset_vars_impl(type); goto finish; } - /* Check preceeding separator */ + /* Check preceding separator */ if (!sep_removed && (size_t)(start - PG(arg_separator).output) >= separator_len && !memcmp(start - separator_len, PG(arg_separator).output, separator_len)) { diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re index ab9779c49b..d21004f3ce 100644 --- a/ext/standard/url_scanner_ex.re +++ b/ext/standard/url_scanner_ex.re @@ -904,7 +904,7 @@ static inline int php_url_scanner_reset_var_impl(zend_string *name, int encode, php_url_scanner_reset_vars_impl(type); goto finish; } - /* Check preceeding separator */ + /* Check preceding separator */ if (!sep_removed && (size_t)(start - PG(arg_separator).output) >= separator_len && !memcmp(start - separator_len, PG(arg_separator).output, separator_len)) { diff --git a/ext/wddx/tests/bug73793.phpt b/ext/wddx/tests/bug73793.phpt index fed4b3525f..d677a34c5b 100644 --- a/ext/wddx/tests/bug73793.phpt +++ b/ext/wddx/tests/bug73793.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #73793 (WDDX uses wrong decimal seperator) +Bug #73793 (WDDX uses wrong decimal separator) --SKIPIF-- <?php if (!extension_loaded('wddx')) print 'skip wddx extension not available'; |