RT @CiPHPerCoder@twitter.com

@robledoKari@twitter.com @SwiftOnSecurity@twitter.com @AJClay16@twitter.com I wrote this last year for PHP, but a lot of the concepts (i.e. using prepared statements to stop SQL injection) are generalizable.


RT @izi_solutions@twitter.com

We've just refactored the whole Inspirational page, it was taking more than 2k sql queries and now we're down to 20 thanks to @blackfireio@twitter.com.

See it live on izi-by-edf.fr/inspirations/sal

RT @SensioLabsDE@twitter.com

Freut euch mit uns auf eine legendäre in Berlin. Hier kommt unser Trailer für die Konferenz im September 🎉

RT @nikita_ppv@twitter.com

PHP 7.4 alpha 1 released, with typed properties, arrow functions, covariant types, FFI, preloading and more. Please test and report issues. If you have open-source libraries, you can add 7.4snapshot on Travis.


RT @HipHopVM@twitter.com

Security updates are out for 3.30.6, and 4.3-4.8, addressing issues in FastCGI and scrypt_enc(); additionally, 4.9.0 is out, unifying several previously-configurable behaviors, and removing the option to enable PHP support.


RT @GrahamJCampbell@twitter.com

Starting from PHP 7.4, __toString() will be able to throw exceptions. wiki.php.net/rfc/tostring_exce

RT @dunglas@twitter.com

Thanks to @azjezz@twitter.com, the PHP client for Mercure.rocks will soon use HttpClient 🎇 github.com/symfony/mercure/pul

RT @brendt_gd@twitter.com

Another RFC passed!

$otherArray = [3, 4];

$array = [1, 2, ...$otherArray];


RT @nikita_ppv@twitter.com

The spread operator in arrays RFC (wiki.php.net/rfc/spread_operat) has been accepted for PHP 7.4:

$ary = [3, 4, 5];
return [1, 2, ...$ary]; // same as [1, 2, 3, 4, 5]

Caveat: The unpacked array/Traversable can only have integer keys. For string keys array_merge() is still required.

RT @SaraMG@twitter.com

PHP is officially a thought-leader.
EREBODY is breaking APIs for no obvious reason and calling it progress. twitter.com/davidcelis/status/

RT @fabpot@twitter.com

Which DB are you using for your projects?

RT @nikita_ppv@twitter.com

Arrow functions / short closures have been accepted for PHP 7.4: wiki.php.net/rfc/arrow_functio

RT @daycamp4devs@twitter.com

Join us May 31st, 2019 as we present
Day Camp 4 Developers: Data

We have 5 experts talking about important concepts you need to understand revolving around data.


Invest a day in your career

cc , would you like to see the `arraykey` type from hacklang come to PHP ?

RT @ircmaxell@twitter.com

I blogged today about messing around with PHP 7.4's FFI extension, as well as the rabbit holes that ensue from there: blog.ircmaxell.com/2019/04/com

RT @ArkadiuszKondas@twitter.com

Encouraged by a comment, I compared the result for calculating Fibonacci (n=32) in PHP 8 with JIT vs C++, looks very interesting 🤔🚀

RT @PHPRFCBot@twitter.com

RFC moved to In Voting Phase: Arrow functions 2.0 wiki.php.net/rfc/arrow_functio

RT @fredemmott@twitter.com

PHP people: is there a reason for ext_apache to be disabled in CLI mode, other than 'calling it doesn't really make sense'?

Conditional definitions don't really fit with Hack, and this creates problems for repo-authoritative (whole-program-optimization) mode.

Show more
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community. Join us!

Welcome to the PHP Community on Mastodon! We're a friendly little Mastodon instance providing a place for PHP developers to discuss topics related to PHP, as well as topics unrelated to PHP. First and foremost, we're about building community, and that doesn't always involve technical discussion, so feel free to go off-topic and have fun.

Before you get started, make sure you check out our code of conduct.

Thank you to Jakob Westhoff for allowing the use of the photograph "elePHPants walking through the light."