[PHP-DEV] [VOTE] Never parameters (v2)

2025-04-21 Thread Daniel Scherzer
Hi internals, I have opened the vote on https://wiki.php.net/rfc/never-parameters-v2. The vote will run for 2 weeks (and a few hours), closing on May 5th at the end of the day (UTC). --Daniel

[PHP-DEV] Re: [RFC] [Discussion] Never parameters

2025-04-15 Thread Daniel Scherzer
On Tue, Apr 8, 2025 at 6:40 PM Daniel Scherzer wrote: > > Since a lot of the discussion seems to be around static analysis and > whether there is a real use case for this, I wanted to share another use > case I just came across: in the `thephpleague/commonmark` package, > differen

[PHP-DEV] Re: [RFC] [Discussion] Never parameters

2025-04-08 Thread Daniel Scherzer
On Mon, Mar 10, 2025 at 12:05 PM Daniel Scherzer < daniel.e.scher...@gmail.com> wrote: > Hi internals, > > I'd like to start discussion on a new RFC about allowing `never` for > parameter types when declaring a method. > > * RFC: https://wiki.php.net/rfc/never-par

Re: [PHP-DEV] [RFC] [Discussion] Never parameters

2025-04-05 Thread Daniel Scherzer
d you mind sharing details of your Serde use case? It seems that the BackedEnum example might not have been the best (since it is for static methods) and so perhaps a userland case where this would be used would help. --Daniel

[PHP-DEV] Re: Constructor property promotion for final properties

2025-04-05 Thread Daniel Scherzer
On Fri, Feb 21, 2025 at 12:09 PM Daniel Scherzer < daniel.e.scher...@gmail.com> wrote: > Hi internals, > > I recently found out that constructor property promotion cannot be used > for final properties. I propose that it become allowed. Thoughts? Would > this need an RFC, or

Re: [PHP-DEV] Release Managers for PHP 8.5

2025-03-26 Thread Daniel Scherzer
and above mentioned points. > > I believe I can satisfy the "core developer" candidate requirement. -Daniel

Re: [PHP-DEV] VCS Account Request: daniels

2025-03-25 Thread Daniel Scherzer
On Tue, Mar 25, 2025 at 5:11 PM Ilija Tovilo wrote: > Hi Daniel > > Derick also granted you the corresponding karma for your wiki account. > How can I check if this went through? I don't see any new option to vote on https://wiki.php.net/rfc/optional-interfaces. -Daniel

Re: [PHP-DEV] [RFC] [Discussion] Never parameters

2025-03-25 Thread Daniel Scherzer
up): void; } If we move the entire contract to the docblock, then the engine cannot be used to enforce the non-never-related parts. --Daniel

[PHP-DEV] [RFC] [Discussion] Final promoted properties

2025-03-24 Thread Daniel Scherzer
tion: https://github.com/php/php-src/pull/17861 --Daniel

Re: [PHP-DEV] Re: Constructor property promotion for final properties

2025-03-24 Thread Daniel Scherzer
that. > > --Larry Garfield > Okay, I've created https://wiki.php.net/rfc/final_promotion - I'll send an official notification email separately, but just wanted to include a link in the original thread. --Daniel

Re: [PHP-DEV] VCS Account Request: daniels

2025-03-21 Thread Daniel Scherzer
Hi internals. On Fri, Mar 21, 2025 at 3:11 PM Daniel Scherzer wrote: > Contributing to php-src with features and bug fixes, > https://github.com/DanielEScherzer Since there wasn't much space in the form field to fill out the details, I've been contributing to various parts

[PHP-DEV] VCS Account Request: daniels

2025-03-21 Thread Daniel Scherzer
Contributing to php-src with features and bug fixes, https://github.com/DanielEScherzer

Re: [PHP-DEV] Re: Constructor property promotion for final properties

2025-03-21 Thread Daniel Scherzer
On Fri, Mar 21, 2025 at 9:45 AM Alexandru Pătrănescu wrote: > > On Fri, Mar 21, 2025 at 5:20 PM Daniel Scherzer < > daniel.e.scher...@gmail.com> wrote: > >> On Fri, Mar 21, 2025 at 4:07 AM Tim Düsterhus wrote: >> >>> Can you clarify if the followi

