History log of /php-src/ (Results 1 – 25 of 111045)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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>

57cd23d628-Apr-2024 Pascal Christen

Adjust zlog warning and error message in kqueue (#14053)

d5d227a428-Apr-2024 David CARLIER

[ci skip] ext/sockets: followup on #14065. (#14066)

freebsd supports SO_NOSIGPIPE too.

b147a22b28-Apr-2024 David Carlier

ext/sockets: adding SO_NOSIGPIPE constant.

it s the macOs way to disable the SIGPIPE signal emission, same
as doing `signal(SIGPIPE, SIG_IGN)` but on the socket level.

Close GH

ext/sockets: adding SO_NOSIGPIPE constant.

it s the macOs way to disable the SIGPIPE signal emission, same
as doing `signal(SIGPIPE, SIG_IGN)` but on the socket level.

Close GH-14065

show more ...

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

Be specific for the namespace of the id attribute (#14060)

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

Improve performance of text node allocation by marking the text node construction as always inline

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

Get rid of error gotos in HTML5 parse conversion

3876225727-Apr-2024 Máté Kocsis

Fix casing of NULL default values

243827b827-Apr-2024 David Carlier

Fix GH-13519: another attempt after the faulty fix.

Close GH-14055

8e4363de26-Apr-2024 Dmitry Stogov

Update IR

IR commit: 3b35a1fd61b2b72da8a0852549880d2aff391dbe

bad5d2c725-Apr-2024 Dmitry Stogov

Update IR

IR commit: ae34ae52b7b1c359afa03a0a1f45cbf689a64471

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

Get rid of remaining usages of zval_try_get_string() (#14041)

This isn't necessary because the cases where we use it will always
succeed because the properties always have the type strin

Get rid of remaining usages of zval_try_get_string() (#14041)

This isn't necessary because the cases where we use it will always
succeed because the properties always have the type string|null.

show more ...

f68d725223-Apr-2024 Gina Peter Banyard

UPGRADING

c96e894622-Nov-2023 Gina Peter Banyard

ext/mbstring: Check encoding passed to mb_http_output() has no null bytes

86dfbadc19-Nov-2023 Gina Peter Banyard

ext/mbstring: Always pass length to php_mb_get_encoding_or_pass()

We have access to this information, so propagate it instead of calling strlen().
This also removes the newly introduced

ext/mbstring: Always pass length to php_mb_get_encoding_or_pass()

We have access to this information, so propagate it instead of calling strlen().
This also removes the newly introduced _ex() variant.

show more ...

b61479bb18-Nov-2023 Gina Peter Banyard

ext/mbstring: Pass string length to _php_mb_ini_mbstring_http_output_set()

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

[ci skip] UPGRADING

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

Fix GH-13815: mb_trim() inaccurate $characters default value (#13820)

Because the default characters are defined in the stub file, and the
stub file is UTF-8 (typically), the characters

Fix GH-13815: mb_trim() inaccurate $characters default value (#13820)

Because the default characters are defined in the stub file, and the
stub file is UTF-8 (typically), the characters are encoded in the string
as UTF-8. When using a different character encoding, there is a mismatch
between what mb_trim expects and the UTF-8 encoded string it gets.

One way of solving this is by making the characters argument nullable,
which would mean that it always uses the internal code path that has the
unicode codepoints that are defaulted actually stored as codepoint
numbers instead of in a string.

Co-authored-by: @ranvis

show more ...

13a5a81223-Apr-2024 Gina Peter Banyard

ext/gmp: Fix leading whitespace before explicit octal prefix

4719ef2523-Apr-2024 Gina Peter Banyard

ext/gmp: Improve error message

71194ea723-Apr-2024 Dmitry Stogov

Update IR

IR commit: 65586bd4cf9cd2d3b41492f52823c5083cea77e4

6d285e3d23-Apr-2024 Arnaud Le Blanc

[ci skip] UPGRADING

12345678910>>...4442