Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant URL parsing API

2025-04-07 Thread Máté Kocsis
Hi Ignace, it might be brought back for future improvements. > > Yes, surely! > I have one last question regarding the URI implementations which are raised > by my polyfill: > > Did you also took into account the delimiters when submitting data via the > withers ? In other words is > > ```php

Re: [PHP-DEV] RFC: blank() Function as a Complement to empty()

2025-04-07 Thread Hans Henrik Bergan
>If this can still be implemented in userland you don't need logic integrated >at low level Afaik it cannot be implemented in userland today. The closest you can get today is to use reference hacks, which introduce side-effects, like if you do function blank(&$value){...} blank($_POST['foo']) an

Re: [PHP-DEV] RFC: blank() Function as a Complement to empty()

2025-04-07 Thread Rowan Tommins [IMSoP]
On 5 April 2025 21:00:15 BST, Rob Landers wrote: >I agree with most of these. I do not agree that " " (a space) is blank though. >For people without last names, this is often their last name to pass >validation on forms. This is firmly into "space-bar heating" [https://xkcd.com/1172/] terr