Hi,
sorry, I don't know where to send this. But
When visiting https://www.php.net/ I get a certificate error: The
provided certificate is for www.caruso.ovh.
When visiting http://www.php.net (http only), I get redirected to
http://www.caruso.ovh/
Regards
Thomas
--
PHP Internals - PHP
Hi,
I was looking at the current vote of this RFC and I stumbled upon
Theodore's remark that the RFC feels unfinished as it can't be used in
conjunction with readonly properties/classes.
The RFC disallows (for the time being) the mixing of readonly with
explicit asymmetric visibility. And I
Hi,
Am 15.10.22 um 13:18 schrieb Gianni Gentile:
Hi,
in my every day experience, using custom DTO classes and different API,
I often write code to instantiate my objects from associative arrays.
What are your thoughts on introduce the `(AnyType)` cast to instantiate
objects from
Hi,
In summary, I believe this can only be solved inside of PHP itself, by
allowing to configure a way for `max_input_vars` to abort the request
instead of truncating the input.
The options I see feasible are:
- A new ini setting `max_input_vars_abort` (default to 0), which, if set
to 1,
Hey,
Am 14.08.22 um 14:29 schrieb Paul Dragoonis:
Hey,
So one thing that keeps me up at night (for a while now) is resisting the
urge not to venture down a rabbithole of writing code which is loading the
PHP runtime from Rust/Golang (up to MINIT)
And then at RINIT time, we load the right SAPI
Hi,
Am 05.08.22 um 19:08 schrieb Larry Garfield:
Ilija Tovilo and I are happy to present the first new RFC for PHP 8.3:
Asymmetric Visibility.
https://wiki.php.net/rfc/asymmetric-visibility
Details are in the RFC, but it's largely a copy of Swift's support for the same.
Great to hear that
Hi,
Am 29.03.22 um 14:34 schrieb Rowan Tommins:
On 29/03/2022 11:59, Robert Landers wrote:
$object instanceof AnotherInterface => 'bar',
We can see that `SomeInterface` will resolve the interface and not the
constant.
Yeah, the instanceof operator is magic in that regard - it has
Hi Nicolas,
as far as I understand, adding new ini settings is not the way to go as
this would mean that your code behaves differently on different
environments.
Two suggestions:
* Write your own error handler that ignores those errors.
* Try some tool like Rector to rewrite your code.
Hey,
let's celebrate! Congrats and thanks to all who have been involved in
creating this great new release!
Best regards
Thomas
Am 25.11.21 um 19:20 schrieb Patrick ALLAERT:
The PHP development team announces the immediate availability of PHP 8.1.0.
This release marks the latest major
Hi,
Am 22.09.21 um 15:29 schrieb Matthew Weier O'Phinney:
Here's the issue: while overall, I like the move to resource objects,
introducing them in a MINOR release is hugely problematic.
Previously, you would do constructs such as the following:
if (! is_resource($resource) ||
Hi!
class UserPreferences {
private DB $db;
function getColor(): string {
$preferredColor = $this->db->getColor();
if ($preferredColor === 'light') {
return '#fff';
}
if ($preferredColor === 'dark') {
return '#000';
Am 28.12.20 um 21:23 schrieb Larry Garfield:
There's been a number of discussions of late around property visibility and how
to make objects more immutable. Since it seems to have been well-received in
the past, I decided to do a complete analysis and context of the various things
that have
Hi,
Am 15.06.20 um 21:14 schrieb Stanislav Malyshev:
Hi!
I was surprised by the many negative responses: Partly just discussing
the term "blacklist" that is perhaps not the main issue. Or telling
people how they should feel and understand words.
Nobody tells you how to feel. But when you
Hi,
I was surprised by the many negative responses: Partly just discussing
the term "blacklist" that is perhaps not the main issue. Or telling
people how they should feel and understand words.
Personally, I don't have any issues with "blacklist" - as I do not see
any historical reason for
Hi,
Am 12.08.19 um 10:26 schrieb Nikita Popov:
On Mon, Aug 12, 2019 at 10:17 AM Nicolas Grekas <
nicolas.grekas+...@gmail.com> wrote:
Le lun. 11 déc. 2017 à 14:44, Nikita Popov a
écrit :
Some time ago I introduced the following proposal for namespace-scoped
declares:
Hi Thomas,
I regularly go to the php.net homepage for the live documentation search
function just to make sure I'm using functions correctly. My most
frequent search is the date() function for the % code list. One of
these days I'll print out that docs page instead of looking it up every
Hi,
On 12/02/2016 02:54 PM, Matteo Beccati wrote:
On 02/12/2016 08:36, Thomas Nunninger wrote:
Hi,
So, if I only want to get the emulated prepared statement, I have to do
ob_start()/ob_get_clean(), then use a regexp to fetch it ? I want v1
back T_T
I second that. Why do you print
Hi,
So, if I only want to get the emulated prepared statement, I have to do
ob_start()/ob_get_clean(), then use a regexp to fetch it ? I want v1
back T_T
I second that. Why do you print it directly? Wouldn't it be better to
return a structured array with the information needed? If needed,
Hi,
On 10/04/2016 01:33 PM, Pascal KISSIAN wrote:
Hi everybody,
I have an application where a small file is included at multiple places.
So far so good.
The problem is that this include consists in a small piece of code which is
inside a multi-level loop.
The include is done about an
Hi,
On 09/06/2016 09:14 AM, Sebastian Bergmann wrote:
Am 05.09.2016 um 12:13 schrieb Derick Rethans:
You can't really ship PHP without a way to install extensions though!
Why not?
IMHO, PHP should not be shipped with any tool for installing PHP
components (PEAR Installer, Composer, ...) or
Hello,
shouldn't it be possible to return null as new key? That way you say:
Use the next free integer index.
Not sure if returning null is wanted (as it could hide errors in the
callback) or needed in some real world use cases. But it would be more
in sync with $a[] = ...
Regards
Thomas
Hi,
On 01/14/2015 10:32 AM, Andrea Faulds wrote:
Hi Leigh,
On 14 Jan 2015, at 09:17, Leigh lei...@gmail.com wrote:
I really don't like this behaviour being changed at the call site. If
I design a function that I _know_ should only take a string, then I
want it to be an error if the user
Hi Andrea,
On 01/14/2015 11:20 AM, Andrea Faulds wrote:
Hi Thomas,
On 14 Jan 2015, at 10:08, Thomas Nunninger tho...@nunninger.info wrote:
$i = 1;
$a = myFunc( $i );
declare(strict_typehints=TRUE);
function myFunc( float $f )
{
return otherFunc( $f );
}
function
On 08/16/2014 12:52 AM, Pierre Joye wrote:
On Sat, Aug 16, 2014 at 12:49 AM, David Soria Parra d...@php.net wrote:
On 2014-08-15, Pierre Joye pierre@gmail.com wrote:
snip
Let me summerize a few things that have come up:
(1) phpng doesn't justify PHP7
It does. It's a complete new
Hi,
On 07/16/2014 10:45 PM, Andrea Faulds wrote:
On 16 Jul 2014, at 21:43, Zeev Suraski z...@zend.com wrote:
anything this RFC permits will
be permitted by zpp, it's the reverse that isn't necessarily true.
Right, so it needs to be fixed. It makes no sense to force a new agenda
on the
Hi Dan,
On 07/17/2014 02:12 PM, Dan Ackroyd wrote:
Thomas Nunninger wrote:
- scalar parameter casting should just be a convenience for coding:
function foo( (int) $i, (string) $s )
{
}
is the same as:
function foo( $i, $s )
{
$i = (int) $i
Hi,
On 07/17/2012 05:40 AM, Nicholas Curtis wrote:
Great Idea, would love to see current standard library in a legacy
namespace and a new standard library implemented as methods of
primitive types.
The idea to separate old and new behaviour has some charm.
$string = Hello, World;
echo
Hi,
sorry for late comment.
You write: The ST or DST modifiers can only be used when specifying times
during the backward transition period. Using the modifiers at other times
will throw an exception in object-oriented style code while procedural style
code will return false without
Hi,
if it comes to auto-converting (that's different from existing type-juggling):
wouldn't it be nice, to change type-juggling as well?
I know about BC breaks here, thus it would need till PHP 7 or so to become the
default behavior. But I think, BC breaks mainly occur in the cases where
Hi,
another end-user perspective:
Am Montag, 24. Mai 2010 14:12:41 schrieb Zeev Suraski:
At 14:48 24/05/2010, s...@geleia.net wrote:
Adding strict typing would be the largest
inconsistency in PHP's core syntax, ever.
I disagree. The === operator already checks the type of the
30 matches
Mail list logo