PHP

dev.to

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

1
0
tomasvotruba.com

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
dev.to

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

1
0
sarah-savage.com

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
stitcher.io

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

1
0
dev.to

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

1
0
www.ambionics.io

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
dev.to

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

1
0
wasmer.io

Running PHP blazingly fast at the Edge with WebAssembly

1
0
acairns.co.uk

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

1
0
sarah-savage.com

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

1
0
gbh.fruitbat.io

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

1
0
laravel-news.com

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.

1
0
dev.to

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

1
0
dev.to

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

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

2
1
dev.to

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

1
0
wendelladriel.com

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.

2
0
php.watch

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.

1
0
stitcher.io

Features, performance upgrades, and deprecations in PHP 8.4

1
0
dev.to

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

1
0
phpfashion.com

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…

2
0
dev.to

Be it marketing or transactional emails, email address validation is a necessity, or you could risk...

1
0
dev.to

Now you gonna put your code to do some push ups and pull ups, let's see how much your code can...

2
0
tomasvotruba.com

When using a Swiss knife, we think of a tool with many practical abilities. They're useful for different situations we might experience in the wild. Opening a box of milk? Here is a knife. Cutting wood to start a fire? Here is a chainsaw. Are the letters on the paint bucket too tiny? Try this magnifying class. Now, we apply the same approach to PHP tooling.

1
0
dev.to

Intro I've decided to widen my horizons and learn a new programming language. In my day...

1
0
dev.to

Habitualmente, aprendemos a criar sites em PHP com resquícios de um velho e antiquado modo de...

1
0
www.linkedin.com

Since the release of PHP 8.0 more and more libraries, frameworks and tools have been updated to use attributes instead of annotations in PHPDocs.

1
0
blog.gitguardian.com

Explore insights from PHP experts who gathered from all around the world to discuss web development innovations, embracing change, and securely maintaining our code.

1
0
javorszky.co.uk

Pest is a testing framework for PHP you can install via composer that makes writing your tests a lot easier than you think!

1
0
tomasvotruba.com

When I come to a new project, I want to make a rough idea of what I'm dealing with in a few minutes. I usually check `composer.json` and [measure the lines](/blog/easy-and-quick-way-to-measure-lines-of-code-in-php). Then, I'd love to run PHPStan and get a rough idea of the current state. But are there baselines, custom extensions, global ignores, or no PHPStan at all?

1
0
dev.to

Introduction Some months ago I started a side project aiming for study and personal use to...

1
0
dev.to

Attributes First class callable syntax Constructor changes Parameter changes This post is going to...

1
0
dev.to

For many developers, PHP is synonymous with web development. But what if you could leverage your...

1
1