php icon indicating copy to clipboard operation
php copied to clipboard

PHP 8.4 for chaining right without wrapper

Open sordahl opened this issue 4 months ago • 1 comments

Question

Is it possible to "upgrade" from 8.3.8 to 8.4.8 and getting the possibility to use new myClass()->method() without having to wrap the (myClass())->method() ?

or is there a work-a-round for this?

sordahl avatar Oct 20 '25 18:10 sordahl

Hi, PHP 8.4 is definitely on my plan.

f3l1x avatar Oct 23 '25 07:10 f3l1x

Maybe directly php 8.5 😄 ✌️

nadar avatar Jan 04 '26 17:01 nadar

@nadar Oh yeah, I have PoC.

https://github.com/contributte/libphp/pull/404

f3l1x avatar Jan 04 '26 17:01 f3l1x

@f3l1x amazing, thanks for all the work. love it since day once, moved all projects to vercel because of your vercel php package! do you have an ETA for 8.5?

nadar avatar Jan 07 '26 14:01 nadar

@nadar Thank you 💙 No ETA at this moment, hope until January.

f3l1x avatar Jan 07 '26 14:01 f3l1x

if i can help somehow. let me know

nadar avatar Jan 07 '26 14:01 nadar