|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2017-03-26 02:38 UTC] helmut at evermeet dot cx
Description:
------------
line 948:
the code should be:
#if PHP_MAJOR_VERSION >= 7
option_str = Z_STRVAL_P(*data);
#else
option_str = Z_STRVAL_PP(data);
#endif
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 17:00:01 2025 UTC |
See a workaround: pdo_ibm 1.3.5: #if PHP_MAJOR_VERSION >= 7 if (Z_TYPE_P(data) == IS_STRING) { #else if (Z_TYPE_PP(data) == IS_STRING) { #endif //------------- fix --------------- #if PHP_MAJOR_VERSION >= 7 option_str = Z_STRVAL_P(data); #else option_str = Z_STRVAL_PP(data); #endif //------------- end fix --------------- } else {