php

Back Open Paginator
14.12.2025 17:11
TurboLearnPHP (@TurboLearnPHP@mastodon.social)

PHP Spaceship Operator String vs Number Comparison

The PHP spaceship operator behaves differently with strings versus numbers! This quick tutorial demonstrates the difference.

Compare string "10" with string "2" versus string "10" with number 2. The results are totally different and important to understand!

Level up your PHP comparison knowledge today!

...

youtube.com/watch?v=UFd5huNvr9c




Show Original Post


14.12.2025 15:44
rotnroll666 (@rotnroll666@mastodon.social)

Got myself a bunch of Plugs. It's nice that while they do offer Cloud, I can just add a script that sends the meter data anywhere…

codeberg.org/michael-simons/pv

Yes, I did vibe this together, no that does not mean I used , I just read the docs. AND I happily wrote a script too on the receiving end.

The whole AI-fication of Google makes it however so hard to find the OG docs and some good quality examples.




Show Original Post


14.12.2025 14:40
radwebhosting (@radwebhosting@mastodon.social)

How to Install Centmin Mod on (5 Minute Quick-Start Guide) Here's a detailed step-by-step guide on how to install Centmin Mod on AlmaLinux VPS server.
What is Centmin Mod?
Centmin Mod is a shell-based, menu-driven installer that automates the deployment of a LEMP (Linux, Nginx, MariaDB/MySQL, PHP-FPM) stack on CentOS, AlmaLinux, and Rocky Linux servers. Designed for efficiency and performance, it ...
Continued 👉 blog.radwebhosting.com/how-to-





Show Original Post


14.12.2025 14:20
kniebes (@kniebes@ruhr.social)

Suchbegriffe in HTML highlighten

Ich denke, ich habe einen recht brauchbaren RegEx gefunden, um Suchbegriffe in HTML zu highlighten und dabei den Inhalt von Tags zu ignorieren. Befindet sich der Suchbegriff beispielsweise in einem href-Attribut eines a-Tags, sollte der natürlich nicht „gehighlighted“ werden.

$html = preg_replace(
pattern: '/(?![^<>]*>)'.preg_quote($searchTerm, '/').'/i',
replacement: '<mark [..]

knieb.es/694d
#PHP #ReguläreAusdrücke




Show Original Post


14.12.2025 12:05
SenseException (@SenseException@phpc.social)

I was tempted to answer the CFP for the Dutch #PHP Conference, but didn't answer it. Got other things to manage.




Show Original Post


14.12.2025 11:35
radwebhosting (@radwebhosting@mastodon.social)

Laravel vs Symfony: A Comprehensive Comparison of

This article provides a guide concerning vs Symfony: a comprehensive comparison of PHP frameworks.
Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks
Laravel and are two of the most popular PHP frameworks, widely used for building modern web applications. Both have strong communities, rich ecosystems, and are frequently chosen by ...
Continued 👉 blog.radwebhosting.com/laravel





Show Original Post


14.12.2025 11:10
TurboLearnPHP (@TurboLearnPHP@mastodon.social)

Boolean String Concat

What is true . false in PHP? Boolean concatenation creates unexpected results! You'll never guess this!

youtube.com/watch?v=uXoyJuqi6Go




Show Original Post


14.12.2025 10:43
decompwlj (@decompwlj@mathstodon.xyz)

Now this animation is available for the 1000 sequences decomposed on my website.
Accessible from the 3Dgraph, 2Dgraph500terms and 2dgraphs pages ➡️ decompwlj.com
A little more work on axis sizing and controls.

#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


14.12.2025 10:43
decompwlj (@decompwlj@mathstodon.xyz)

4: The palindromes in base 10 (A002113) ➡️ decompwlj.com/3DgraphGen/Palin

#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


14.12.2025 10:42
decompwlj (@decompwlj@mathstodon.xyz)

3: The triangular numbers (A000217) ➡️ decompwlj.com/3DgraphGen/Trian

#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


14.12.2025 10:41
decompwlj (@decompwlj@mathstodon.xyz)

2: The prime numbers (A000040) ➡️ decompwlj.com/3DgraphGen/Prime

#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


14.12.2025 10:41
decompwlj (@decompwlj@mathstodon.xyz)

Generation of four sequences decomposed into weight × level + jump (log(weight), log(level), log(jump)) - three.js animation:
🧵⬇️

1: The natural numbers (A000027) ➡️ decompwlj.com/3DgraphGen/Natur

#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


1 ...257 258 259 260 261 262 263 264 265 266 267 ...527
UP