Alexander Fedra
Alexander Fedra
For example i want to use Igbinary or Base64 frontend to save this data in this format to Aerospike server. Here https://github.com/phalcon/incubator/blob/master/Library/Phalcon/Cache/Backend/Aerospike.php the frontend cache convertation will be ignored. `$frontend->beforeStore();`...
Next example: ```php
Some more informations: https://github.com/aerospike/aerospike-client-php/blob/master/doc/README.md#handling-unsupported-types This is also very important to save data as bytes and not as strings.
Yes, i get more errors here: ```bash PHP Notice: serialize(): "date" returned as member variable from __sleep() but does not exist in /mnt/c/Users/PhpstormProjects/closure-carbon-issue/vendor/opis/closure/src/SerializableClosure.php on line 155 PHP Notice: serialize(): "timezone_type"...
The regular serialize() code is working with Carbon: https://github.com/dercoder/closure-carbon-issue/blob/master/test_carbon.php#L12
I understand. The utput of PHP 8 is the same like PHP 7.4 When you serialize it, the properties are in the string: ```php var_dump(serialize(new DateTime())); # string(128) "O:8:"DateTime":3:{s:4:"date";s:26:"2020-08-26 01:11:27.025541";s:13:"timezone_type";i:3;s:8:"timezone";s:16:"Europe/Amsterdam";}"...
I found also this: https://bugs.php.net/bug.php?id=79041
For php-zts version the command ```docker COPY --from=php-cli /usr/local/bin/phpdbg /usr/local/bin/ ``` will not work as workaround It would be very helpful to enable phpdbg in the ZTS version
@SimonMacIntyre Thx but this will not work. All the extensions can not be loaded => NTS