1720 matches across 8 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Zend/zend_stream.h | 81 | #ifdef _WIN64 |
| LOW | Zend/zend_virtual_cwd.h | 21 | |
| LOW | Zend/zend_virtual_cwd.h | 41 | # elif PATH_MAX |
| LOW | Zend/zend_virtual_cwd.h | 61 | #include <errno.h> |
| LOW | Zend/zend_virtual_cwd.h | 81 | |
| LOW | Zend/zend_virtual_cwd.h | 101 | # define DT_REG 8 |
| LOW | Zend/zend_virtual_cwd.h | 121 | #ifndef COPY_WHEN_ABSOLUTE |
| LOW | Zend/zend_virtual_cwd.h | 141 | # define CWD_API __attribute__ ((visibility("default"))) |
| LOW | Zend/zend_virtual_cwd.h | 261 | extern void virtual_cwd_main_cwd_init(uint8_t); |
| LOW | Zend/zend_virtual_cwd.h | 281 | #define VCWD_RENAME(oldname, newname) virtual_rename(oldname, newname) |
| LOW | Zend/zend_virtual_cwd.h | 301 | #else |
| LOW | Zend/zend_virtual_cwd.h | 321 | #define VCWD_OPEN_MODE(path, flags, mode) open(path, flags, mode) |
| LOW | Zend/zend_virtual_cwd.h | 341 | #ifdef HAVE_UTIME |
| LOW | Zend/zend_virtual_cwd.h | 361 | #endif |
| LOW | Zend/zend_virtual_cwd.h | 381 | #define S_ISLNK(mode) (((mode)&S_IFMT) == S_IFLNK) |
| LOW | Zend/zend_errors.h | 21 | |
| LOW | Zend/zend.h | 21 | |
| LOW | Zend/zend.h | 41 | #include "zend_max_execution_timer.h" |
| LOW | Zend/zend.h | 61 | #define ZEND_TSRMLS_CACHE_UPDATE() TSRMLS_CACHE_UPDATE() |
| LOW | Zend/zend.h | 461 | #include "zend_object_handlers.h" |
| LOW | Zend/zend_portability.h | 21 | #define ZEND_PORTABILITY_H |
| LOW | Zend/zend_portability.h | 41 | #else |
| LOW | Zend/zend_portability.h | 61 | |
| LOW | Zend/zend_portability.h | 81 | /* Compatibility with non-clang compilers */ |
| LOW | Zend/zend_portability.h | 101 | # define ZEND_ASSUME(c) do { \ |
| LOW | Zend/zend_portability.h | 121 | # define _ZEND_UNREACHABLE() __builtin_unreachable() |
| LOW | Zend/zend_portability.h | 141 | #if defined(__GNUC__) && __GNUC__ >= 4 |
| LOW | Zend/zend_portability.h | 161 | |
| LOW | Zend/zend_portability.h | 181 | # define PHP_RTLD_MODE RTLD_LAZY |
| LOW | Zend/zend_portability.h | 201 | # endif |
| LOW | Zend/zend_portability.h | 221 | # ifndef HAVE_ALLOCA_H |
| LOW | Zend/zend_portability.h | 241 | do_alloca_ex(size, ZEND_ALLOCA_MAX_SIZE, use_heap) |
| LOW | Zend/zend_portability.h | 261 | # define ZEND_ATTRIBUTE_ALLOC_SIZE2(X,Y) __attribute__ ((alloc_size(X,Y))) |
| LOW | Zend/zend_portability.h | 281 | #if ZEND_GCC_VERSION >= 2007 || __has_attribute(format) |
| LOW | Zend/zend_portability.h | 301 | #if ZEND_GCC_VERSION >= 4003 || __has_attribute(unused) |
| LOW | Zend/zend_portability.h | 321 | #endif |
| LOW | Zend/zend_portability.h | 341 | #elif defined(_MSC_VER) |
| LOW | Zend/zend_portability.h | 361 | # define ZEND_NORETURN __attribute__((noreturn)) |
| LOW | Zend/zend_portability.h | 421 | #else |
| LOW | Zend/zend_portability.h | 441 | # else |
| LOW | Zend/zend_portability.h | 461 | #endif |
| LOW | Zend/zend_portability.h | 481 | # define ZEND_FILE_LINE_CC , ZEND_FILE_LINE_C |
| LOW | Zend/zend_portability.h | 501 | #if ZEND_DEBUG |
| LOW | Zend/zend_portability.h | 521 | (((bits)[(bit) / (sizeof((bits)[0])*8)] >> ((bit) & (sizeof((bits)[0])*8-1))) & 1) |
| LOW | Zend/zend_portability.h | 561 | #elif defined(HAVE_MEMSET_EXPLICIT) |
| LOW | Zend/zend_portability.h | 581 | #endif |
| LOW | Zend/zend_portability.h | 601 | |
| LOW | Zend/zend_portability.h | 621 | /* Instructions compiled directly. */ |
| LOW | Zend/zend_portability.h | 641 | #else |
| LOW | Zend/zend_portability.h | 661 | # ifdef HAVE_FUNC_ATTRIBUTE_TARGET |
| LOW | Zend/zend_portability.h | 681 | # define ZEND_INTRIN_PCLMUL_FUNC_PROTO 1 |
| LOW | Zend/zend_portability.h | 701 | # define ZEND_INTRIN_SSE4_2_PCLMUL_RESOLVER 1 |
| LOW | Zend/zend_portability.h | 721 | |
| LOW | Zend/zend_portability.h | 741 | #else |
| LOW | Zend/zend_portability.h | 761 | #else |
| LOW | Zend/zend_portability.h | 781 | #else |
| LOW | Zend/zend_portability.h | 801 | |
| LOW | Zend/zend_portability.h | 821 | |
| LOW | Zend/zend_portability.h | 841 | #define __ZEND_DO_PRAGMA(x) _Pragma(#x) |
| LOW | Zend/zend_portability.h | 861 | #define ZEND_CGG_DIAGNOSTIC_IGNORED_START ZEND_DIAGNOSTIC_IGNORED_START |
| 1587 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | run-tests.php | 3824 | private function validateAndProcess(bool $inRedirect): void |
| LOW | run-tests.php | 4034 | public function calculateCommonSubsequence(array $from, array $to): array |
| LOW | benchmark/benchmark.php | 139 | function extractInstructionsFromValgrindOutput(string $output): string { |
| LOW | Zend/zend_observer.h | 69 | typedef zend_observer_fcall_handlers (*zend_observer_fcall_init)(zend_execute_data *execute_data); |
| LOW | ext/intl/calendar/calendar.stub.php | 199 | public static function getKeywordValuesForLocale(string $keyword, string $locale, bool $onlyCommon): IntlIterator|fa |
| LOW | ext/intl/calendar/calendar.stub.php | 223 | public function getMinimalDaysInFirstWeek(): int|false {} |
| LOW | ext/intl/calendar/calendar.stub.php | 229 | public function setMinimalDaysInFirstWeek(int $days): true {} |
| LOW | ext/intl/calendar/calendar.stub.php | 247 | public function getRepeatedWallTimeOption(): int {} |
| LOW | ext/intl/calendar/calendar.stub.php | 342 | public function setRepeatedWallTimeOption(int $option): true {} |
| LOW | ext/intl/timezone/timezone.stub.php | 63 | public static function createTimeZoneIDEnumeration(int $type, ?string $region = null, ?int $rawOffset = null): IntlI |
| LOW | ext/mysqlnd/mysqlnd_structs.h | 361 | typedef func_mysqlnd_vio__open_stream (*func_mysqlnd_vio__get_open_stream)(MYSQLND_VIO * const vio, const MYSQLND_CSTRIN |
| LOW | ext/zip/php_zip.stub.php | 769 | public function setExternalAttributesName(string $name, int $opsys, int $attr, int $flags = 0): bool {} |
| LOW | ext/zip/php_zip.stub.php | 772 | public function setExternalAttributesIndex(int $index, int $opsys, int $attr, int $flags = 0): bool {} |
| LOW | ext/zip/php_zip.stub.php | 779 | public function getExternalAttributesName(string $name, &$opsys, &$attr, int $flags = 0): bool {} |
| LOW | ext/zip/php_zip.stub.php | 786 | public function getExternalAttributesIndex(int $index, &$opsys, &$attr, int $flags = 0): bool {} |
| LOW | ext/zip/php_zip.stub.php | 818 | public static function isCompressionMethodSupported(int $method, bool $enc = true): bool {} |
| LOW | ext/zip/php_zip.stub.php | 820 | public static function isEncryptionMethodSupported(int $method, bool $enc = true): bool {} |
| LOW | ext/sqlite3/sqlite3.stub.php | 236 | public function enableExtendedResultCodes(bool $enable = true): bool {} |
| LOW | ext/dom/php_dom.stub.php | 811 | public function createProcessingInstruction(string $target, string $data = "") {} |
| LOW | ext/dom/php_dom.stub.php | 921 | public function isWhitespaceInElementContent(): bool {} |
| LOW | ext/dom/php_dom.stub.php | 927 | public function isElementContentWhitespace(): bool {} |
| LOW | ext/dom/php_dom.stub.php | 1625 | public function createProcessingInstruction(string $target, string $data): ProcessingInstruction {} |
| LOW | ext/mbstring/ucgendat/ucgendat.php | 368 | function parseDerivedCoreProperties(UnicodeData $data, string $input) : void { |
| LOW | ext/mbstring/ucgendat/ucgendat.php | 710 | function generateEastAsianWidthData(array $wideRanges) { |
| LOW | ext/reflection/php_reflection.stub.php | 90 | public function getNumberOfRequiredParameters(): int {} |
| LOW | ext/reflection/php_reflection.stub.php | 372 | public function newInstanceWithoutConstructor(): object {} |
| LOW | ext/reflection/php_reflection.stub.php | 387 | public function isUninitializedLazyObject(object $object): bool {} |
| LOW | ext/reflection/php_reflection.stub.php | 389 | public function markLazyObjectAsInitialized(object $object): object {} |
| LOW | ext/reflection/php_reflection.stub.php | 501 | public function setRawValueWithoutLazyInitialization(object $object, mixed $value): void {} |
| LOW | ext/reflection/php_reflection.stub.php | 715 | public function getDefaultValueConstantName(): ?string {} |
| LOW | scripts/dev/bless_tests.php | 96 | function generateMinimallyDifferingOutput(string $out, string $oldExpect) { |
| LOW | .github/workflows/test-suite.yml | 567 | php -r '$c = file_get_contents("src/Symfony/Component/HtmlSanitizer/Tests/HtmlSanitizerCustomTest.php"); $c = |
| LOW | .github/workflows/test-suite.yml | 569 | php -r '$c = file_get_contents("src/Symfony/Component/VarDumper/Tests/Caster/FFICasterTest.php"); $c = str_rep |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ext/standard/html_tables/mappings/ROMAN.TXT | 1 | #======================================================================= |
| MEDIUM | ext/standard/html_tables/mappings/ROMAN.TXT | 36 | # ---------------- |
| MEDIUM | ext/standard/html_tables/mappings/ROMAN.TXT | 80 | # ---------------------- |
| MEDIUM | ext/standard/html_tables/mappings/ROMAN.TXT | 121 | # --------------------------------- |
| MEDIUM | ext/standard/html_tables/mappings/ROMAN.TXT | 133 | # ------------------------------------------- |
| MEDIUM | ext/mbstring/tests/data/EmojiSources.txt | 30 | # ================================================ |
| MEDIUM | ext/mbstring/tests/data/MacJapanese-SJIS.txt | 1 | #======================================================================= |
| MEDIUM | ext/mbstring/tests/data/MacJapanese-SJIS.txt | 38 | # ---------------- |
| MEDIUM | ext/mbstring/tests/data/MacJapanese-SJIS.txt | 86 | # ------------------------- |
| MEDIUM | ext/mbstring/tests/data/MacJapanese-SJIS.txt | 241 | # --------------------------------- |
| MEDIUM | ext/mbstring/tests/data/MacJapanese-SJIS.txt | 328 | # ------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ext/zend_test/test_arginfo.h | 393 | ZEND_RAW_FENTRY("zend_test_nullable_array_return", zif_zend_test_nullable_array_return, arginfo_zend_test_nullable_arra |
| LOW | ext/zend_test/test_arginfo.h | 716 | zend_string *const_DUMMY_comment = zend_string_init_interned("/**\n * \"Lorem ipsum\"\n * @see https:// |
| LOW | ext/zend_test/test_arginfo.h | 1122 | class_entry->doc_comment = zend_string_init_interned("/**\n * \"Lorem ipsum\"\n * @see https://www.php.net\n |
| LOW | ext/zend_test/test_arginfo.h | 1128 | zend_string *property_parameter_comment = zend_string_init_interned("/**\n * \"Lorem ipsum\"\n * @see h |
| LOW | ext/zend_test/test_legacy_arginfo.h | 591 | zend_string *const_DUMMY_comment = zend_string_init_interned("/**\n * \"Lorem ipsum\"\n * @see https:// |
| LOW | ext/zend_test/test_legacy_arginfo.h | 893 | zend_string *property_parameter_comment = zend_string_init_interned("/**\n * \"Lorem ipsum\"\n * @see h |
| LOW | ext/zend_test/test.stub.php | 31 | * "Lorem ipsum" |
| LOW | ext/zend_test/test.stub.php | 149 | * "Lorem ipsum" |
| LOW | ext/zend_test/test.stub.php | 156 | * "Lorem ipsum" |
| LOW | ext/zend_test/test.stub.php | 224 | * "Lorem ipsum" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ext/bcmath/libbcmath/src/zero.c | 36 | /* In some places we need to check if the number NUM is zero. */ |
| LOW | ext/bcmath/libbcmath/src/neg.c | 35 | /* In some places we need to check if the number is negative. */ |
| LOW | ext/bcmath/libbcmath/src/nearzero.c | 36 | /* In some places we need to check if the number NUM is almost zero. |
| LOW | ext/mbstring/php_unicode.c | 365 | * Specifically, we need to check if this codepoint is preceded by any |
| LOW | ext/reflection/php_reflection.c | 3712 | /* we need to check if the ctor is the ctor of the class level we we |
| LOW | main/streams/plain_wrapper.c | 1210 | * cache is initialized so we need to check if the execution is active. */ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/gdb/php_gdb.py | 107 | |
| LOW | scripts/gdb/php_gdb.py | 173 | |
| LOW | scripts/gdb/php_gdb.py | 256 | |
| LOW | scripts/gdb/php_gdb.py | 295 | |
| LOW | scripts/gdb/php_gdb.py | 431 | |
| LOW | scripts/gdb/php_gdb.py | 528 | |
| LOW | scripts/gdb/php_gdb.py | 778 | |
| LOW | scripts/gdb/php_gdb.py | 823 | |
| LOW | scripts/gdb/php_gdb.py | 882 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ext/ext_skel.php | 56 | Don't forget to run tests once the compilation is done: |
| LOW | ext/standard/basic_functions.c | 202 | /* don't forget to reset the various libc globals that |
| LOW | win32/sendmail.c | 518 | Just don't forget to remove the Bcc: from the header afterwards. */ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/gdb/php_gdb.py | 34 |