the test will be added while commit the fix for #62737
…AK with run-test.php) It's not a big deal, just because lexer will read the char after cursor before leaving
…ce gives Segmentation fault)
…lse) this bc break is caused by the fix for #61948
Fixed a memory allocation bug in crypt() SHA256/512 that can cause segmentation faults when passed in salts with a null byte early.
This fixes the same issue in multiple extensions. This isn't needed in later branches as 5.4 introduced object_properties_init()
json_encode() no longer throws warnings. Instead only the error code for json_last_error() is set. As it is hard to debug the error from just an error code an optional $as_string parameter was added to json_last_error(), which returns an error message instead of an error code.