On Tue, Dec 31, 2024, 13:42 Christoph M. Becker wrote:
> On 11.07.2024 at 11:35, Giovanni Giacobbi wrote:
>
> > The recent PR #14877 [1] proposes to add the imagecompare gd function
> that
> > mimics the gdImageCompare function from libgd. I always thought that a
> &
generally
> > fine with bumping the requirements to C11, except for Giovanni Giacobbi
> > (whose draft PR[2] had no further discussion so far), and maybe for some
> > uncertainties regarding some less used compilers.
>
> Giovanni's remark that this would impact many people was
On Thu, 1 Aug 2024 at 23:57, Ilija Tovilo wrote:
> [...]
> I started fixing these in a PR [1] which required more changes than
> expected. After a short discourse, we were wondering whether it might
> be better to switch to a newer C standard instead. Our coding
> standards [2] currently specify
The recent PR #14877 [1] proposes to add the imagecompare gd function that
mimics the gdImageCompare function from libgd. I always thought that a
pixel-by-pixel matching function for two images was a big missing feature
in PHP, as the corresponding userland implementation is really, REALLY slow.
T
On Fri, 19 Nov 2021 at 10:13, Pierre wrote:
> Le 19/11/2021 à 10:10, Kamil Tekiela a écrit :
> > I would suggest option number 5. Leave it as it is. Many people are still
> > not aware that PHP 8 has been released.
> > If that's not possible, then we should keep the page (opt 3), otherwise
> we
>
On 9 November 2017 at 18:46, Thomas Hruska wrote:
> On 11/9/2017 7:36 AM, Sara Golemon wrote:
>
>> The sixth (and likely final) release candidate for 7.2.0 was just
>> released and can be
>> downloaded from:
>> https://downloads.php.net/~pollita/
>> Or using the git tag: php-7.2.0RC6
>>
>> Barrin
On 18 September 2017 at 19:04, Dmitry Stogov wrote:
> This commit should fix the problem https://github.com/php/php-src/commit/
> 5ef10d08ec2d0823fb21ad189dacfb43d900a0b5
>
>
> Yes! I tested 7.2.0RC2 with this patch applied and it fixes the problem.
Thank you!
On 18 September 2017 at 13:46, Dan Ackroyd wrote:
> On 18 September 2017 at 12:28, Giovanni Giacobbi
> wrote:
> >
> > just an heads up, I started testing my project with PHP 7.2.0RC2 but it
> was
> > causing a segmentation fault.
>
> Even if you think bu
mp(preg_match('/a/', "a")); => segmentation fault
If you need any further information let me know.
Kind regards
--
Giovanni Giacobbi
ll;
$retval = json_decode($json, true, 512, JSON_BIGINT_AS_STRING);
if (json_last_error() != JSON_ERROR_NONE)
throw new JsonDecodeException(json_last_error_msg(), json_last_error());
return $retval;
}
```
So yes, the behaviour of json_decode() might not be optimal, but it's fine
the way it is.
--
Giovanni Giacobbi
On 2 May 2017 at 11:55, Rowan Collins wrote:
> On 02/05/2017 10:13, Jesse Schalken wrote:
>
>> Related to the optimisation made by Sara Golemon here:
>> https://github.com/php/php-src/commit/c74bc87c74f48bc55541b3
>> bf2fc67d595f58a3b5
>>
>> I often define a function like this, which checks if an
hizing on the direction PHP had taken the past years (good
old times when the strict type hinting was rejected because it made it too
complicated for newcomers, lol).
Cheers
--
Giovanni Giacobbi
Greetings,
There is something weird with 7.1 and implicit strings to array
conversions, so I wanted to double check with you that the behaviour is
wanted (and perhaps the migration71 doc should be updated to reflect this.
So in the migration docs [1] you say that: " Applying the empty index
opera
o you guys can
fry me in another thread :P
On 15 January 2017 at 07:06, Wes wrote:
> you guys went slightly off topic :P
>
--
Giovanni Giacobbi
"Fleshgrinder" Fussenegger
>
> IMHO it already IS safe.
>
> In PHP 4 the "constructor" was a method thad had the same name as the
> class. But now it is a class that has always the same name and is always
> preceded with two underscores. There is no way to "accidentaly" call that
> method. You have to explicitly call "__construct" to "break" things.
>
> If developers "want" to break something they will find a way. Protecting
> "__construct" will not stop them from doing so. But it will stop the rest
> of us do legitimate things.
>
> Cheers
>
> Andreas
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Giovanni Giacobbi
I want to thank Markus and Björn for getting me up to speed with the
pointers.
Please see the rest of my response below.
On 11 January 2016 at 15:05, Rowan Collins wrote:
> Giovanni Giacobbi wrote on 11/01/2016 13:31:
>
>> set_exception_handler(callback function, bool also_throwa
Greetings,
Short premise before I get flamed: I know PHP 7 is rolling and it is way
too late for this, that I should've tested the RCs, follow the mailing list
and so on, but I'm a dev like you guys and struggle with the time to do
everything by the book, including reading the previous threads bec
On Sun, Jul 3, 2011 at 22:42, Antony Dovgal wrote:
> On 07/03/2011 04:50 AM, Giovanni Giacobbi wrote:
>>
>> Detailed changelog of the patch:
>> - Renamed options "pm.status_path", "ping.path", "ping.response" into
>> a new
Sorry I always forget this mailing list is "special" and strip my attachments...
Here is a link:
http://pastebin.com/7JpXr22c
On Sun, Jul 3, 2011 at 02:50, Giovanni Giacobbi wrote:
> Greetings dear devs!
>
> A few days ago I made my first nginx+php-fpm setup, and I soon
>
me if you accept this patch:
1) allow '$pool' variable to be used in the [globals], but this
requires a bit of restructuring because it needs to be lazy-expanded
in post process time instead of parsing time.
2) possibility to include more than one file per section
Looking forward to have
However, being actually non-defined, we
need to choose between __call() and __callStatic(), and i think that number 2
is the only applicable criteria.
Note that for my problem, reverting commit 295706 in branch PHP_5_3 is enough
to fix my problem, but it would break again 51176.
As this is
aviour, which sounds very reasonable,
and maybe introduce another way when you actually want to get rid of the
context, something like static::
--
Giovanni Giacobbi
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
s a single error channel, with the
exception of E_ALL and possibly E_NONE if it gets added. I would avoid
adding more E_* constants which don't represent a single channel. I
would find it confusing.
2c
--
Giovanni Giacobbi
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
for debugging (in fact I always have to debug_backtrace() to find
something useful).
There is NO ambiguity with current type hinting, you can still have classes
with the same name:
class is_int { }
function StandardHint(is_int $a);
IDEs can still act smart because is_int() is a PHP standard func
is gives the perfect freedom to the developers and makes everyone
happy. I know your concerns about third party libraries that you might have to
deal with, but if you trigger one of those errors, then it means you are not
respecting the APIs, which means there is a bug in your application.
h to push out an RC5 and release it as 5.3.0 only
changing the version number between them? I saw other projects doing this and I
think it helps to prevent major issues due to last-time fixes. I have this
feeling that 5.3.0 release is going to be traumatic!
Just my 2 cents.
--
Giovanni Giacob
extensions).
>
> I think we should allow this change.
>
Sorry if I'm not getting this right, but doesn't he have to explicitly require
version >= 5.2.10 in his pecl/memcached extension? It's not like that with this
change his extension is going to work for 5.2.x.
P is opening a raw
socket and communicating on its own with Apache#2 (the one outputting the wsdl
with chunked encoding). Thus PHP has to deal with this by itself, you cannot
consider it a misconfiguration of Apache#2, because it is legitimately using
the HTTP protocol.
--
Giovanni Giacobbi
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
1.1);
php_stream_context_set_option(context, "http",
"protocol_version", http_version);
zval_ptr_dtor(&http_version);
smart_str_appendl(&headers, "Connection: close",
sizeof("Connection: close")-1);
}
+#endif
if (headers.len > 0) {
zval *str_headers;
Regards
--
Giovanni Giacobbi
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
process.
The benefits? Nobody (but me...) would install an unstable version of PHP in a
production environment, but probably some people would taste an experimental
feature included in a stable version.
Just my 2 cents.
Regards,
--
Giovanni Giacobbi
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
s NOT
minOccurs="0" in Product's element definition. Am I doing something wrong?
Thank you
--
Giovanni Giacobbi
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
but i couldn't find an email address where to direct ready patches
for CVS. (maybe you should write it in the package documentation?)
Regards
--
Giovanni Giacobbi
--- php-4.3.2RC4/php.ini-dist.orig Thu May 8 03:23:35 2003
+++ php-4.3.2RC4/php.ini-dist Tue May 27 17:08:04 2003
@@ -67,7 +67,7 @@
;
32 matches
Mail list logo