We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test.cpp myExtension.add(Php::Constant("MY_CONSTANT_5", std::string("Another constant value"))); myExtension.add(Php::Constant("MY_CONSTANT_6", "Another constant value"));
test.php var_dump(MY_CONSTANT_5); var_dump(MY_CONSTANT_6);
On Mac OS v10.14.6, PHP is 7.2.28 PHP Fatal error: Allowed memory size of 1342177280 bytes exhausted (tried to allocate 3753801417272 bytes)
On Linux Centos 7.x, PHP is 7.2.28 string(22) "Another constant value" string(22) "Another constant value"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
test.cpp
myExtension.add(Php::Constant("MY_CONSTANT_5", std::string("Another constant value")));
myExtension.add(Php::Constant("MY_CONSTANT_6", "Another constant value"));
test.php
var_dump(MY_CONSTANT_5);
var_dump(MY_CONSTANT_6);
On Mac OS v10.14.6, PHP is 7.2.28
PHP Fatal error: Allowed memory size of 1342177280 bytes exhausted (tried to allocate 3753801417272 bytes)
On Linux Centos 7.x, PHP is 7.2.28
string(22) "Another constant value"
string(22) "Another constant value"
The text was updated successfully, but these errors were encountered: