https://dev.to/slns/php-serializacao-54o0

Serialização e Desserialização em PHP O que é Serialização?

1
0
https://tomasvotruba.com/blog/how-to-add-visbility-to-338-class-constants-in-25-seconds

In PHP, we have classes with methods inside them. Would making all your methods `public` be a good idea? No, because some of them should be used only by the class they're in and not anywhere else. What about class constants?

1
0
https://dev.to/murizdev/how-to-switch-or-update-php-version-in-laragon-1k3n

Laragon is a portable, isolated, fast & powerful universal development environment for PHP,...

1
0
https://sarah-savage.com/the-danger-of-boolean-flags-in-object-methods/

Developers like to use booleans as flags. They're a convenient way to indicate something as on/off, true/false, yes/no. But the problem is that booleans are not clear from calling code exactly what they do. For example: Does anyone in the calling scope have any idea what the defining scope is doing? Absolutely not. The flag

1
0
https://stitcher.io/blog/tagged-singletons

A blog about modern PHP, the web, and programming in general. Follow my newsletter and YouTube channel as well.

1
0
https://dev.to/hmawebdesign/how-to-receive-email-from-html-form-using-php-1g8n

In this post, you will learn how to Receive Email from HTML Form Using PHP. What is PHP...

1
0
https://www.ambionics.io/blog/iconv-cve-2024-2961-p1

A few months ago, I stumbled upon a 24 years old buffer overflow in the glibc, the base library for linux programs. Despite being reachable in multiple well-known libraries or executables, it proved rarely exploitable — while it didn't provide much leeway, it required hard-to-achieve preconditions. Looking for targets lead mainly to disappointment. On PHP however, the bug shone, and proved useful in exploiting its engine in two different ways.

1
0
https://dev.to/darkotodoric/how-to-configure-php-in-airflow-5d9i

Apache Airflow is an open-source platform used for managing complex workflows. It allows users to...

2
0
https://acairns.co.uk/posts/primitive-obsession

Discover Primitive Obsession in code: recognize symptoms, understand implications, and learn effective fixes with value objects.

2
0
https://sarah-savage.com/air-traffic-control-routing-microservices-with-a-single-nginx-server/

In my last post I talked about linking microservices together inside a single Docker network for easy communication between the services. For web developers, this poses an interesting problem: if we want to access the services from our local machines, we need to deal with the fact that we can't have multiple machines bound to

2
0
https://gbh.fruitbat.io/2024/05/21/php-write-php-8-4s-array_find-from-scratch/

build php8.4's array\_find, array\_find\_key, array\_any and array\_all from scratch

2
0
https://laravel-news.com/php-8-4-array-find-functions

Four new array functions are likely coming to PHP 8.4 that are still in the RFC voting stage. Learn about these array\_find functions and how they work.

2
0
https://dev.to/jonas-elias/substituindo-o-redis-pelo-valkey-em-projetos-phphyperf-3lh0

Licença Redis Recentemente, o Redis estava disponível sob a Licença Pública Geral Affero...

1
0
https://dev.to/ionbazan/turn-a-country-code-into-an-emoji-flag-us--360a

Flag emojis are a fun and visual way to represent countries and regions. These emojis are part of the...

2
0
https://www.phparch.com/2024/05/phps-magic-methods/

As PHP developers, we need to know a lot of language features to make our code easy to write and maintain. Without explicitly being told about a part of the language, it’s hard to even know it exists, so today, we’re going to discuss the magic methods our classes have and how we should use […]

1
0
https://dev.to/ionbazan/how-to-see-what-changed-in-composer-files-1ih6

When reviewing a Pull Request that touched composer.json and composer.lock files you might notice...

