]> granicus.if.org Git - php/commitdiff
Fix typos in comments
authorFabien Villepinte <fabien.villepinte@gmail.com>
Wed, 1 Jul 2020 07:08:28 +0000 (09:08 +0200)
committerFabien Villepinte <fabien.villepinte@gmail.com>
Wed, 1 Jul 2020 07:08:28 +0000 (09:08 +0200)
ext/fileinfo/tests/cve-2014-3538-mb.phpt
ext/fileinfo/tests/cve-2014-3538-nojit.phpt
ext/opcache/jit/zend_jit_internal.h
ext/spl/spl_directory.c

index 626c7571444b024dd5b86c504c384f692441367e..bad322e3ca29fa3942f229314764f4c065a01055 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-Bug #66731: file: extensive backtraking
+Bug #66731: file: extensive backtracking
 --SKIPIF--
 <?php
 if (!class_exists('finfo'))
index 02b314cbb12af020d6ff2cd940cb11ede1db48a2..74c0af119597c0a70e020f634f8c8c5d026f7d6d 100644 (file)
@@ -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)
index 046571ffdfbd274eb7571ebc5942a94aeb0b4323..6c47547034d9bb0ca26b58f8f55491f7e6985667 100644 (file)
@@ -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 */
index fa33c022b0429f59036d675ec8b1684f085acb8f..55e3433637d7b4cd182928cf8c3f177bf7d1bdab 100644 (file)
@@ -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);