Re: [PHP-DEV] Re: Constructor property promotion for final properties

2025-03-21 Thread Daniel Scherzer
} > > Best regards > Tim Düsterhus > Yes, that would result in constructor property promotion. I'll need to retarget the original PR for master, but at https://github.com/php/php-src/pull/17861 you can see in `Zend/tests/property_hooks/final_prop_promoted_2.phpt` a very similar test case. --Daniel

Re: [PHP-DEV] [RFC] [Discussion] Never parameters

2025-03-20 Thread Daniel Scherzer
On Sun, Mar 16, 2025 at 12:31 PM Matt Fonda wrote: > Hi Daniel, > > I believe this feature essentially amounts to "add methods which can never > be called", which in my mind makes no sense. If a method types against an > interface, and that interface uses a method wi

Re: [PHP-DEV] [RFC] [Discussion] Never parameters

2025-03-11 Thread Daniel Scherzer
n the way I would also personally prefer associated types: ... This at least lets you > ensure the "other point" is the same type in both functions, though > personally, I'd rather just have generics. I'd also like to have generics, but that isn't something I can implement myself. Associated types would be interesting, but I don't think that associated types would remove the entire use-case for `never` parameters, just perhaps the specific example of BackedEnum. - Daniel

[PHP-DEV] [RFC] [Discussion] Never parameters

2025-03-11 Thread Daniel Scherzer
Hi internals, I'd like to start discussion on a new RFC about allowing `never` for parameter types when declaring a method. * RFC: https://wiki.php.net/rfc/never-parameters-v2 * Implementation: https://github.com/php/php-src/pull/18016 -Daniel

[PHP-DEV] ReflectionClass output for enums

2025-02-25 Thread Daniel Scherzer
one is relying on the output of the string representations, it was suggested that I bring this up on the mailing list. Any objections? -Daniel

[PHP-DEV] Constructor property promotion for final properties

2025-02-21 Thread Daniel Scherzer
intentionally omitted. So, now the bug is a feature request. -Daniel [1] https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/734 [2] https://github.com/php/php-src/issues/17860 [3] https://github.com/php/php-src/issues/17861

[PHP-DEV] Re: [VOTE] Attributes on Constants

2025-01-05 Thread Daniel Scherzer
On Sat, Jan 4, 2025 at 4:03 PM Daniel Scherzer wrote: > > the vote will be open for 3 weeks given the holidays, closing on > 2025-01-06 at 00:00:00 UTC. > > Just a reminder that this will close in 24 hours, if you can vote but > haven't yet > > -Daniel > I have c

[PHP-DEV] Re: [VOTE] Attributes on Constants

2025-01-04 Thread Daniel Scherzer
> the vote will be open for 3 weeks given the holidays, closing on 2025-01-06 at 00:00:00 UTC. Just a reminder that this will close in 24 hours, if you can vote but haven't yet -Daniel

[PHP-DEV] htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated

