u/rc0604

▲ 49 r/PHP

Polling API RFC is now in voting phase

This RFC is now in the voting phase. Lowkey, it could have a massive impact on PHP, especially by bringing more modern backend stream handling. It would also replace stream_select() and make async PHP libraries far more viable without relying on extensions like ext-uv to bypass file descriptor limitations and O(N) performance.

wiki.php.net
u/rc0604 — 19 hours ago
▲ 6 r/PHP

Building High Performance Self Healing Process Pool with Hibla Parallel

Hello everyone, I just wanted to share a past article I wrote about this topic. I’d love to hear your thoughts, feedback, or any questions you may have.

medium.com
u/rc0604 — 2 days ago
▲ 21 r/PinoyProgrammer+1 crossposts

Hibla Postgres: A pure non blocking PostgreSQL client for PHP is now available in beta release.

Hello everyone! I'm excited to announce that hiblaphp/postgres, built on top of ext-pgsql, is now available in beta, fully tested and can now be installed via Composer.

With this release, the core database drivers for Hibla are now complete alongside the Hibla MySQL client. My next goal is to build an asynchronous query builder with support for migrations and pagination before moving on to developing an HTTP server.

Some of the key features currently included are:

  • Fully non-blocking query execution
  • Name parameter and Positional parameter binding support like "?" and ":name" for prepared statements
  • Server-side query cancellation
  • Pub/Sub event-driven notifications with auto-reconnect support
  • Streaming support
  • Connection pooling

I'd really appreciate any feedback, whether it's feature suggestions, questions, or even harsh criticism. Every bit of feedback helps improve the project.

github.com
u/rc0604 — 6 days ago
▲ 0 r/PHP

What are your thoughts on this?

What if, as a compromise, a generics implementation in PHP supported optional runtime enforcement through a php.ini configuration, similar to how assert() works with zend.assertions? This would provide the best of both worlds: runtime generics during development for stronger validation and debugging, while still allowing static analysis tools like PHPStan and Psalm to handle compile-time type analysis and developer tooling. In production, the runtime checks could be completely erased for maximum performance.

reddit.com
u/rc0604 — 9 days ago

I got my first sponsor in my open source project.. Medyo nakakatawa nga lang

Hello I'm the Author of [HiblaPHP](https://github.com/hiblaphp), I just wanted to share that after weeks that I publicly announce my open source project in public social media's, nakaakit na rin ng sponsor. I'm so thankful to anyone here who believe and starred my project at sa bagong company sponsor. I hope this foster Filipino spirit on OSS. If anyone interested in contributing to the project feel free to submit issues and pr..

Ps. Medyo nakakatawa ngalang pangalan ng company sponsor na nakuha ko at parang minalas naman hahaha..

u/rc0604 — 11 days ago