I just got an email from someone asking why they’re seeing this appear on their devices. It looks like it might be an Android device of some sort. Is it possible to run PHP on Android? Is this part of some hacking attempt?
@ramsey This can only happen if someone called the php file directly from the website and the webserver didn't parse it as #PHP via the php-fpm i.e., but it offered the contents as txt file.
And as the others have mentioned the file appears to be downloaded locally.
To run PHP in an android device you need to install it in an #Android Terminal emulator like #Termux
I am baffled by how much trouble I’m having at writing #rust at a decent clip. #Golang I felt pretty good at after a few months, same with #Python and #PHP. Meanwhile I’ve been trying to write anything useful in Rust for months and it’s so incredibly slow going.
I’m shocked people are enthusiastic about adopting this for their jobs. If I had a specific part of an app that needed more speed, absolutely. But as a general purpose language? I’m not seeing it yet.
I’ll keep ramming my head against it but have not enjoyed myself thus far. If writing a proof of concept in python takes me 4 hours, rewriting that in rust clocks in easily at 12-16 hours.
@matdevdug there are tradeoffs. I write #C++ all the time and i'm interested in #rust because I expect to write code faster, without the compromises that make languages like #Python or even go not suitable for my problem (I.work in real time embedded systems). If #php could possibly work, then your problem isn't one rust really aims to be good for.
Ok, Security Tip #50 is locked and ready to go out in 2 days. This week I'm covering a vulnerability I discovered in a recent audit that lead to complete PII exposure... 😱
Super simple to find and exploit, due to a single line overlooked... https://securinglaravel.com#PHP#Laravel
Just sat down to write my Security Tip for this week and realised this one is Security Tip #50! 😲 🎂
To celebrate, I'll sneak a special 50% off discount code into the email somewhere, valid for 24 hours only.
Sign up so you don't miss it: https://securinglaravel.com #PHP#Laravel
If you need some #PHP development help, I can happily recommend Laura Tyler - @lauratyler - who has done lots of excellent freelance work for me in #Laravel and custom PHP, and can handle much more in programming as well. She's got a little availability every week and you'd be wise to hire her
Did you know that assertEquals in PHPUnit allows comparison of DOMDocument instances (DOMElement too)? HTML comments are removed and unsemantic syntactic differences are ignored (e.g. quote style and attribute order). Perfect for comparing markup! https://weston.ruter.net/2023/07/01/comparing-markup-with-phpunit/#php
Do you own or work for an organization looking for promotion opportunities in the PHP, Drupal, and Symfony communities? If so, please contact us. https://www.symfonystation.com/Contact :symfony: :drupal: :php: #Symfony#Drupal#PHP
J'aurai le plaisir de vous montrer comment améliorer vos applications web grâce au nouveau code de statut HTTP "103" (Early Hints) lors du #ForumPHP de l'@afup !
Learn how Building Blocks (like Aggregates, Sagas and Event Sourcing), enable developers to build domain-focused applications while abstracting away the complexities of integration.
I forgot to post this here on mastodon (still getting used to it)...
Tomorrow there is the new symfony meetup in Berlin.
If you want to see how to refactor large php applications with Symfony (getting rid of Spryker) or interested in improving the performance of your code, then you should not miss the event!
Just sat down to write my Security Tip for this week and realised this one is Security Tip #50! 😲 🎂
To celebrate, I'll sneak a special 50% off discount code into the email somewhere, valid for 24 hours only.
Sign up so you don't miss it: https://securinglaravel.com #PHP#Laravel
Hey, #php people, just got the #xdebug newsletter. In case you have a couple of coins to toss:
„I am currently 38% towards my $2,500 per month goal, which is set to allow continued maintenance of Xdebug.“ from @derickr