2025-01-02 Thread Daniel Baldwin
class so sometime $fieldValue is a string and other times it is null. Both are valid. $fieldValue = null; echo htmlentities($fieldValue ?? '’); Thanks -- Daniel Baldwin 541-401-7797 smime.p7s Description: S/MIME cryptographic signature

[PHP-DEV] [VOTE] Attributes on Constants

2024-12-15 Thread Daniel Scherzer
Hi internals. I have opened the vote on https://wiki.php.net/rfc/attributes-on-constants - the vote will be open for 3 weeks given the holidays, closing on 2025-01-06 at 00:00:00 UTC. -Daniel

[PHP-DEV] Re: [RFC] [Discussion] Attributes on compile-time constants

2024-12-14 Thread Daniel Scherzer
On Sat, Nov 30, 2024 at 9:00 AM Daniel Scherzer wrote: > Hi again, > > Based on feedback to my last thread[1] that an RFC would be needed to > allow attributes on constants, I have just filed > https://wiki.php.net/rfc/attributes-on-constants and added it to the > "Under

Re: [PHP-DEV] Return When

2024-12-04 Thread Daniel Baldwin
t it will not return anything if $result['success’] == true. ------ Daniel Baldwin 541-401-7797 > On Nov 26, 2024, at 8:10 AM, Volodymyr Volynets > wrote: > > Hi PHP Mailing list, > > My username is vvolynets. > > I have an idea whi

Re: [PHP-DEV] [RFC] [Discussion] Attributes on compile-time constants

2024-12-03 Thread Daniel Scherzer
hanges” section should probably shortly > mention that this is new syntax and will need changes to IDEs, static > analysis tools and formatters. The second paragraph in > > https://wiki.php.net/rfc/closures_in_const_expr#backward_incompatible_changes > might be a good example. > Done -Daniel [1] https://youtu.be/hGYbXkfbkuU

[PHP-DEV] [RFC] [Discussion] Attributes on compile-time constants

2024-11-30 Thread Daniel Scherzer
eks unless issues arise. -Daniel [1] https://news-web.php.net/php.internals/126065

[PHP-DEV] Re: Adding attributes to compile-time constants

2024-11-30 Thread Daniel Scherzer
Since it seems that this requires an RFC, I have created an account on wiki.php.net with the username `danielescherzer` and kindly request edit privileges so that I can create the RFC. -Daniel On Tue, Nov 26, 2024 at 12:15 PM Daniel Scherzer < daniel.e.scher...@gmail.com> wrote: > Hi

[PHP-DEV] Adding attributes to compile-time constants

2024-11-26 Thread Daniel Scherzer
rwise the functionality is there and seems to work. Is anyone willing to help with the memory issue? Separately, once the memory issue is fixed, would this need to go through an RFC process? Thanks, --Daniel Scherzer [1] https://github.com/php/php-src/pull/16952

[PHP-DEV] Adding `ReflectionConstant::getExtension()` and `::getExtensionName()`

2024-10-31 Thread Daniel Scherzer
Hi internals, Last week I sent [1] to implement `ReflectionConstant::getExtension()` and `::getExtensionName()`. It was suggested [2] that I ask the mailing list if there are any objections. Are there? --Daniel Scherzer (https://github.com/DanielEScherzer) [1] https://github.com/php/php-src

[PHP-DEV] Sharing the CustomCast extension

2024-09-18 Thread Daniel Scherzer
useful for others. Basically, the extension allows a class to control how it should be treated when cast to a boolean, integer, or float. If this extension is useful to others, I can look into getting it published on PECL. Thanks, --Daniel Scherzer [1] https://github.com/DanielEScherzer/CustomCast

[PHP-DEV] Adding new `ReflectionConstant::getFileName()`

2024-09-16 Thread Daniel Scherzer
luded as part of the 8.4 release. Thanks, --Daniel Scherzer (https://github.com/DanielEScherzer) [1] https://github.com/php/php-src/pull/15847 [2] https://github.com/php/php-src/issues/15723 [3] https://github.com/php/php-src/pull/15847#issuecomment-2345774089 [4] https://github.com/php/php-src

[PHP-DEV] Proposal for New Feature: Multi-level Directory Navigation Function

2024-09-10 Thread Daniel Baldwin
s the current depth of the path? Is there a significant demand or use case from the community that justifies the inclusion of this function in the core PHP library? I look forward to feedback from the community to refine this proposal and gauge interest in moving forward with an RFC. Thanks! D

Re: [PHP-DEV][Discussion] Should All String Functions Become Multi-Byte Safe?

2024-08-12 Thread Daniel Haber
On 8/12/2024 9:53 AM, Rowan Tommins [IMSoP] wrote: On 11 August 2024 16:50:52 BST, Nick Lockheart wrote: It seems that if everything on the Internet is multi-byte encoded now, then all of the PHP string functions should be multi-byte safe. The phrase "multibyte safe" may have made sense abo

Re: [PHP-DEV] Brainstorming idea: inline syntax for lexical (captured) variables

2023-04-13 Thread DANIEL VARGAS MUCCILLO
issing from the first code block on the Transformation Rules's section. Good luck with the RFC, I hope it passes. -- Daniel Vargas Muccillo

[PHP-DEV] Re: [RFC] Unicode Text Processing

2022-12-15 Thread Daniel Wolfe
On 2022-12-15 8:34 AM, Derick Rethans wrote: Hi, I have just published an initial draft of the "Unicode Text Processing" RFC, a proposal to have performant unicode text processing always available to PHP users, by introducing a new "Text" class. You can find it at: https://wiki.php.net/rfc/unic

[PHP-DEV] karma

2022-09-12 Thread Daniel Wolfe
Hello, At some point in the near future, I’d like to submit an RFC. Could anyone please grant me karma? My username is dwo. Thank you in advance. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] Proposal for floored division and modulo functions

2022-08-23 Thread Daniel Wolfe
On 2022-08-22 11:49 AM, David Gebler wrote: The bit I think I might not like is these being functions, floor_div and floor_mod. They may be easily confused with the similarly named and existing fdiv and fmod functions. Wouldn't new operators, // and %% respectively, be preferable? Speaking to

Re: [PHP-DEV] Proposal for floored division and modulo functions

2022-08-21 Thread Daniel Wolfe
On 2022-08-21 3:59 PM, Rowan Tommins wrote: Could you give some quick examples of when these functions would give different answers, and why someone might need / want the "floor" variants? My hobby is fiddling with calendrical calculations, and, if you need a perfect subject area where the fl

[PHP-DEV] Proposal for floored division and modulo functions

2022-08-21 Thread Daniel Wolfe
Hello, Before I submit an RFC, I’d like to see what others’ thoughts are. Should PHP implement functions for floor division and floor modulo? To keep it simple, in some programming languages such as PHP and C, the result of integer division will be rounded towards zero, and result of the modulo

Re: [PHP-DEV] Interface for reflection entities who implements getAttributes method

2022-03-03 Thread DANIEL VARGAS MUCCILLO
Or stop by the room 11 chat room. > get in touch with you sometime after mid of this month! Em qua., 2 de mar. de 2022 às 00:35, Larry Garfield escreveu: > On Tue, Mar 1, 2022, at 2:02 PM, DANIEL VARGAS MUCCILLO wrote: > >> > >> I *think* all Reflector ch

Re: [PHP-DEV] Interface for reflection entities who implements getAttributes method

2022-03-01 Thread DANIEL VARGAS MUCCILLO
until there, so I can be less of a burden! -- Daniel Vargas Muccillo

[PHP-DEV] Interface for reflection entities who implements getAttributes method

2022-02-25 Thread DANIEL VARGAS MUCCILLO
with a PoC patch to make this adition. Thanks for your time until now and all the good work I've seen here. -- Daniel Vargas Muccillo

[PHP-DEV] [VOTE] Add PDO function: mysqlGetWarningCount

2021-07-06 Thread Daniel Beardsley
This fixes the open bug at: https://bugs.php.net/bug.php?id=51499. Voting will be open till 2020-07-21 https://wiki.php.net/rfc/pdo-mysql-get-warning-count The pull request (with tests) is here: https://github.com/php/php-src/pull/6677 Thanks for your time! Daniel

[PHP-DEV] Vote!

2021-07-06 Thread Daniel Beardsley
I've moved my RFC to the voting phase. Voting will be open till 2020-07-21 https://wiki.php.net/rfc/pdo-mysql-get-warning-count The pull request (with tests) is here: https://github.com/php/php-src/pull/6677 Thanks for your time! Daniel

[PHP-DEV] Subdomain .people partially broken

2021-05-21 Thread Daniel Lima
Hi people, since yesterday I can't access the subdomain https://people.php.net/ it returns the message: "Something happened to main". Does anyone know if any problems have been reported? Sincerely, Daniel Rodrigues(geekcom).

[PHP-DEV] Re: RFC: PDO MySQL get warning count

2021-04-05 Thread Daniel Beardsley
fixes the open bug: https://bugs.php.net/bug.php?id=51499. If there is no other feedback in a day or two, I'll probably move it to "In Voting". https://wiki.php.net/rfc/pdo-mysql-get-warning-count Thanks in advance for your thoughts! Daniel Beardsley On Fri, Feb 26, 2021 at 8:45 A

[PHP-DEV] RFC: PDO MySQL get warning count

2021-02-26 Thread Daniel Beardsley
s an open issue in the bug tracker: https://bugs.php.net/bug.php?id=51499 Thanks for your consideration! Daniel

[PHP-DEV] Potential RFC around PDO

2021-02-17 Thread Daniel Beardsley
. The first step is emailing! I'd like to propose adding a function to the mysql pdo driver (in the same way postgres and sqlite have) to extract the count of warnings from the last executed statement. See the pull request linked above for a more thorough description. Should I make an RFC out of this? Thanks for your time! Daniel Beardsley

[PHP-DEV] [RFC] Null Coalescing Assignment in Method Signature

2021-01-21 Thread Daniel Simkus
) Thank you all for your time Regards, Daniel Simkus

RE: [PHP-DEV] Re: Documentation is on git

2020-12-30 Thread Daniel Lima
Great work Andreas, thanks for this. geekcom De: Adiel Cristo Enviado: quarta-feira, 30 de dezembro de 2020 13:17 Para: Andreas Heigl Cc: PHP Documentation ML ; PHP internals Assunto: [PHP-DEV] Re: Documentation is on git On Wed, Dec 30, 2020 at 11:19 AM Andr

Re: [PHP-DEV] The @@ is terrible, are we sure we're OK with it?

2020-07-22 Thread Daniel Martín Spiridione
+1 El mié., 22 jul. 2020 a las 9:00, Derick Rethans () escribió: > Hi all, > > I know we've voted twice on this already, but are we really sure that > the @@ syntax is a good idea? > > - There are lots of grumbles, both on here, room 11, as well as in the > wider community (https://www.reddit.c

RE: [PHP-DEV] [RFC][Discussion] Change terminology to ExcludeList

2020-06-16 Thread Daniel Rodrigues Lima
+1 for this, exclude_list better explains code intent than blacklist. -- Cheers, Daniel Rodrigues. geek...@php.net https://twitter.com/geekcom2 De: Michał Brzuchalski Enviado: terça-feira, 16 de junho de 2020 09:14 Para: PHP Internals List Assunto: [PHP-DEV

RE: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
Thanks Kalle. -- Cheers, Daniel Rodrigues. geek...@php.net https://twitter.com/geekcom2 De: Kalle Sommer Nielsen Enviado: segunda-feira, 15 de junho de 2020 21:43 Para: Daniel Rodrigues Lima Cc: PHP Internals Assunto: Re: [PHP-DEV] About the use of the terms

RE: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
How is it in the process of creating an RFC... "1. Email internals@lists.php.net to measure reaction to your intended proposal. " -- Cheers, Daniel Rodrigues. geek...@php.net https://twitter.com/geekcom2 De: Kalle Sommer Nielsen Enviado: segunda-fe

RE: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
negative way. -- Cheers, Daniel Rodrigues. geek...@php.net https://twitter.com/geekcom2 De: Kalle Sommer Nielsen Enviado: segunda-feira, 15 de junho de 2020 20:54 Para: Daniel Rodrigues Lima Cc: Deleu ; Lynn ; PHP internals Assunto: Re: [PHP-DEV] About the use

RE: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
The simple fact that we don't know how to deal with this type of discussion can say a lot about of our community. Anyway when I started this discussion I didn't imagine that I would receive so many negative feedbacks. -- Cheers, Daniel Rodrigues. geek...@php.net https://twitter.co

RE: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
As additional information, i would like to add that Michał Brzuchalski (brzuchal), has an open PR in order to change the blacklist terminology in PHP. https://github.com/php/php-src/pull/5685 -- Greets, Daniel Rodrigues. geek...@php.net https://twitter.com/geekcom2

RE: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
ow to be better humans; 3. I fully agree; 4. Sometimes it's necessary "broken window policing"; 5. I truly recognize this, and respect above all. However if the majority disagree with the changes it is not worth pursuing this discussion, and I should not even write an RFC

RE: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
Hi Chuck, About the blacklist , I searched the branch master and found 170 occurrences. ✔ grep -rni "blacklist" php-src/ > blacklist_occurrences.txt -- Cheers, Daniel Rodrigues geek...@php.net https://twitter.com/geekcom2 De: Chuck Adams Env

RE: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
r intended proposal. " -- Cheers, Daniel Rodrigues geek...@php.net<mailto:geek...@php.net> https://twitter.com/geekcom2 De: Nikita Popov Enviado: segunda-feira, 15 de junho de 2020 13:51 Para: Daniel Rodrigues Lima Cc: PHP Internals Assunto: Re: [PHP-

RE: [PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
Hi Kalle, I understand your position. But i believe that changing retrograde terminologies that refer to bad feelings, doesn't put us anywhere politically. It's not about sides, it's about people, and our community is made up of people. -- Cheers, Daniel Rodrigues geek..

[PHP-DEV] About the use of the terms master/slave and blacklist, proposal to replace.

2020-06-15 Thread Daniel Rodrigues Lima
/ * https://issues.apache.org/jira/browse/COUCHDB-2248 * https://bugs.python.org/issue34605 Greets, Daniel Rodrigues. geek...@php.net<mailto:geek...@php.net> https://twitter.com/geekcom2 https://www.linkedin.com/in/danielrodrigueslima/

Re: [PHP-DEV] @official_php credentials?

2020-03-05 Thread Daniel Brown
On Tue, Feb 4, 2020 at 8:47 AM Derick Rethans wrote: > > On Tue, 4 Feb 2020, Ben Ramsey wrote: > > > If you use TweetDeck, you can grant access to others, without needing > > to pass around the credentials. > > Yes, that is exactly how we are using it. I'm presuming the credentials were chang

Re: [PHP-DEV] A Hacker's Guide - Obsolete

2020-01-23 Thread Daniel Martín Spiridione
don't have an official document to understand the PHP core. I do not promote the generation of extensions, but if necessary the official documentation does not help, even confuses. Regards El jue., 23 ene. 2020 a las 9:21, G. P. B. () escribió: > On Thu, 23 Jan 2020 at 13:07, Danie

[PHP-DEV] A Hacker's Guide - Obsolete

2020-01-23 Thread Daniel Martín Spiridione
Hi interns. The official PHP.net documentation of the "PHP at the Core: A Hacker's Guide" section (https://www.php.net/manual/en/internals2.php) is obsolete. In that sense Python has good documentation to be extended in C / C ++. I think this is also one of the reasons why there are libraries like

Re: [PHP-DEV] Who are the current eligible voters?

2020-01-15 Thread Daniel Rodrigues Lima
Some good ideas are being clarified in this thread, i would highlight: “- One-time notifications about this and other information on contributing when logging into pecl, bugs.php.net, the wiki, or other subdomains (e.g. "Did you know?" dialog boxes) - Links to the same thing included in emails w

Re: [PHP-DEV] Support for Async / Await

2019-12-23 Thread Daniel Martín Spiridione
A different but valid approach to your concerns is krakjoe/parallel ( https://github.com/krakjoe/parallel/blob/develop/README.md). Unfortunately, NTS support is lacking, but it would be very good if the internals collaborated with this project. El dom., 22 de dic. de 2019 17:59, Aran Reeks escrib

Re: [PHP-DEV] PHP's declining(?) popularity

2019-09-16 Thread Daniel Martín Spiridione
The lack of concurrent PHP features in 2019 is, in my opinion, sufficient reason not to use it for CLI projects. Some companies do not welcome installing extensions like Swoole, the language should have native concurrent features. Daniel El dom., 15 sept. 2019 a las 0:33, Mike Schinkel

[PHP-DEV] request to migrate pear/HTML_Form from svn to github

2018-09-08 Thread Daniel
her topic. https://pear.php.net/package/HTML_Form/ http://svn.php.net/viewvc/pear/packages/HTML_Form/trunk/ https://github.com/pear/HTML_Form Best Regards Daniel Fahlke aka Flyingmana

Re: [PHP-DEV] Mailing list moderation

2018-01-03 Thread Daniel Brown
On Wed, Jan 3, 2018 at 11:16 AM, Johannes Schlüter wrote: > On Di, 2018-01-02 at 11:49 +0100, Nikita Popov wrote: >> li...@rhsoft.net, who have recently been >> aggressively derailing > > He was blocked in 2012 already: > > https://externals.io/message/59395#59421 I hadn't even noticed this t

Re: [PHP-DEV] Outstanding php.net account requests

2017-12-21 Thread Daniel Brown
On Fri, Dec 8, 2017 at 11:38 AM, Peter Cowburn wrote: > On 5 December 2017 at 13:57, Christoph M. Becker wrote: > > Furthermore, while some have karma to approve VCS accounts, they may not >> have karma to grant karma – so approving the accounts without granting >> actual karma does not really ma

Re: [PHP-DEV] Deprecate and remove case-insensitive constants?

2017-09-14 Thread Daniel Morris
gt; inconvenience the many just to satisfy the few. You are nearly always a minority opinion, the irony of you writing this whilst at the same time asking the world to slow down so that your stubborn fourteen year old framework can catch up beggars belief. -- Daniel Morris dan...@honestempire.com --

Re: [PHP-DEV] Deprecate and remove case-insensitive constants?

2017-09-14 Thread Daniel Morris
they should be forced to justify that decision. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Segmentation fault when try to get the 'current_execute_data' on a PHP extension

2017-04-20 Thread daniel gatis
I'm trying to develop a php extension for print all functions call like a backtrace. But when I'm trying to get the current function a segmentation fault is throw. What is the problem with my code? My php test code: function a() { b(); } function b() { c(); } function c() { var_dump

[PHP-DEV] Improvements to the PHP test suite

2016-12-07 Thread Daniel Morris
be a written in PHP, or is the internals team open to perhaps writing the test runner in another language, keeping the same flags that run-tests.php currently uses, but choosing a language which could improve the performance of the suite. Thoughts appreciated always. Daniel Morris. -- Da

Re: [PHP-DEV] Countable Type Hint

2016-11-23 Thread Daniel Morris
passed to the same method or function. I'm sure there are more edge-cases like this also... -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Parameter No Type Variance

2016-11-21 Thread Daniel Morris
What happens if the method signature is defined within an interface? I would consider that method signature a contract and one that should not be able to be overwritten. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] [RFC] Deprecations for PHP 7.2

2016-11-20 Thread Daniel Morris
– I don't think it has wide-enough usage to worry about deprecating it sooner rather than later. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC][Vote] Typed Properties

2016-11-19 Thread Daniel Morris
s the time to change visibility is dropped significantly; if you've hired developers that care more about trends than your application then you've hired the wrong developers. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsu

Re: [PHP-DEV] Declare directive to change engine version basis

2016-11-18 Thread Daniel Morris
I think this would create a lot of additional work for internals maintainers, and the current system of throwing an E_DEPRECATED already allows for developers to prepare their applications for future versions by turning on error reporting and checking their logs. -- Daniel Morris dan

Re: [PHP-DEV] Type locked variables

2016-11-15 Thread Daniel Morris
e benefit that can be gained from this as of yet since the variables will still be a zval internally. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Wiki - Extentions

2016-11-04 Thread Daniel Klein
uot; is a mention of "zend_llist type". This looks like a typo but I can see from the source code that it isn't. Does it stand for "linked list" (I didn't read the entire source to find out)? Would you add the definition in parentheses after it please? E.g. "Both are

Re: [PHP-DEV] Intention to move mcrypt to PECL

2016-10-21 Thread Daniel Morris
On Thu, 6 Oct 2016, at 11:41 AM, Lester Caine wrote: > It is already an established component in PHP and while it's use has > been discouraged for a long time, simply switching it off will break a > lot of legacy applications. How many applications that are not following standard security guidelin

Re: [PHP-DEV] [RFC] OpenSSL BigNum support

2016-10-18 Thread Daniel Morris
And sorry for the spam (this should have been mentioned in the last email), as far as I can tell, there is no-way to say "I want a either a signed or unsigned integer with an N bits", I've come across this recently whilst trying to implement Murmur3 (128-bit) in PHP, I can of-course binary AND int

Re: [PHP-DEV] [RFC] OpenSSL BigNum support

2016-10-18 Thread Daniel Morris
On Tue, 18 Oct 2016, at 09:22 AM, Nikita Popov wrote: > On Tue, Oct 18, 2016 at 3:35 AM, Sara Golemon wrote: > > > As it says on the tin: Wrap the BN (BigNumber) library in OpenSSL. Why do we need GMP when we have BCMath? GMP is faster (from what I've seen so far from various tests and blog post

Re: [PHP-DEV] [RFC] OpenSSL BigNum support

2016-10-17 Thread Daniel Morris
I realise this is only exposing functionality already available with OpenSSL but is it worth adding tests that cover some arbitrary precision arithmetic? The tests at the moment cover integers that PHP already handles natively without requiring either GMP or BCMath. There's usage of zend_parse_par

Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace withcomposer/pickle

2016-09-08 Thread Daniel Morris
PHPCS ready and waiting in `vendor/bin`, others will have the same toolset you're using, so discrepancies between environments will have been reduced. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Single Point of Entry Apps.

2016-09-08 Thread Daniel Morris
ple of this approach. > > Thanks. I'm sure I remember reading somewhere that fabpot was working on one in Golang? Something similar to Unicorn or Puma from the Ruby ecosystem would be a boon. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace withcomposer/pickle

2016-09-08 Thread Daniel Morris
the deprecation of PEAR, it served many well for a long time, but Composer has made life much easier for the majority. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace with composer/pickle

2016-09-08 Thread Daniel Morris
ntly, and likely are still using styles and patterns from the PHP 4 era. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace with composer/pickle

2016-09-08 Thread Daniel Morris
On Thu, 8 Sep 2016, at 08:43 AM, Tony Marston wrote: > Perhaps users could be prevented from making such basic mistakes if they > had > a 21st century web interface instead of the archaic command line. Why don't you make one? -- Daniel Morris dan...@honestempire.com -- PHP I

Re: [PHP-DEV] [RFC] Deprecate PEAR/PECL & Replace with composer/pickle

2016-09-08 Thread Daniel Morris
is already compatible with Composer, and Composer has the ability to specify dependencies, and dependencies intended for development. After running composer install you can execute `vendor/bin/phpcs`, and if you were working collaboratively, collaborators would all have the same toolset

Re: [PHP-DEV] [RFC] orphan extensions cleanup

2016-08-18 Thread Daniel Morris
of life 2 years ago), removing it from PHP7 shouldn't cause you too much concern, since (based on your current pace of upgrading) you won't be switching to PHP7 until 2024. -- Daniel Morris dan...@honestempire.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] [RFC] orphan extensions cleanup

2016-08-17 Thread Daniel Morris
month.) -- Daniel Morris dan...@honestempire.com On Thu, 18 Aug 2016, at 12:32 AM, Kalle Sommer Nielsen wrote: > Hi > > 2016-08-15 7:53 GMT+02:00 Stanislav Malyshev : > > Please comment and discuss! > > What about adding the following: > ext/dba > ext/interbase > e

[PHP-DEV] Proposal for php7 class method return

2016-07-09 Thread Daniel Ciochiu
Hi, I have a proposal that for a given method with a return type of , if method does not return anything than it should it's instance. It will reduce code by only one line, but will improve consecutive method calls. class myClass { protected $value; function setValue($value) : self {

Re: [PHP-DEV] RFC about automatic template escaping

2016-03-21 Thread Daniel Beardsley
> I think having the behaviour of language features depend in an incompatible > way on a global runtime setting is a bad idea because it creates nonlocal > effects and means code cannot be realiably composed. This is probably the best argument against this RFC. Though how often that issue would co

Re: [PHP-DEV] RFC about automatic template escaping

2016-03-21 Thread Daniel Beardsley
> The similarity is that magic quotes assumed that the input data was going to > be embedded within an SQL query without escaping, and therefore needed > escaping. Of course that's an invalid assumption, the input data could be > re-rendered, processed in some arbitrary way, written to a file, sent

Re: [PHP-DEV] RFC about automatic template escaping

2016-03-20 Thread Daniel Beardsley
> Wouldn't this __auto_escape setting effectively break libraries that depend > on it being on or off? The settings was meant to be turned on *only* during template rendering. So, yes, if outside code is run during your template rendering that also uses templating, but is unaware of auto escaping,

Re: [PHP-DEV] RFC about automatic template escaping

2016-03-20 Thread Daniel Beardsley
> Issue is "Escaping is done on a specific context". > > I understand your proposal is focused on HTML escaping. However, > setting names like > __auto_escape_exempt_class > is not good choice. It has to be > __auto_html_escape_exempt_class > at least because it is for HTML escaping. Yes, the ini

  1   2   3   4   5   6   7   8   >