php

Back Open Paginator
22.09.2025 15:17
Norore (@Norore@social.zdx.fr)

piotrplenik/clean-code-php: :bathtub: Clean Code concepts adapted for PHP
github.com/piotrplenik/clean-c

#php #cleancode




Show Original Post


22.09.2025 15:15
SymfonyStation (@SymfonyStation@drupal.community)

Generics in PHP: From Blog Series to Book. #PHP
dogan-ucar.de/generics-in-php-




Show Original Post


22.09.2025 15:15
mobileatom (@mobileatom@flipboard.com)

Generics in PHP: From Blog Series to Book. #PHP

dogan-ucar.de/generics-in-php-

Posted into SYMFONY FOR THE DEVIL @symfony-for-the-devil-mobileatom




Show Original Post


22.09.2025 14:02
jclermont (@jclermont@phpc.social)

Businesses change and projects end, but how do you wrap up and sunset a web app, especially one you've worked on for years? We discuss this on the latest episode of the No Compromises podcast. #php #laravel masteringlaravel.io/daily/2025




Show Original Post


22.09.2025 12:58
MelvilleSpence (@MelvilleSpence@phpc.social)

#LaravelIdea have a fix out and are recommending #phpstorm users update asap #php




Show Original Post


22.09.2025 12:23
objects (@objects@alceawis.com)
@holdenweb •acws #acws
I exchanged the #php based matcher with a #JS one

Somehow this one works way better
:bun:

Weird huh


Show Original Post


22.09.2025 11:55
jasalt (@jasalt@fosstodon.org)

#Phel v0.22 new #PHP array functions with nested lookup taking inspiration from `get-in`, `put-in / assoc-in`, `unset-in / dissoc-in` working on it's persistent data structures.

Note: `🐘`symbol is a #Emacs font-locking decoration for `php/`, not actual Phel syntax. #lisp #hack





Show Original Post


22.09.2025 11:06
lukasrotermund (@lukasrotermund@social.tchncs.de)

There's hardly anything worse than an update from PHP Composer Dependencies. What a terrible dependency manager! You've just gone through the gauntlet, and now you're facing another one because of further version conflicts. And then another one. And another one. And so on. I can hardly imagine a worse start to the week.

#php #composer




Show Original Post


22.09.2025 10:52
objects (@objects@alceawis.com)
I still don't get why

{
"date": "2025-09-21T15:09:28.613Z",
"url": "https:\/\/alceawis.com\/notice\/AyR0IiRAkqKPtCQmWm",
"preview": "https:\/\/www.videogameschronicle.com\/news\/sonic-racing-crossworlds-final-dlc-racer-is-another-classic-video-game-character",
"mode": "html",
"mediaType": "text\/html",
"isReply": false,
"replyTo": null,
"replyLocalId": null,
"mentionUsed": null,
"visibility": "public",
"alceaId": 5203
},

Matches both
https://www.videogameschronicle.com/news/sonic-racing-crossworlds-final-dlc-racer-is-another-classic-video-game-character/
And
https://www.videogameschronicle.com/news/sonic-racing-crossworlds-is-getting-a-single-player-demo-next-week/

via

---------
function check_social_match($article_link, $social_data) {
foreach ($social_data as $social_item) {
$preview_url = $social_item['preview'];
if (preg_match('/[^a-zA-Z0-9\/]$/', $preview_url)) {
if (strpos($article_link, $preview_url) === 0) {
return $social_item['url'];
}
} else {
$pattern = '#^' . preg_quote(rtrim($preview_url, '/'), '#') . '/?$#';
if (preg_match($pattern, $article_link)) {
return $social_item['url'];
}
if (strpos($article_link, $preview_url) === 0) {
return $social_item['url'];
}
}
}
return false;
}

---------
Sometimes :json: confuses me :confuseddog:

Making it more lax matches more false positives,
more steict and we loose some.

Sigh
Ohwell
At least nintendonews.eu kinda works now..

What a drag
#BrokenCode #CodeAlcea #code #programming #php #js
#repost •acws #acws


Show Original Post


22.09.2025 09:27
decompwlj (@decompwlj@mathstodon.xyz)

A014011: Defined by a chi-inequality greedy algorithm

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A014011.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0140
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


22.09.2025 09:21
decompwlj (@decompwlj@mathstodon.xyz)

A013939: Partial sums of sequence A001221 (number of distinct primes dividing n)

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A013939.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0139
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


22.09.2025 08:23
selectallfromdual (@selectallfromdual@mastodon.uno)

🔥 Visualizzare tutti i giorni di un mese in PHP
Un esempio pratico per generare date in un mese specifico...

👉 selectallfromdual.com/blog/340

#calcolaredate #giornidiunmese #php




Show Original Post


1 ...419 420 421 422 423 424 425 426 427 428 429 ...524
UP