We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 508fdbd commit a0bfce2Copy full SHA for a0bfce2
phpspy.c
@@ -772,7 +772,8 @@ static void try_get_php_version(trace_target_t *target) {
772
else if (strncmp(phpv, "7.3", 3) == 0) opt_phpv = "73";
773
else if (strncmp(phpv, "7.4", 3) == 0) opt_phpv = "74";
774
else if (strncmp(phpv, "8.0", 3) == 0) opt_phpv = "80";
775
- else if (strncmp(phpv, "8.1", 3) == 0) opt_phpv = "80";
+ else if (strncmp(phpv, "8.1", 3) == 0) opt_phpv = "80"; /* TODO verify 8.x structs are the same as 8.0 */
776
+ else if (strncmp(phpv, "8.2", 3) == 0) opt_phpv = "80";
777
else log_error("try_get_php_version: Unrecognized PHP version\n");
778
}
779
#endif
0 commit comments