0
0
Mike Macgirvin recounts the depressing history behind Mastodon's rendering of `article` vs `note`
  • symfonystation symfonystation 6mo ago 100%

    @wakest Mastodon may have started down the enshitification route and heading toward being forked.

    4
  • php
    PHP 6mo ago
    Jump
    Rethinking Mocking: DIY Approach vs. Frameworks on examples in PHP and Typescript - SarvenDev
  • symfonystation symfonystation 6mo ago 100%

    @Crell I did not write this but I appreciate your point.

    1
  • php
    PHP 7mo ago
    Jump
    Reducing PHP's CPU usage by nearly 40% by upgrading from Ubuntu 20.04 to 22.04
  • symfonystation symfonystation 7mo ago 100%

    @tito_swineflu Not that I know off. You might try contacting the author for the details of their setup.

    1
  • Six months in, journalist-owned tech publication 404 Media is profitable
  • symfonystation symfonystation 8mo ago 100%

    @wise_pancake

    @alyaza I helped them out with a paid subscription. Hopefully more people will.

    24
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKB
    /kbin meta 1y ago
    Jump
    Is Kbin dying? I wanted to address the deleted thread and provide some insight into the current situation.
  • symfonystation symfonystation 1y ago 100%

    @ernest After 1.0 is released, please take some time off. And try to delegate. Sending you some funds! Hang in there buddy.

    1
  • Mark Zuckerberg: Threads users down by more than a half
  • symfonystation symfonystation 1y ago 100%

    @aeternum

    @seasonone Hopefully it fails after killing of shitter first.

    6
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKB
    /kbin meta 1y ago
    Jump
    /kbin project management costs, financing, future plans
  • symfonystation symfonystation 1y ago 100%

    @ernest Thanks for everything you and the team do. I just sent you a few beers. :) https://www.buymeacoffee.com/kbin for others wanting to contribute.

    16
  • *Permanently Deleted*
  • symfonystation symfonystation 1y ago 100%

    @uhvayga They definitely federate with the kbin instances which you can find here. https://fedidb.org/software/kbin

    2
  • Can someone help me with a few kbin/lemmy questions? I'm trying to understand the difference between the upvote and "boost". Also the differences between Threads, Microblog, and Magazines.
  • symfonystation symfonystation 1y ago 100%

    @CurlyMoustache

    @acunasdaddy Yes. Use the add new link under the + sign drop down menu to create a thread. Be sure to add hashtags to your microblog post so people can find it. Have fun.

    2
  • Can someone help me with a few kbin/lemmy questions? I'm trying to understand the difference between the upvote and "boost". Also the differences between Threads, Microblog, and Magazines.
  • symfonystation symfonystation 1y ago 100%

    @acunasdaddy

    In kbin, magazines are based on topics. Users can start threads within a magazine and upvote or downvote in any threads. An upvote is the equivalent of a like or favorite on other platforms. If you boost a thread comment, that is the same as boosting or sharing on another platform.

    kbin also has microblogging which is the same as Mastodon, and you can boost and upvote microblogs as well.

    1
  • Threadiversal Travel - A guide for Lemmy, Kbin and general Reddit off-ramping
  • symfonystation symfonystation 1y ago 100%

    @shellsharks Great stuff âne useful. I Will share it on my weekly newsletter and blog.

    2
  • I'm working on a WordPress plugin for embedding fediverse posts
  • symfonystation symfonystation 1y ago 100%

    @stefan

    @fediverse If this was from your site, I am seeing it.

    1
  • Meta and Mastodon: What’s really on people’s minds?
  • symfonystation symfonystation 1y ago 100%

    @giallo I like the “to quote myself from earlier‘, so I will as well.

    I want to address the uproar in the Fediverse about preemptively blocking the Meta ActivityPub product. And whether it should be at the instance or individual user level. A variety of reasons for and against this have been given.

    At the moment, I would go with the latter. But no matter the arguments, the reason every single Fediverse user should block it is that Meta is a box of c*nts.

    They have always been a box of c*nts. And they will always be a box of c^nts. Meta should be trusted as far as I can kick Zuck. About six feet. They will immediately or eventually try to enshitify whatever product they launch. At that point, administrators should block them at the instance level.

    Maybe I am wrong, but maybe the Easter Bunny is real.

    Do I need to remind anyone these are the mofos greenlighting the spread of misinformation of all types, science denial, propaganda from the enemies of democracy, conspiracy theories from every lunatic on earth, election stealing, suicide instigation for teenagers, and the mass genocide of Muslims in Myanmar?

    1
  • I just joined here and I'm so incredibly confused, to be honest.
  • symfonystation symfonystation 1y ago 100%

    @xavieryaa For Lemmy replace the ! with an @. @bisexual Then you should find it.

    1