FILSILVA81
New member
Hello everyone.
Is it possible to run XCRUD on PHP 8.2.
A lot of errors.
Can anyone share the fixed code please?
Is it possible to run XCRUD on PHP 8.2.
A lot of errors.
Can anyone share the fixed code please?
Hello everyone.
Is it possible to run XCRUD on PHP 8.2.
A lot of errors.
Can anyone share the fixed code please?
PDOCrud lacks so much customisation compared with XCRUD. Even basic stuff like passing variables programatically is a right pain in PDOCRUD, whereas in XCRUD it's easy. And don't get me started on the horror of session conflicts in PDOCRUD.do not use xcrud it is best to use pdocrud
Do you mind sharing the file updated to PHP 8?XCRUD works fine on PHP 8.2.
The only real fix you need to undertake is to get rid of any lines in xcrud.php that relate to magic_quotes.
The only other issue you'll have is that Xcrud makes use of Dynamic Properties, which are deprecated in php8.2.
You can either suppress these via your ini config or via the xcrud.php file - Dynamic Properties won't be truly removed until 9.x.
That said, if you want to fix you really just have to make sure properties are declared at the top of the class, which is a pretty simple change.
I´m using xcrud + php 8.3 w/sucessHello everyone.
Is it possible to run XCRUD on PHP 8.2.
A lot of errors.
Can anyone share the fixed code please?