#php8 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #php8, aggregated by home.social.
-
The next one thing: Honestly... I can't remind now did I shared you something about my "Test in PHP" 🤔. But I think that even if it so, I'm sure that everyone already forgot about this 🙂. So!
🏔️👉 https://codeberg.org/xolatgames/PHP-and-Maria
This is my "tries" in PHP, those uses MariaDB 🦭 as a database for storing the data.
It's just my "experiments", and everything that you can see on the repo's preview - ... is all 😅
#php #php8 #maria #mariadb #nginx #linux #opensource #codeberg #phpfpm #leaderboard #sql
-
The next one thing: Honestly... I can't remind now did I shared you something about my "Test in PHP" 🤔. But I think that even if it so, I'm sure that everyone already forgot about this 🙂. So!
🏔️👉 https://codeberg.org/xolatgames/PHP-and-Maria
This is my "tries" in PHP, those uses MariaDB 🦭 as a database for storing the data.
It's just my "experiments", and everything that you can see on the repo's preview - ... is all 😅
#php #php8 #maria #mariadb #nginx #linux #opensource #codeberg #phpfpm #leaderboard #sql
-
🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! https://www.phparch.com/podcast/community-corner-interview-with-eric-mann #PHP8 #CodingLife
-
🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! https://www.phparch.com/podcast/community-corner-interview-with-eric-mann #PHP8 #CodingLife
-
🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! https://www.phparch.com/podcast/community-corner-interview-with-eric-mann #PHP8 #CodingLife
-
🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! https://www.phparch.com/podcast/community-corner-interview-with-eric-mann #PHP8 #CodingLife
-
🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! https://www.phparch.com/podcast/community-corner-interview-with-eric-mann #PHP8 #CodingLife
-
Mal schnell vor dem 1. Mai noch das Forum von #CONTENIDO aktualisiert. Läuft nun auch unter #PHP8
-
Mal schnell vor dem 1. Mai noch das Forum von #CONTENIDO aktualisiert. Läuft nun auch unter #PHP8
-
Mal schnell vor dem 1. Mai noch das Forum von #CONTENIDO aktualisiert. Läuft nun auch unter #PHP8
-
Mal schnell vor dem 1. Mai noch das Forum von #CONTENIDO aktualisiert. Läuft nun auch unter #PHP8
-
Here it is! GooseRSS! 🪿
Turn YouTube channels into RSS feeds so you can watch videos outside of YT.
And if you're into TV Shows and magnet links, that's supported too.
https://github.com/adegans/gooseRSS
#php #webdevelopment #php8 #selfhosted #rss #youtube #eztv #free #github
-
PHP 8 disable_functions bypass PoC
https://github.com/m0x41nos/TimeAfterFree
#HackerNews #PHP8 #disable_functions #bypass #PoC #security #vulnerability #exploit #GitHub
-
PHP 8 disable_functions bypass PoC
https://github.com/m0x41nos/TimeAfterFree
#HackerNews #PHP8 #disable_functions #bypass #PoC #security #vulnerability #exploit #GitHub
-
PHP 8 disable_functions bypass PoC
https://github.com/m0x41nos/TimeAfterFree
#HackerNews #PHP8 #disable_functions #bypass #PoC #security #vulnerability #exploit #GitHub
-
PHP 8 disable_functions bypass PoC
https://github.com/m0x41nos/TimeAfterFree
#HackerNews #PHP8 #disable_functions #bypass #PoC #security #vulnerability #exploit #GitHub
-
PHP 8 disable_functions bypass PoC
https://github.com/m0x41nos/TimeAfterFree
#HackerNews #PHP8 #disable_functions #bypass #PoC #security #vulnerability #exploit #GitHub
-
Optional Chaining ?. vs Null Coalescing ??: GAME CHANGER!
JavaScript's ?. operator vs PHP's ?? operator - which saves more lines of code? INSANE!
#javascript #php #jsvsphp #optionalchaining #nullcoalescing #nullsafeoperator #php8 #es2020 #viralcoding #modernjavascript #syntaxcomparison #mindblown
-
Optional Chaining ?. vs Null Coalescing ??: GAME CHANGER!
JavaScript's ?. operator vs PHP's ?? operator - which saves more lines of code? INSANE!
#javascript #php #jsvsphp #optionalchaining #nullcoalescing #nullsafeoperator #php8 #es2020 #viralcoding #modernjavascript #syntaxcomparison #mindblown
-
Optional Chaining ?. vs Null Coalescing ??: GAME CHANGER!
JavaScript's ?. operator vs PHP's ?? operator - which saves more lines of code? INSANE!
#javascript #php #jsvsphp #optionalchaining #nullcoalescing #nullsafeoperator #php8 #es2020 #viralcoding #modernjavascript #syntaxcomparison #mindblown
-
Optional Chaining ?. vs Null Coalescing ??: GAME CHANGER!
JavaScript's ?. operator vs PHP's ?? operator - which saves more lines of code? INSANE!
#javascript #php #jsvsphp #optionalchaining #nullcoalescing #nullsafeoperator #php8 #es2020 #viralcoding #modernjavascript #syntaxcomparison #mindblown
-
Optional Chaining ?. vs Null Coalescing ??: GAME CHANGER!
JavaScript's ?. operator vs PHP's ?? operator - which saves more lines of code? INSANE!
#javascript #php #jsvsphp #optionalchaining #nullcoalescing #nullsafeoperator #php8 #es2020 #viralcoding #modernjavascript #syntaxcomparison #mindblown
-
💩
Why it failsMicrosoft’s 5.12 drivers were built/tested for PHP 8.1–8.3 (officially). PHP 8.4/8.5 are not yet officially supported, and 8.5 introduces internal changes that break the current driver.
no mssqlsrv for me in #php8.5 then :(
#microsoft I will be reaching out
-
🤓 Get a peek into the world of PHP releases and cybersecurity with @ericmann. Our latest podcast episode is live! https://www.phparch.com/podcast/community-corner-interview-with-eric-mann #PHP8 #CodingLife
-
We are preparing for a #PHP8 migration. This is going to be fun*. We have 383,353 lines of potential mayhem.
*not fun
-
PHP DebugBar + REPL module for Mezzio Framework
For real-time debugging, profiling, and experimenting with your app's internals.
Built with:
🔹 PHP DebugBar (php-debugbar/php-debugbar)
🔹 Plates (thephpleague/plates)
🔹 PsySH (bobthecow/psysh)]#PHP #Mezzio #DebugBar #REPL #Debugging #DeveloperTools #PHP8 #Frameworks
-
📊 Full observability: Log every state change, measure latency, generate audit trails
🎨 #PHP8 features: String-backed enums for states/events, readonly value objects for context data
🔄 Domain events pattern: Emit events to outbox, handle side effects idempotently with retries
📋 Easy testing: Unit test state transitions without hitting database or network
📈 Auto-documentation: Generate #Mermaid diagrams directly from your transition rules -
With PHP 8.5 we get Connection, DNS and SSL Sessions sharing across requests with cURL.
I made a video showing how this works and discuss the performance potential https://www.youtube.com/watch?v=wr_Jnrc2has - a short @mnapoli cameo included
-
Qualitativ hochwertige Programmierung gibt es nicht zum Discount-Preis, und ich mag auch nimmer. Bei mir gibt's durchdachte Qualität, und ich nehme mir auch die Zeit meine Arbeit zu testen und zu dokumentieren. Das kostet Zeit, und damit auch Geld. Wer das nicht möchte, bitte weiter gehen.
-
My Laravel PR was shot down, but I may give it a chance later in the year to use Property Hooks as attribute cast.
Why? I blindly guess that using Property Hooks are less computationally costly but also IDE friendly.
#PHP #Laravel #PHP8 #PHP84 #Programming #Code #Coding #SoftwareDevelopment #WebDevelopment #WebDev
-
PHP property hooks are great until they are not.
It fathoms me how this big oversight got past stable.
#PHP #Bug #Programming #Software #SoftwareDevelopment #WebDevelopment #WebDev #PHP8 #PHP84 #Error
-
I fully expect #Laravel to start deprecating the `Attribute` cast starting with Laravel 13.x.
I have, quite literally, no argument to use Attribute casts over Property Hooks. Plus, because these are native, there is no overhead.
#PHP #Programming #WebDevelopment #Technology #Code #Coding #SoftwareDevelopment #WebDev #PHP84 #PHP8
-
Don't miss phpday 2025!🥳
The community is looking forward to joining Verona as soon as possible.
Tickets for 22nd edition are selling quickly!Few early bird tickets are available.
🐤 https://bit.ly/3PPceLi#API #REST #Architectures #ContinuousDelivery #Database #Development #Devops #Frameworks #Internals #PHP7 #PHP8 #conference #networking #community
-----
#phpday - The gathering for the European PHP community.
📍 Verona (Italy) | 📅 May 15-16, 2025 -
Don't miss phpday 2025!🥳
The community is looking forward to joining Verona as soon as possible.
Tickets for 22nd edition are selling quickly!Few early bird tickets are available.
🐤 https://bit.ly/3PPceLi#API #REST #Architectures #ContinuousDelivery #Database #Development #Devops #Frameworks #Internals #PHP7 #PHP8 #conference #networking #community
-----
#phpday - The gathering for the European PHP community.
📍 Verona (Italy) | 📅 May 15-16, 2025 -
This is where I am w/ the github repo @zombiewarrior
It's really close to being "right", so to speak.
compare that to e.g.
http://statecollegeguitarlessons.com/adb/index.phpNote: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
(sans the ./public part). you see the same thing either way. pet peeves.EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
this is NOT correct! http://statecollegeguitarlessons.com/giterator/public/index.phpfirst time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.
i must admit, it was more challenging that i expected.
but yea. feel free to hop in there at any time, and help me polish that old turd already!
Sheesh! -
This is where I am w/ the github repo @zombiewarrior
It's really close to being "right", so to speak.
compare that to e.g.
http://statecollegeguitarlessons.com/adb/index.phpNote: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
(sans the ./public part). you see the same thing either way. pet peeves.EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
this is NOT correct! http://statecollegeguitarlessons.com/giterator/public/index.phpfirst time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.
i must admit, it was more challenging that i expected.
but yea. feel free to hop in there at any time, and help me polish that old turd already!
Sheesh! -
This is where I am w/ the github repo @zombiewarrior
It's really close to being "right", so to speak.
compare that to e.g.
http://statecollegeguitarlessons.com/adb/index.phpNote: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
(sans the ./public part). you see the same thing either way. pet peeves.EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
this is NOT correct! http://statecollegeguitarlessons.com/giterator/public/index.phpfirst time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.
i must admit, it was more challenging that i expected.
but yea. feel free to hop in there at any time, and help me polish that old turd already!
Sheesh! -
This is where I am w/ the github repo @zombiewarrior
It's really close to being "right", so to speak.
compare that to e.g.
http://statecollegeguitarlessons.com/adb/index.phpNote: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
(sans the ./public part). you see the same thing either way. pet peeves.EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
this is NOT correct! http://statecollegeguitarlessons.com/giterator/public/index.phpfirst time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.
i must admit, it was more challenging that i expected.
but yea. feel free to hop in there at any time, and help me polish that old turd already!
Sheesh! -
This is where I am w/ the github repo @zombiewarrior
It's really close to being "right", so to speak.
compare that to e.g.
http://statecollegeguitarlessons.com/adb/index.phpNote: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
(sans the ./public part). you see the same thing either way. pet peeves.EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
this is NOT correct! http://statecollegeguitarlessons.com/giterator/public/index.phpfirst time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.
i must admit, it was more challenging that i expected.
but yea. feel free to hop in there at any time, and help me polish that old turd already!
Sheesh! -
🔐 #PHP8.4 Introduces Asymmetric Visibility for Properties:
• Allows different read/write access levels for #PHP properties
• New syntax: public private(set) for public read, private write access
• 📊 9 possible visibility configurations, 3 are illegal
• 🖊️ Applies to typed properties only, including static ones
• 🔄 Backward compatible with existing symmetric visibilities
• 🚫 Cannot be used with untyped properties#PHPDevelopment #OOP #Coding #SoftwareEngineering
Key features:
- Enhances encapsulation and access control in object-oriented programming
- Provides more granular control over property access
- Helps prevent unwanted modifications to propertiesUse cases:
- Implementing read-only properties with internal write access
- Creating properties that can be read publicly but modified only within the classDevelopers should refer to the RFC for detailed information on implementation and best practices.
https://www.exakat.io/en/asymmetric-visibility-for-php-properties/
-
Gestern die nächsten möglichen Schritte zum #OpenSource #CMS #CONTENIDO besprochen.
Wir werden das Release der 4.10.2-dev vorbereiten.
Auch suchen wir noch Tester, die den aktuellen develop-Branch auf Herz und Nieren unter #PHP8 testen.
Lust? Zeit?
-
So, i learned today that #PHP #php8 has deprecated strftime and #php9 plans to remove it. They officially say you should be using either date() or the intldateformatter suite instead.
Like... what?
strftime is ISO Standard! It's literally POSIX! The format flags are even "printf"-style!
Not only that, but the proposed """replacements""" force you to choose between whatever variant of racism, classism and Americentrism you like!: date() works only in US English and only for numbers, whereas intldateformatter supports languages but requires users of any culture other than "US English" to load a whole PHP module.
Oh, besides you have to change the format strings (woe betide if you are using user-provided!), ALSO these replacements *invert the logic* for processing the format strings as well: intldateformatter etc escapes everything that is *not* a format flag.
Fortunately, forwardports already exist such as https://github.com/alphp/strftime/ .
-
День 2
Интенсивно учиться или повторять энергозатратно, только одних углеводов не достаточно. Через определённое время клонит в сон, голод наступает быстро.
По учёбе кратко: в течение недели изучал теги и селекторы, в памяти остались только теги и немного о свойствах селекторов, да #css сложнее укладывается в голове, поэтому первая контрольная работа все ещё не пройдена...
Отложил на время верстку, переключился на #php пока что ничего сложного, конспекты веду чтобы в памяти засел синтаксис, ну и краткое описание работы операторов, выражений тоже на всякий случай записываю, типа эссенция, выжимка, суть, чтобы легко вспомнить то, что забыл. Новое выражение #match появилось в #php8 похоже на #switch или #ifelseif но со своими особенностями.
Скачал новый #openserver где есть версия #php8_3 благодарю всех разработчиков, которые работают над этим бесплатным инструментом (с ними можете ознакомиться на их официальном сайте). Надеюсь когда нибудь будет возможность запускать под #linux -
Ed entriamo finalmente nel vivo della seconda parte della serie di video su #PHP8 dedicata alla #programmazione orientata agli oggetti in cui vedremo nella pratica le #classi e gli #oggetti!
#opensource #openeducation
https://youtu.be/SvwFq0SG68I -
I've made a thing. A simple file caching system for #PHP 🐘.
Nothing special, nothing new, there are probably many similar libraries around. But it works well and I use it in some of my own projects.
#backend #php7 #php8 #opensource
https://codeberg.org/amarok24/microcache