Alexander Lisachenko रीट्वीट किया
Alexander Lisachenko
5.9K posts

Alexander Lisachenko
@lisachenko
Software Architect at inDrive, Cyprus. Author of the Go! AOP and Z-engine frameworks. Nothing is impossible if you put your mind to it.
Cyprus शामिल हुए Ekim 2010
423 फ़ॉलोइंग1K फ़ॉलोवर्स

As a bonus, github.com/goaop/framework now comes with the highest #phpstan 10 level, targeting full type-safety and guaranteed absence of magic!
English

@alexdaubois Would definitely add here the ultimate thing, that I have implemented years ago with @goaop - Aspect-Oriented Programming. Still works, still the best thing that I discovered in PHP
English

#PHP has a bucket brigade system. Like firefighters.
Extend php_user_filter. Override filter(). Data flows through as "buckets" via stream_bucket_make_writeable().
You can build encryption, compression, sanitization layers that plug into ANY fopen/fread/fwrite call.
This is the "forgotten" stream middleware API!

English

@OndrejMirtes We only need true light-threading in PHP now, I’m dreaming about native phproutines, which will work with Fibers, like goroutines in the GoLang…
English

@brendt_gd Generics, native objects for scalars/arrays, consistent APIs, true async API (phproutines?)
English
Alexander Lisachenko रीट्वीट किया

So many cool design submissions!
By the way, give the repo a ⭐ too! Let's make PHP get to trending on GitHub 💪
The PHP Foundation@ThePHPF
🗳️ Voting for the PHP 8.5 Release Page Contest is live! Check out the shortlisted designs and vote for your favorite with 👍 on GitHub: github.com/php/web-php/is… Voting closes Nov 2 — winner announced Nov 4 💜
English

Well, sometimes internal details leaks outside of PHP engine. If you class has a property hook, then ReflectionClass->isIterable() will return true, because engine installs own hook for the get_iterator.
Looks like a bug github.com/php/php-src/is…
English
🙌 Remembering Ryan Weaver: Teacher, Core Team Member, Friend
➡️ symfony.com/blog/rememberi…
English

@symfony RIP Ryan 😔 It was a big honor for me to know you in person. Such a big loss for the Symfony Community. My condolences…
English
Alexander Lisachenko रीट्वीट किया

Junie, the AI coding agent by JetBrains, is now available in PhpStorm! 🎉
Junie further unlocks the power of PhpStorm tools, changing the game from vibe coding to getting things done. 💪
Try Junie now jb.gg/junie-ps, and share what you end up with in the thread!

English

Hm, nicely generated ))
deepwiki.com/goaop/framework was auto-generated by AI, not bad so far…
English

@dr4goonis @_Codito_ @TheCelavi But languages are evolving, new features are added on constant basis - I believe that something that was completely unacceptable solution for old generation of developers will be highly supported by young generation. Otherwise another language receives more attention (Go/Python)
English

@_Codito_ @TheCelavi @lisachenko That operator overloading is absolute madness for PHP community.
It's a beginner friendly language, it would be disastrous to people of they learned 1 thing and then on another project the same code works differently.
Better suited for Java/Go/C++
English

Interesting #PHP RFC: data classes 🤔. With `data` modifier, such classes would have been compared by values they carry, rather than memory allocation (object ID). No more big conditions with multiple expressions, single === would be enough!
wiki.php.net/rfc/dataclass

English

@TheCelavi @_Codito_ Like this: github.com/lisachenko/nat… ?) I’ve mentioned it recently during our pleasant talk in Serbia )
English

@_Codito_ Needs operator overloading for feature to be completed.
This is similar to structs in C# and should be adequate replacement for value objects (money, point, vector, matrix, etc.). And thing that we want to do against these kind of types are, usually, math operations.
English

I’m in Belgrade for one week 🎄🇷🇸❄️
Is anyone from #phpsrb willing to meet? ) @TheCelavi @PHPSrbija @nikolaposa
English



