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!
#PHP #StringComparison #PHPTutorial #CodingTips #Programming #WebDevelopment #PHPOperators #D...
https://www.youtube.com/watch?v=UFd5huNvr9c
Got myself a bunch of #Shelly Plugs. It's nice that while they do offer Cloud, I can just add a script that sends the meter data anywhere…
https://codeberg.org/michael-simons/pv/src/branch/main/bin/send_switch_status.js
Yes, I did vibe this together, no that does not mean I used #AI, I just read the docs. AND I happily wrote a #PHP 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.
How to Install Centmin Mod on #AlmaLinux #VPS (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 👉 https://blog.radwebhosting.com/how-to-install-centmin-mod-on-almalinux-vps/?utm_source=mastodon&utm_medium=social&utm_campaign=mastodon.social #php #csf #letsencrypt #centminmod

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 [..]
https://knieb.es/694d
#PHP #ReguläreAusdrücke
I was tempted to answer the CFP for the Dutch #PHP Conference, but didn't answer it. Got other things to manage.
Laravel vs Symfony: A Comprehensive Comparison of #PHP #Frameworks
This article provides a guide concerning #Laravel vs Symfony: a comprehensive comparison of PHP frameworks.
Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks
Laravel and #Symfony 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 👉 https://blog.radwebhosting.com/laravel-vs-symfony-a-comprehensive-comparison-of-php-frameworks/?utm_source=mastodon&utm_medium=social&utm_campaign=mastodon.social #websitedevelopment

Boolean String Concat
What is true . false in PHP? Boolean concatenation creates unexpected results! You'll never guess this!
#php #phptricks #boolean #concatenation #phpquiz
https://www.youtube.com/watch?v=uXoyJuqi6Go
Now this animation is available for the 1000 sequences decomposed on my website.
Accessible from the 3Dgraph, 2Dgraph500terms and 2dgraphs pages ➡️ https://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
4: The palindromes in base 10 (A002113) ➡️ https://decompwlj.com/3DgraphGen/Palindromes.html
#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
3: The triangular numbers (A000217) ➡️ https://decompwlj.com/3DgraphGen/Triangular_numbers.html
#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
2: The prime numbers (A000040) ➡️ https://decompwlj.com/3DgraphGen/Prime_numbers.html
#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
Generation of four sequences decomposed into weight × level + jump (log(weight), log(level), log(jump)) - three.js animation:
🧵⬇️
1: The natural numbers (A000027) ➡️ https://decompwlj.com/3DgraphGen/Natural_numbers.html
#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