Skip to content

Deprecated: Implicit conversion from float to int loses precision

I am playing around with getting hours and minutes out of seconds, and we all see the many many questions that are similar to this, but I am not sure what solution is the best This is the code, which gives me: I understand the error, thats not the issue, the issue is how to solve it. I have tried

Create domain ‘example.com’ failed Powerdns API

I always getting the same error (Create domain ‘example.com’ failed) (or any domain) when trying to create new DNS zone with Powerdns API call. My request: Similar api call to get a list of DNS zones is working. GET request work properly but not POST. Can anyone help, please? My pdns.conf file is:…

Copy folder tree-recursively with depth control

I want to copy a whole folders/files tree from one location to another, but for a particular depth I want to perform a transliteration of the destination folder from one language to another. So for /src/depth1/depth2/depth3/depth4/file I want to transliterate all depth3 folders to another language before copy…

Does Laravel 8 require PHP 8.1?

So.. I developed a project with Laravel 9, then I had to upload it to my client’s server by FTP ( which was slow and painful ) to find out only afterwards that my client’s server PHP version could not go over 8.0. I tried to open the project live link ( to where I uploaded ) and the composer