Coding
PHP8, from a security point of view
Some good things in there, but this stuck out to me: PHP8 didn’t seize the opportunity to keep the momentum and to aliases rand and mt_rand to random_int I hope they never do this; rand Read more…
Some good things in there, but this stuck out to me: PHP8 didn’t seize the opportunity to keep the momentum and to aliases rand and mt_rand to random_int I hope they never do this; rand Read more…
Hi all, Just wanted to share the latest release of the phpdocx library. This is a solution for dynamic generation of DOCX. Among other things: import HTML, convert to PDF and HTML, document protection and Read more…
I’m wondering if there is a particular version, such as PHP 8, where this will cause an error by default: Multiplying numbers by strings seems like it would be a no-no, although it’s so far Read more…
I understand the jab at jQuery, because it’s now either made useless by modern browsers or superseded by better libraries. But I never understand why people assume Python is somehow more modern / better than Read more…
Why not use the official php image that has httpd on it as a base? I.e. php:8.0.0-apache? Xdebug 3.0 has renamed the flags, but you are using old naming in xdebug.ini. ;xdebug.default_enable=1 ;xdebug.remote_enable=1 ;xdebug.remote_connect_back=1 ;xdebug.remote_port=9001 Read more…
Hello, I have tagged version 2.0.0-rc.1 of rogervila/array-diff-multidimensional I have tagged a Release candidate version to make sure it works in all possible environments before tagging 2.0.0 This is the package GitHub link: https://github.com/rogervila/array-diff-multidimensional If Read more…
Err. I am sure there is an explanation why there is an exception from the “Avoid duplicates” rule for this submission. And I think many would like to see it It’s been almost a year Read more…
I would like to request new types in PHP. I would like to use 32-bit float and int numbers on 64-bit PHP. While we can keep the float and int as default 64-bit variables, we Read more…
YES PLEASE. I constantly find myself, day after day, in situations where I wish enumerators were a thing. They prevent so many issues, they make code so much more legible. You can get by with Read more…
WordPress has never aimed to be bleeding edge. Many hosts that target the low-end market typically have older PHP installations anyway. Not ideal, but that’s often the way cheap hosting rolls. Such a mess… Not Read more…