peachpie icon indicating copy to clipboard operation
peachpie copied to clipboard

sort method compare not supported - throw error using WP 6.4.3 - update.php

Open benyaminl opened this issue 1 year ago • 2 comments

I just curious, does the sort function for method comparer really isn't implemented? I got error by running the home page of Wordpress in peachpie.

image

benyaminl avatar Apr 01 '24 10:04 benyaminl

It has been implemented recently.

~~What version of wpdotnet/peachpie do you use?~~ Let me check.

jakubmisek avatar Apr 20 '24 13:04 jakubmisek

The latest WordPress we've checked is 6.3.1.

The sort() with flags on the screenshot has been supported since PeachPie 1.1.9. (https://github.com/peachpiecompiler/peachpie/commit/f67b04ff9aae3cf20d211403043438b7bb38cdd1)

What is your setup?

jakubmisek avatar Apr 20 '24 13:04 jakubmisek