Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--------------------------------------------------------------------
The PHP License, version 3.01
Copyright (c) 1999 - 2024 The PHP Group. All rights reserved.
Copyright (c) 1999 - 2026 The PHP Group. All rights reserved.
--------------------------------------------------------------------

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ext/phar/phar.1.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH PHAR 1 "2024" "The PHP Group" "User Commands"
.TH PHAR 1 "2026" "The PHP Group" "User Commands"
.SH NAME
phar, phar.phar \- PHAR (PHP archive) command line tool
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion ext/random/engine_mt19937.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,11 +392,11 @@ PHP_METHOD(Random_Engine_Mt19937, __debugInfo)

if (engine->engine.algo->serialize) {
array_init(&t);
zend_hash_str_add(Z_ARR_P(return_value), "__states", strlen("__states"), &t);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you think there is an actual memory leak, please do a separated PR.
It is also better to create a branch from an appropriate origin branch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert this line.

if (!engine->engine.algo->serialize(engine->engine.state, Z_ARRVAL(t))) {
zend_throw_exception(NULL, "Engine serialize failed", 0);
RETURN_THROWS();
}
zend_hash_str_add(Z_ARR_P(return_value), "__states", strlen("__states"), &t);
}
}
/* }}} */
2 changes: 1 addition & 1 deletion sapi/cli/php.1.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH @program_prefix@php 1 "2024" "The PHP Group" "Scripting Language"
.TH @program_prefix@php 1 "2026" "The PHP Group" "Scripting Language"
.SH NAME
@program_prefix@php \- PHP Command Line Interface 'CLI'
.P
Expand Down
2 changes: 1 addition & 1 deletion sapi/fpm/php-fpm.8.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH PHP-FPM 8 "2024" "The PHP Group" "Scripting Language"
.TH PHP-FPM 8 "2026" "The PHP Group" "Scripting Language"
.SH NAME
.TP 15
php-fpm \- PHP FastCGI Process Manager 'PHP-FPM'
Expand Down
2 changes: 1 addition & 1 deletion sapi/phpdbg/phpdbg.1.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH @program_prefix@phpdbg 1 "2024" "The PHP Group" "Scripting Language"
.TH @program_prefix@phpdbg 1 "2026" "The PHP Group" "Scripting Language"
.SH NAME
@program_prefix@phpdbg \- The interactive PHP debugger
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion scripts/man1/php-config.1.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH @program_prefix@php\-config 1 "2024" "The PHP Group" "Scripting Language"
.TH @program_prefix@php\-config 1 "2026" "The PHP Group" "Scripting Language"
.SH NAME
@program_prefix@php\-config \- get information about PHP configuration and compile options
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion scripts/man1/phpize.1.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH @program_prefix@phpize 1 "2024" "The PHP Group" "Scripting Language"
.TH @program_prefix@phpize 1 "2026" "The PHP Group" "Scripting Language"
.SH NAME
@program_prefix@phpize \- prepare a PHP extension for compiling
.SH SYNOPSIS
Expand Down
Loading