'Replacement for "wddx_serialize_value" function in PHP 7.4+

I am using wddx_serialize_value function in my application, now I upgraded to PHP 7.4, But this function is removed from PHP 7.4, So what is the alternative for this function. I don't want to install this extension and all.



Solution 1:[1]

wddx is deprecated because it is insecure.

The proper solution is to switch to json.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mr. Beeblebrox