summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorFabien Villepinte <fabien.villepinte@gmail.com>2020-07-01 09:08:28 +0200
committerFabien Villepinte <fabien.villepinte@gmail.com>2020-07-01 09:08:28 +0200
commit3190282f099d6cb1054716a52fc88e7b04f96529 (patch)
tree561fa3122ab8739ec12791829bb691c6dd8db110 /ext
parent3516a9c8f096a71f493b90fb6b2be3ee3b0f0293 (diff)
downloadphp-git-3190282f099d6cb1054716a52fc88e7b04f96529.tar.gz
Fix typos in comments
Diffstat (limited to 'ext')
-rw-r--r--ext/fileinfo/tests/cve-2014-3538-mb.phpt2
-rw-r--r--ext/fileinfo/tests/cve-2014-3538-nojit.phpt2
-rw-r--r--ext/opcache/jit/zend_jit_internal.h2
-rw-r--r--ext/spl/spl_directory.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/fileinfo/tests/cve-2014-3538-mb.phpt b/ext/fileinfo/tests/cve-2014-3538-mb.phpt
index 626c757144..bad322e3ca 100644
--- a/ext/fileinfo/tests/cve-2014-3538-mb.phpt
+++ b/ext/fileinfo/tests/cve-2014-3538-mb.phpt
@@ -1,5 +1,5 @@
--TEST--
-Bug #66731: file: extensive backtraking
+Bug #66731: file: extensive backtracking
--SKIPIF--
<?php
if (!class_exists('finfo'))
diff --git a/ext/fileinfo/tests/cve-2014-3538-nojit.phpt b/ext/fileinfo/tests/cve-2014-3538-nojit.phpt
index 02b314cbb1..74c0af1195 100644
--- a/ext/fileinfo/tests/cve-2014-3538-nojit.phpt
+++ b/ext/fileinfo/tests/cve-2014-3538-nojit.phpt
@@ -1,5 +1,5 @@
--TEST--
-Bug #66731: file: extensive backtraking, with pcre.jit=0
+Bug #66731: file: extensive backtracking, with pcre.jit=0
--SKIPIF--
<?php
if (defined("PHP_DEBUG") && PHP_DEBUG)
diff --git a/ext/opcache/jit/zend_jit_internal.h b/ext/opcache/jit/zend_jit_internal.h
index 046571ffdf..6c47547034 100644
--- a/ext/opcache/jit/zend_jit_internal.h
+++ b/ext/opcache/jit/zend_jit_internal.h
@@ -207,7 +207,7 @@ typedef enum _zend_jit_trace_stop {
#define ZEND_JIT_EXIT_BLACKLISTED (1<<1)
#define ZEND_JIT_EXIT_TO_VM (1<<2) /* exit to VM without attempt to create a side trace */
#define ZEND_JIT_EXIT_RESTORE_CALL (1<<3) /* deoptimizer should restore EX(call) chain */
-#define ZEND_JIT_EXIT_POLYMORPHISM (1<<4) /* exit becaus of polymorphic call */
+#define ZEND_JIT_EXIT_POLYMORPHISM (1<<4) /* exit because of polymorphic call */
typedef union _zend_op_trace_info {
zend_op dummy; /* the size of this structure must be the same as zend_op */
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c
index fa33c022b0..55e3433637 100644
--- a/ext/spl/spl_directory.c
+++ b/ext/spl/spl_directory.c
@@ -2259,7 +2259,7 @@ PHP_METHOD(SplFileObject, valid)
} /* }}} */
/* {{{ proto string SplFileObject::fgets()
- Rturn next line from file */
+ Return next line from file */
PHP_METHOD(SplFileObject, fgets)
{
spl_filesystem_object *intern = Z_SPLFILESYSTEM_P(ZEND_THIS);