[PHP-DEV] Requesting RFC karma

2024-02-16 Thread Hans Henrik Bergan
My name is "Hans Henrik Bergan", usually go by the nickname
"divinity76", I've contributed to OSS (including PHP) for years, and
am currently involved in 3 things that might require an RFC, and
requesting RFC karma for wiki account "divinity76".

1/3: adding BLAKE3 to PHP, a *very* fast cryptographically secure
hash: https://github.com/php/php-src/pull/13194

2/3: int|float for sleep, sleep(0.1) => sleep 0.1 seconds:
https://github.com/php/php-src/pull/13401

3/3: int|float for DateTime::setTimestamp, setTimestamp(0.123456) =>
1970-01-01 00:00:00.123456 : https://github.com/php/php-src/pull/13383


Re: [PHP-DEV] RE: Testing new list server

2024-02-16 Thread Jorg Sowa
Hello Derick,
there is something wrong. I don't get all of the emails from the new setup,
only part. Examples of emails I didn't receive:
- https://externals.io/message/122391
- https://externals.io/message/122390
- https://externals.io/message/122388

I'm using Gmail and Spam doesn't contain any of them.

Kind regards,
Jorg


Re: [PHP-DEV] Re: [RFC] OOP API for cURL extension

2024-02-16 Thread Tim Düsterhus

Hi

On 2/15/24 16:44, Sara Golemon wrote:

* Define the conditions under which exceptions will be thrown (and which
exceptions) - I'll add these to the RFC, but in short:
   * CurlException - Never, it's an interface type to group the other
exceptions.


Interface or base Exception? I would suggest base exception for 
consistency with \Random\RandomException and \DateException and because 
of the reasoning I gave in this PR:


https://github.com/php/php-src/pull/9220


   * CurlHandleException - Whenever a CurlHandle::method() fails (in lieu of
returning false)
   * CurlMultiException - Same, but for the CurlMultiHandle class.
   * CurlShareException - Same, but for the CurlShareHandle class.


You already said that you would clarify, but I'm not sure if I find the 
distinction between Handle/Multi/Share useful.


An invalid option being passed to curl_setopt() and curl_multi_setopt() 
is an invalid option in both cases. No need to differentiate the 
exception type, because you know what function you called. In fact it 
should probably be a ValueError and not even something 
ext/curl-specific. Likewise a connection failure would be a connection 
failure, no matter if it is emitted by a handle or a multihandle: This 
could be a CurlConnectException (or possible a namespaced 
Curl\ConnectException).


Best regards
Tim Düsterhus


[PHP-DEV] PHP 8.2.16 Released!

2024-02-16 Thread Pierrick Charron
The PHP development team announces the immediate availability of PHP
8.2.16. This is a bugfix release.

All PHP 8.2 users are encouraged to upgrade to this version.

For source downloads of PHP 8.2.16 please visit our downloads page.
Windows binaries can be found on the PHP for Windows site.
The list of changes is recorded in the ChangeLog.

Release Announcement: 
Downloads:
Windows downloads:
Changelog:
Release Manifest: <
https://gist.github.com/adoy/63bd01f657b3f5cd6e5a271494349c68>

Many thanks to all the contributors and supporters!

Sergey Panteleev, Pierrick Charron & Ben Ramsey

php-8.2.16.tar.bz2
SHA256 hash:
2658c1b8935ab6b53a7f209354602761ab07066e66920bc472b8815fd1b43f71
PGP signature:
-BEGIN PGP SIGNATURE-

iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmXLibQRHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adxXfA/+PLJ1Kxs+27pSCazdb5isNZfjLxtYyPA2
If57qMuI+srNPoh6cx/5syXQH5kft+TetvmplWRqk/0FugfvgULSEZSOhB/CKHfC
BjhzMKZB6oB0BSTFwjFQOmbpJ7RuvGERQeiQn5/uKxZbfgR18div8iH8Rg8l2b0X
Q1Eo6qYY/grhkWVA24YkV/o4j5UV0pZx0nFRGT+FUYx3tTBteO5tXolU5pyxnYS8
kbjgd6EeLD1xjel3SpPzGEq5SIx48q1O+P3+lqBMbV/20i2M+TPOAOLDIGgJQJP/
P1tsFXuQEtoBSV1fj02Om/E7EAd+U1CKpZkbpJQOfshqa3y6NkOJARagDD7v5/ht
3nnsqBGgukFT5pb57wq5z9NvDlEdhWw7ZP7xNkCnC+47empZpki/xDZQDv9k47R7
hiJgXXfX6dOlNr5iZ8y8uryMxUyitj4frjv4qPnl2NBT5ROJ7TWBRfRnfK8zlTuT
sY2N/o3HiCpAKJkT6EM0Vcp4znTr61fUxq8Rx/4kI1FLm12HZ+9K4cUsRcz3D2HP
7pEyNtK0oVrID87K82sh/8MpTpQvw7YEeU4uLWD7zPvS13gi2dOhkVJxika975Q8
LrrPDZv5ztcC3tjClHpL2HkAx7ORsoUEo5t3EtIB2/Y41vfRDX3wRaV22f0J62w8
FcomuHBMYb4=
=9X2l
-END PGP SIGNATURE-


php-8.2.16.tar.gz
SHA256 hash:
62a92ef7c2c6f44b12e459d8f3d649aa8ebac5e05845f7479fe55a7580cd2dd0
PGP signature:
-BEGIN PGP SIGNATURE-

iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmXLibURHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adwr8g//QeVc4F68NDhtPKLHrBIXbb6rPhUSupr3
ZfkreFVJJkulwLjE+QtJBh0ZSP+NhDvyXa/LAyZaO/6k7tAga1yt2P+zcQvhZmdr
LaToJBAIDZzy1vA2/gHuJ3bNWrScxBSipo/UUHJAOB7LwMNeWSgDQ1wX8mDg3Odn
cuNVinAmjUoL20F5amKX2fnr1Wd+T7tChwH0DyyyH8eO+94LhBZXcxAOMXkfjIsl
MUAVJdXucCEKRvqyGbNwb97Il+RiaCbqk0i7JSvAA6avQL0onfEvhVdFAAfxoUb4
cQYdn/PkPhXSFXRAEmcV48d5mA6v4N9qeEZ9+FhTKlE0dCHmGjeVS1eYSFFQveU/
d9fOB5TSebIuLO5ecCq+6IO59T/nXPkfVyJ6eNWmPneAyBf4nejFesDZhhG+Ti7D
zQmNHHmU9Gg4Iw+NC1xTl1LOb62ZAfCU7ZIo02woDN3bADplIJDF+Wc8XThhzQun
/kdMA/Ke/05UWh2W4YUmwCc2wlOWnuznx6PLPHm7ccXbOoSVQajkQB9fPtVXUdez
BxjXJa7Vd2CegavuMqIp7F7b7+2zAcolLa34nknMuEKtgWVbf6FiuPAr2769P3vT
m/dOqtJn6uSHWHHQk96W41t8COvjxNdr8zniSuuKDcsVz84lJUEGYPAujRpsZBam
hrI6XY7LgzU=
=CWTU
-END PGP SIGNATURE-


php-8.2.16.tar.xz
SHA256 hash:
28cdc995b7d5421711c7044294885fcde4390c9f67504a994b4cf9bc1b5cc593
PGP signature:
-BEGIN PGP SIGNATURE-

iQJFBAABCgAvFiEEEZjAEXWTSXpexcGZKGrx+Yl0adwFAmXLibURHHBpZXJyaWNr
QHBocC5uZXQACgkQKGrx+Yl0adyPvg/+Kfs0y4SRHGcdppHynDIZQhPPqSsUHbTl
Z8DVv1e9KCIkFlMboc47s6C2VcPj7eMdnPUr9MYG1JMlW7Q8LzQMBNY9CG4PiWRw
dlXnYxzi3s7xAkyZZYSmrd08B84SWpz/h4UhuC45vNoKDL4Gda203GX6Eprv2txf
Z1EONizVvVaiLJxEj5r9xRWsoJ8NFNDU2wBfdHYxVEk/G82g4mP7uyjnXGxjHqQN
2qPwdVO/5MB9d6gQBrOYoO+S/sx5fK8UC2bElMREbyAouygx3yHBockguTs4Uzwt
h+71t+ehJNxiDROpZH6ufoGeZIkkaZRcWzfMCBvrwYckRuBY+6MHryupqFYmfPni
P4HxK/noLWtQwvv5lMiHURWoYhc2pGDoHt59D9oZTtTP9D1u2PjGO0e4cyJgdE7N
2gA+pRQxdDQceJDHPSDyMEIpkfb4w7u8d/l8L22Inizva9YpuFWKyXeb7u0mQFJg
32cB/mR1ffxYWH0hCMM2aWvr1op3CrEupGdG/FdTnBB6dD4LCUsXkuROP1yW7Uoi
VjAn/wg/H+CfIUjuKZNxGnRjvjrPsGxfx/2EGU/hRabEe+/cRQXtHtkaBzHbcmZv
K6SHC27bBirvxEHTVRGGLcYJX4TU8z4S29EjjA5pyv2NqxWamce0HPNEahWLJ1xv
bjxMi6LLmV8=
=25i9
-END PGP SIGNATURE-


[PHP-DEV] Registration apply for php wiki

2024-02-16 Thread 하늘아부지
Hi, My name is JaeHan Seo. (wiki username is *daddyofsky*)

I hope I can make a proposal by registering on the php wiki.
Thanks.


[PHP-DEV] Re: [RFC] OOP API for cURL extension

2024-02-16 Thread Yousuf Tafhim
+1 from me too

On Thu, Feb 15, 2024 at 5:30 PM Flávio Heleno 
wrote:

> On Wed, Feb 14, 2024 at 10:44 PM Sara Golemon  wrote:
>
>> Good afternoon folks, I'd like to open discussion on adding OOP APIs to
>> the cURL extension.
>> https://wiki.php.net/rfc/curl-oop
>>
>> This has been a long standing bug-bear of mine, and I think its time has
>> come.
>>
>> try {
>>   (new \CurlHandle)->setOpt(YOUR_VOTE, true)->exec();
>> } catch (\CurlHandleException $ex) {
>>   assert(false); // Why not?!
>> }
>>
>> -Sara
>>
>
> Although I do not have voting karma, that'd be a +1 from me!
>
> --
> Atenciosamente,
>
> Flávio Heleno
>


-- 
Regards
Muhammad Yousuf Tafhim
Full Stack Developer | Moodle Developer | WordPress Developer
0092-321-2474-383 yousuf.taf...@gmail.com
[image: twitter]  [image: linkedin]