History log of /php-src/ (Results 51 – 75 of 111116)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5359392730-Apr-2024 Saki Takamachi <34942839+SakiTakamachi@users.noreply.github.com>

[RFC] Add bcfloor, bcceil and bcround to BCMath (#13096)

Implementation for the "Adding bcround, bcfloor and bcceil to BCMath" RFC: https://wiki.php.net/rfc/adding_bcround_bcfloor_bcceil_to_

[RFC] Add bcfloor, bcceil and bcround to BCMath (#13096)

Implementation for the "Adding bcround, bcfloor and bcceil to BCMath" RFC: https://wiki.php.net/rfc/adding_bcround_bcfloor_bcceil_to_bcmath

* Separated round mode into separate header file

Co-authored-by: Gina Peter Banyard <girgias@php.net>

show more ...

78ec2bde30-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Respect constness in casting in dom/entity.c (#14080)

d24a04bb30-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Use fast ZPP in very commonly used DOM functions (#14077)

Start using fast ZPP in very commonly used DOM functions, and also try
to unify some branches by using RETURN_BOOL where appropr

Use fast ZPP in very commonly used DOM functions (#14077)

Start using fast ZPP in very commonly used DOM functions, and also try
to unify some branches by using RETURN_BOOL where appropriate.

show more ...

cf7c592129-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Simplify property check in php_libxml_node_free_resource()

974edc7929-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Cleanup php_libxml_internal_error_handler_ex()

e5e8b19329-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Remove bogus entity reference cleanup code

2fab143729-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Cleanup php_libxml_streams_IO_open_wrapper()

a54d63ae29-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Cleanup php_libxml_unregister_node()

6e8b134030-Apr-2024 Tim Düsterhus

reflection: Fix ReflectionFunction::getShortName() for first class callables (#14087)

Fix fixes an incorrect fix in php/php-src#14001.

b5ffac7f30-Apr-2024 Tim Düsterhus

Add ReflectionClassConstant::isDeprecated() (#14086)

This is in preparation for php/php-src#11293 and for consistency with
ReflectionConstant::isDeprecated() that was added in php/php-sr

Add ReflectionClassConstant::isDeprecated() (#14086)

This is in preparation for php/php-src#11293 and for consistency with
ReflectionConstant::isDeprecated() that was added in php/php-src#13669.

show more ...

d26617f730-Apr-2024 Peter Kokot

Remove unused PARSE_SESSION and PARSE_REQUEST (#14081)

These were removed via 0904dd3dc2bae8508f58f99c71e0d1d79fb91d38.

1c30c5e718-Apr-2024 Ilija Tovilo

Print location on class redeclaration

Fixes GH-13950
Closes GH-13999

d52605db28-Apr-2024 Ilija Tovilo

Replace xhtml image with base64 data

cb55588a28-Apr-2024 Ilija Tovilo

Skip online tests by default

Fixes GH-14058
Closes GH-14070

7f3fd30c30-Apr-2024 Ilija Tovilo

[skip ci] Fix intl test on 32-bit machines

1cf4cc3821-Mar-2024 David Carlier

ext/intl: IntlDateFormatter::parseToCalendar addition.

Unlike IntlDateFormatter::parse, the timezone is updated
accordingly.

Close GH-13779

5823a96f03-Mar-2024 David Carlier

ext/gettext: update arguments handling.

using zend_string whenever relevant too.

Close GH-13582.

782af7a929-Apr-2024 Ilija Tovilo

Fix -Walloc-size warning

It's indeed unsafe to treat zend_internal_function as zend_function, because
sizeof(zend_internal_function) < sizeof(zend_function), which can lead to buffer

Fix -Walloc-size warning

It's indeed unsafe to treat zend_internal_function as zend_function, because
sizeof(zend_internal_function) < sizeof(zend_function), which can lead to buffer
overflows. This might also be UB.

Either way, this would need to be addressed in the whole codebase.

show more ...

529a71ff29-Apr-2024 Ilija Tovilo

Merge branch 'PHP-8.3'

* PHP-8.3:
Fix __SANITIZE_ADDRESS__ redeclaration warning


5bac4a6429-Apr-2024 Ilija Tovilo

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix __SANITIZE_ADDRESS__ redeclaration warning


d670e13129-Apr-2024 Ilija Tovilo

Fix __SANITIZE_ADDRESS__ redeclaration warning

32936c5129-Apr-2024 David CARLIER

ext/pcntl: porting pcntl cpu affinity api to netbsd. (#14056)

ed91621429-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Avoid additional allocation in Document\createElementNS (#14071)

For the following benchmark code:
```php
$dom = DOM\XMLDocument::createEmpty();
for ($i = 0; $i < 1000*100; $i++)

Avoid additional allocation in Document\createElementNS (#14071)

For the following benchmark code:
```php
$dom = DOM\XMLDocument::createEmpty();
for ($i = 0; $i < 1000*100; $i++) $dom->createElementNS("urn:a", "thisisaveryverylongname");
```

We obtain the following on an i7-4790:
```
Benchmark 1: ./sapi/cli/php bench.php
Time (mean ± σ): 34.5 ms ± 1.2 ms [User: 31.4 ms, System: 2.9 ms]
Range (min … max): 32.4 ms … 39.3 ms 84 runs

Benchmark 2: ./sapi/cli/php_old bench.php
Time (mean ± σ): 36.6 ms ± 1.6 ms [User: 33.6 ms, System: 2.9 ms]
Range (min … max): 34.3 ms … 45.3 ms 80 runs

Summary
./sapi/cli/php bench.php ran
1.06 ± 0.06 times faster than ./sapi/cli/php_old bench.php
```

show more ...

956c3c2c12-Apr-2024 Adam Saponara

ext/openssl: Add option to load legacy algorithm provider

OpenSSL 3.x relegated a set of insecure algorithms to a "legacy"
provider which is not loaded by default. Some of these algorith

ext/openssl: Add option to load legacy algorithm provider

OpenSSL 3.x relegated a set of insecure algorithms to a "legacy"
provider which is not loaded by default. Some of these algorithms
have utility beyond encryption such as for hashing, e.g., DES[1]

Add a compile-time option to load the legacy provider in 3.x. When
enabled, also load the default provider because loading any provider
explicitly disables auto-loading the default provider.

[1] https://github.com/vitessio/vitess/blob/9e40015748ede158357bd7291f583db138abc3df/go/vt/vtgate/vindexes/hash.go#L157

Closes GH-13951

show more ...

afd91fb928-Apr-2024 Máté Kocsis

Migrate ext/odbc resources to opaque objects (#12040)

Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>

12345678910>>...4445