PHP

6 readers
1 users here now

founded 1 year ago
1
 
 

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

2
 
 

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
 
 

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

4
 
 

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
 
 

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

6
 
 

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

7
 
 

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
 
 

It's easy to debug a single...

9
 
 

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

10
 
 

Running PHP blazingly fast at the Edge with WebAssembly

11
 
 

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

12
 
 

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
 
 

Annotated Container Without PHP Attributes

14
 
 

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

15
 
 

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
 
 

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

17
 
 

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

18
 
 

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
 
 

Introduction Original Post:...

20
 
 

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

21
 
 

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
 
 

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
 
 

Features, performance upgrades, and deprecations in PHP 8.4

24
 
 

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

25
 
 

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 ›