1
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

2
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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?

3
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

4
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

5
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

6
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

7
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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.

8
1
Fix Your Code With The Debug Backtrace (alexwebdevelop.activehosted.com)
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

It's easy to debug a single...

9
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

10
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

Running PHP blazingly fast at the Edge with WebAssembly

11
1
Primitive Obsession (acairns.co.uk)
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

12
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

13
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

Annotated Container Without PHP Attributes

14
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

build php8.4's array_find, array_find_key, array_any and array_all from scratch

15
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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.

16
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

17
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

18
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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 […]

19
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

Introduction Original Post:...

20
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

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

21
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

When creating applications with PHP, Exceptions play a vital role in handling errors and irregularities that arise during the application lifecycle. We are going to see how to use Custom Exceptions to improve our applications.

22
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

How to fix the SQLSTATE[HY000] [1524] Plugin 'mysql_native_password' is not loaded errors caused in MySQL 8.4 no longer enabling the mysql_native_password plugin by default.

23
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

Features, performance upgrades, and deprecations in PHP 8.4

24
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

Tired of Boring and insecured Logins? Let's ditch the basic sign-up and sign-in systems and build a...

25
1
submitted 5 months ago by symfonystation@kbin.social to c/php@kbin.social

Software development often presents dilemmas, such as how to handle situations when a getter has nothing to return. In this article, we'll explore three strategies for implementing getters in PHP, which affect the structure and readability of code, each with its own specific advantages and…

view more: next ›

PHP

1 readers
1 users here now

founded 2 years ago